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