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") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ tags:
|
|
| 5 |
datasets:
|
| 6 |
- code_search_net
|
| 7 |
widgetData:
|
| 8 |
-
- text: 'def greet(user): print(f''
|
| 9 |
---
|
| 10 |
|
| 11 |
# CodeT5 (small-sized model)
|
|
|
|
| 5 |
datasets:
|
| 6 |
- code_search_net
|
| 7 |
widgetData:
|
| 8 |
+
- text: 'def greet(user): print(f''hello <extra_id_0>!'') </s>'
|
| 9 |
---
|
| 10 |
|
| 11 |
# CodeT5 (small-sized model)
|