Instructions to use ashwincv0112/code-llama-13b-python-finetune2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ashwincv0112/code-llama-13b-python-finetune2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-13b-Python-hf") model = PeftModel.from_pretrained(base_model, "ashwincv0112/code-llama-13b-python-finetune2") - Notebooks
- Google Colab
- Kaggle
Commit ·
39aca83
1
Parent(s): bcc6262
Create added_tokens.json
Browse files- added_tokens.json +6 -0
added_tokens.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"▁<EOT>": 32003,
|
| 3 |
+
"▁<MID>": 32001,
|
| 4 |
+
"▁<PRE>": 32000,
|
| 5 |
+
"▁<SUF>": 32002
|
| 6 |
+
}
|