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
Download pytorch_model.bin from RUCAIBox/Erya: direct link, hf CLI and curl.
- Browser
- Download file 1.05 GB
-
https://huggingface.co/RUCAIBox/Erya/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://RUCAIBox/Erya/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/RUCAIBox/Erya/resolve/main/pytorch_model.bin
1.05 GB
- Xet hash:
- d9ccd8da4ea3bc5ad5fd536bc878aff0fd0f7793014c86d47256893305f2d16a
- Size of remote file:
- 1.05 GB
- SHA256:
- b07d8a0db8cedb56d577d5c87a65101a8feababa6da5653b7327bbc17a792f1e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.