Instructions to use tlkh/code-byt5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tlkh/code-byt5-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("tlkh/code-byt5-large") model = AutoModelForSeq2SeqLM.from_pretrained("tlkh/code-byt5-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download all_results.json from tlkh/code-byt5-large: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/tlkh/code-byt5-large/resolve/main/all_results.json
- Command line
-
hf download hf://tlkh/code-byt5-large/all_results.json
-
curl -L -o all_results.json https://huggingface.co/tlkh/code-byt5-large/resolve/main/all_results.json
196 Bytes
| { | |
| "epoch": 1.0, | |
| "train_loss": 1.444948594361097, | |
| "train_runtime": 31915.8638, | |
| "train_samples": 386475, | |
| "train_samples_per_second": 12.109, | |
| "train_steps_per_second": 0.378 | |
| } |