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:
# pip install -U transformers accelerate # 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
Commit History
-
Update README.md (#5)
Verified signature- Update README.md (7b0193db19ed5be6de242c09be4cd05be05b5092) Co-authored-by: Wenzhuo Yang <[email protected]>b1ee957
-
Upload vocab.json
a642dc9 -
Upload tokenizer_config.json
d849047 -
Upload special_tokens_map.json
f1353c1 -
Upload added_tokens.json
1608609
-
Remove inference widget
9e6db9a -
Set model_max_length to 512
0f6ef5f -
Update code example
5194b26
-
Update README.md
e1c8132 -
Update README.md
8ad8119 -
Update README.md
98cd2d4 -
Add widgetData
86f21b0 -
Add codet5 tag
67aca4e -
Add model card
d628337 -
First commit
b2f7661 -
initial commit
806b6a3