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
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.43df7ca
-
Librarian Bot: Add base_model information to model (#3)
- Librarian Bot: Add base_model information to model (f9f5d7a5775dac060a62b27fa81d9b1aa786ceb4) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>b251617
-
Training in progress, step 58
529dc38 -
Training in progress, step 57
9e68c59 -
Training in progress, step 56
d08ca30 -
Training in progress, step 55
014fc08 -
Training in progress, step 54
df61e5f -
Training in progress, step 53
a2ab398 -
Training in progress, step 52
5197616 -
Training in progress, step 51
dc670e4 -
Training in progress, step 50
ba0a6ce -
Training in progress, step 49
4d1190f -
Training in progress, step 48
1950d59 -
Training in progress, step 47
a97c84d -
Training in progress, step 46
1a3ce7e -
Training in progress, step 45
0194300 -
Training in progress, step 44
ffd3217 -
Training in progress, step 43
4bed79a -
Training in progress, step 42
3165ed5 -
Training in progress, step 41
8cadd69 -
Training in progress, step 40
d7a1535 -
Training in progress, step 39
6fe55e4 -
Training in progress, step 38
13b3a63 -
Training in progress, step 37
ab62ada -
Training in progress, step 36
7489177 -
Training in progress, step 35
860baa3 -
Training in progress, step 34
35f0833 -
Training in progress, step 33
54d603c -
Training in progress, step 32
8dec5a6 -
Training in progress, step 31
4e1d14f -
Training in progress, step 30
144f9ba -
Training in progress, step 29
8821e75 -
Training in progress, step 28
938e7ea -
Training in progress, step 27
ccdec44 -
Training in progress, step 26
d299dfe -
Training in progress, step 25
6ceb871 -
Training in progress, step 24
882512e -
Training in progress, step 23
4fccf4e -
Training in progress, step 22
e615105 -
Training in progress, step 21
d8e355c -
Training in progress, step 20
23ebbf3 -
Training in progress, step 19
4c0efe2 -
Training in progress, step 18
b8bc36a -
Training in progress, step 17
5c1b1a0 -
Training in progress, step 16
f939893 -
Training in progress, step 15
62acd79 -
Training in progress, step 14
6626b46 -
Training in progress, step 13
8be45f1 -
Training in progress, step 12
b2c191a -
Training in progress, step 11
9c0949e