Instructions to use moussaKam/barthez with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moussaKam/barthez with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="moussaKam/barthez")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("moussaKam/barthez") model = AutoModelForSeq2SeqLM.from_pretrained("moussaKam/barthez", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding ONNX file of this model
Beep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/optimum/exporters). On behalf of [agailloty](https://huggingface.co/agailloty), I would like to add to this repository the model converted to ONNX. What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)! The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!320d467
-
Add license
1ad22b1
-
Update README.md
84ef262 -
typo
moussaKam05a57b3 -
Change text
moussaKam3138516
-
Update config.json
0a60a43
-
Add README.md
moussaKamddc70a3
-
Add tokenizer.json, Modify sentencepiece model
moussaKamc89de60 -
Remove vocab.json
moussaKama733cdd
-
Update config
moussaKam9ce1b9f
-
Update config.json
7660259
-
Update vocab.json
654e335
-
Update pytorch_model.bin
fec1f5c -
Update sentencepiece.bpe.model
b135965 -
Update config.json
e20e047 -
Update sentencepiece.bpe.model
91e6d7e -
Update config.json
a4077e9 -
initial commit
67d0b49