Instructions to use ashwincv0112/code-llama-python-finetune2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ashwincv0112/code-llama-python-finetune2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Python-hf") model = PeftModel.from_pretrained(base_model, "ashwincv0112/code-llama-python-finetune2") - Notebooks
- Google Colab
- Kaggle
| { | |
| "▁<EOT>": 32003, | |
| "▁<MID>": 32001, | |
| "▁<PRE>": 32000, | |
| "▁<SUF>": 32002 | |
| } | |