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