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:
# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5p-2b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": false, | |
| "bos_token": "<|endoftext|>", | |
| "eos_token": "<|endoftext|>", | |
| "model_max_length": 2048, | |
| "name_or_path": "Salesforce/instructcodet5p-16b", | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "CodeGenTokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |