Instructions to use RUCAIBox/Erya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RUCAIBox/Erya 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="RUCAIBox/Erya")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("RUCAIBox/Erya") model = AutoModelForSeq2SeqLM.from_pretrained("RUCAIBox/Erya", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
2f83314 -
Update README.md
2f2b531 -
Update README.md
9050542
-
Update README.md
452d36c -
Update README.md
f31655e -
Update README.md
0cbc09f
-
Update README.md
35350d4 -
Update README.md
0cf81d7
-
Rename pytorch_model_zero-shot.bin to pytorch_model.bin
dda12a8 -
Delete pytorch_model.bin
ad97278 -
Rename pytorch_model_fine-tune.bin to pytorch_model.bin
a06b444
-
Rename pytorch_model.bin to pytorch_model_fine-tune.bin
8a097bd -
Upload pytorch_model.bin
743ba9e -
Rename pytorch_model.bin to pytorch_model_zero-shot.bin
6c6ff06
-
Update README.md
b7a0688 -
Update README.md
0de4645 -
Update README.md
16617d0 -
Update README.md
0db419a -
Update README.md
b5f3ffe -
Update README.md
97aa6e7
-
Upload 5 files
1dbd65f -
initial commit
2235899