Instructions to use Salesforce/codet5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/codet5-small with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Salesforce/codet5-small") model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Salesforce/codet5-small: direct link, hf CLI and curl.
- Browser
- Download file 242 MB
-
https://huggingface.co/Salesforce/codet5-small/resolve/5e3f699c6cd46d1703eff9ad88f0c2b88db12bcd/pytorch_model.bin
- Command line
-
hf download hf://Salesforce/codet5-small@5e3f699c6cd46d1703eff9ad88f0c2b88db12bcd/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Salesforce/codet5-small/resolve/5e3f699c6cd46d1703eff9ad88f0c2b88db12bcd/pytorch_model.bin
242 MB
- Xet hash:
- 18a8d358b44bee6f378ec0bdffa770d877a61637454f6804f830cb4a7ac9cea5
- Size of remote file:
- 242 MB
- SHA256:
- 968fb0f45e1efc8cf3dd50012d1f82ad82098107cbadde2c0fdd8e61bac02908
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.