Instructions to use addy88/code-t5-ruby with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use addy88/code-t5-ruby with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("addy88/code-t5-ruby") model = AutoModelForSeq2SeqLM.from_pretrained("addy88/code-t5-ruby", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from addy88/code-t5-ruby: direct link, hf CLI and curl.
- Browser
- Download file 575 kB
-
https://huggingface.co/addy88/code-t5-ruby/resolve/main/vocab.json
- Command line
-
hf download hf://addy88/code-t5-ruby/vocab.json
-
curl -L -o vocab.json https://huggingface.co/addy88/code-t5-ruby/resolve/main/vocab.json
575 kB
File too large to display, you can check the raw version instead.