Instructions to use Babelscape/mrebel-large-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Babelscape/mrebel-large-32 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="Babelscape/mrebel-large-32")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Babelscape/mrebel-large-32") model = AutoModelForSeq2SeqLM.from_pretrained("Babelscape/mrebel-large-32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (91dae03f3abfbe8f62bc3fb90257a1c4ae72900d) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>25cd190
-
Update README.md
5843d66 -
Update README.md
1800ae6 -
Update README.md
191c464 -
Update README.md
9e59022
-
Update README.md
7b8e197 -
Update README.md
b0b5a76
-
Update README.md
d8fdd5a -
Update README.md
88b4520 -
Create README.md
8ec030d -
add tokenizer
aa00611 -
add model
f0af856 -
initial commit
9f04683