guillaume-be / rust-bert

Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
https://docs.rs/crate/rust-bert
Apache License 2.0
2.67k stars 216 forks source link

Add serde for Keyword extraction pipeline #465

Closed oiwn closed 3 months ago

oiwn commented 3 months ago

Hello, I noticed Serialize/Deserialize traits are not implemented for KeywordExtraction pipeline. Fix is trivial just add them to derive macro.