Instructions to use ernie-research/ernie-code-560m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ernie-research/ernie-code-560m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ernie-research/ernie-code-560m") model = AutoModelForSeq2SeqLM.from_pretrained("ernie-research/ernie-code-560m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature5cab3a3 -
Update README.md
Verified signature9da4847
-
Update README.md
Verified signature11f7b91 -
Update README.md
Verified signature1e9a811
-
Update README.md
Verified signatured2195a8 -
Update README.md
Verified signature004e350 -
Update config.json
Verified signature03ece9a -
update ernie-code file
Verified signatured66c328 -
initial commit
Verified signaturec25a5d9