rust-bert
rust-bert copied to clipboard
Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
Apple's M1 GPU MPS (Metal Performance Shaders) is not an ideal solution for training or making inferences with models that require float64 precision. When compared to a CPU, its performance...
Hey @guillaume-be will you accept an PR to make the path of downloaded models configurable? An application using this library might want the path for caching(or to turn off caching)...
Hi! I am interested in using the [SimCSE](https://github.com/princeton-nlp/SimCSE#use-simcse-with-huggingface) model to get sentence embeddings, as its embeddings have been shown to significantly outperform SBERT (which is currently provided by this library)...
In an effort to build up a generated document part by part. I am leveraging a prompt to generate some text then concatenating the generated text and feeding it back...
Hey @guillaume-be, awesome job on this. I'm trying to have one model for entity recognition and text classification. There are some implementations available in the python ecosystem for this and...
Hello, As describe on [PyTorch's blog](https://pytorch.org/blog/a-better-transformer-for-fast-transformer-encoder-inference/) since version 1.12 it is possible to have significantly faster transformers. To benefit from it in Python one has to use pre-built modules such...
Hi guys, I'm trying to load a custom model with RobertaForSequenceClassification but I don't know how to "predict". I assume I have to use forward_t method, but I'm not sure...
## Description I am working on a university assignment that involves extracting Named Entities (NE) from Polish text using a BERT-based model. I have chosen the FastPDN model from Hugging...
the outpout is in french not Spanish