Instructions to use Salesforce/codet5p-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/codet5p-2b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5p-2b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Salesforce/codet5p-2b: direct link, hf CLI and curl.
- Browser
- Download file 6.45 GB
-
/Salesforce/codet5p-2b/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Salesforce/codet5p-2b/pytorch_model.bin
-
curl -L -o pytorch_model.bin /Salesforce/codet5p-2b/resolve/main/pytorch_model.bin
6.45 GB
- Xet hash:
- 9d23c26216fa210ab8a86a23437155f265797f1d7b40b72a98d7983f7792cc2e
- Size of remote file:
- 6.45 GB
- SHA256:
- 212411492d8fa856940f5ce8698396cdcaddda92a4516a1eb55c768eb7ca76c4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.