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 19
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:9d1756eb4af3f0d3f36319c93021e0e78fb4ecebeaee476836bd9ca77ec4ed72
|
| 3 |
size 16822989
|