Instructions to use jinaai/xlm-roberta-flash-implementation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jinaai/xlm-roberta-flash-implementation with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jinaai/xlm-roberta-flash-implementation", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Disable tqdm.
#48
by ivanstepanovftw - opened
Previously tried to disable useless tqdm without luck when performing .encode() until someone pointed me to the root cause, to this repo. Here is the description of the tqdm issue: https://github.com/huggingface/transformers/issues/34438
I just saw that this issue was posted here as well. I replied in https://huggingface.co/jinaai/jina-embeddings-v3/discussions/66
You can just set show_progress_bar=False in the encode function. Take a look at the linked issue for a more extensive explanation. If you have more questions, let me know :)