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
Training in progress, step 39
Browse files- adapter_model.bin +1 -1
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16822989
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9d0d22d2624495d3a6cf636dea7e22830308947be9afc941933e802c9ff061a
|
| 3 |
size 16822989
|