Instructions to use subbu264/codeT5p_2b_finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subbu264/codeT5p_2b_finetune with Transformers:
# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("subbu264/codeT5p_2b_finetune", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload generation_config.json
Browse files- generation_config.json +7 -0
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"decoder_start_token_id": 50256,
|
| 5 |
+
"eos_token_id": 50256,
|
| 6 |
+
"transformers_version": "4.42.2"
|
| 7 |
+
}
|