#42 · Primary category: NLP Tools & Text Processing
rust-bert
Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
Project last updated:01/13/26
GitHub Stars
3.1K
Forks
249
Contributors
48
License
Apache-2.0
Why we included this project
Most Rust teams would rather not stand up a separate Python service just to run a transformer model. rust-bert ports the Hugging Face Transformers stack to native Rust and gives you ready-to-use pipelines for things like question answering, translation, summarization, and named entity recognition, so a few lines of code calling predict() replace hand-wiring model weights, tokenizers, and tensor ops. It runs on tch-rs or ONNX Runtime, with multi-threaded tokenization and GPU inference, which suits latency-sensitive or embedded use where you want the model close to the rest of your code. One thing to know: this is a component library, not a runnable application, so you integrate it into your own service or tooling.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量