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")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("RUCAIBox/Erya") model = AutoModelForSeq2SeqLM.from_pretrained("RUCAIBox/Erya") - Notebooks
- Google Colab
- Kaggle
- 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.