Instructions to use mlabonne/codellama-2-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mlabonne/codellama-2-7b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "mlabonne/codellama-2-7b") - Notebooks
- Google Colab
- Kaggle
Quantizing this by following your article
1
#4 opened over 2 years ago
by
ritvikshandilya
HumanEval
👍 1
1
#2 opened almost 3 years ago
by
davide221
What is this model?
14
#1 opened almost 3 years ago
by
rombodawg