Instructions to use Salesforce/codet5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/codet5-base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Salesforce/codet5-base") model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add link to code datasets
Browse files
README.md
CHANGED
|
@@ -29,6 +29,7 @@ This repository contains the pre-trained model only, so you can use this model f
|
|
| 29 |
* code defect detection
|
| 30 |
* code clone detection.
|
| 31 |
|
|
|
|
| 32 |
See the [model hub](https://huggingface.co/models?search=salesforce/codet) to look for fine-tuned versions on a task that interests you.
|
| 33 |
|
| 34 |
### How to use
|
|
|
|
| 29 |
* code defect detection
|
| 30 |
* code clone detection.
|
| 31 |
|
| 32 |
+
Supervised datasets for code can be found [here](https://huggingface.co/datasets?languages=languages:code).
|
| 33 |
See the [model hub](https://huggingface.co/models?search=salesforce/codet) to look for fine-tuned versions on a task that interests you.
|
| 34 |
|
| 35 |
### How to use
|