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
-
Librarian Bot: Add base_model information to model
This pull request aims to enrich the metadata of your model by adding [`meta-llama/Llama-2-7b-hf`](https://huggingface.co/meta-llama/Llama-2-7b-hf) as a `base_model` field, situated in the `YAML` block of your model's `README.md`. How did we find this information? We extracted this infromation from the `adapter_config.json` file of your model. **Why add this?** Enhancing your model's metadata in this way: - **Boosts Discoverability** - It becomes straightforward to trace the relationships between various models on the Hugging Face Hub. - **Highlights Impact** - It showcases the contributions and influences different models have within the community. For a hands-on example of how such metadata can play a pivotal role in mapping model connections, take a look at [librarian-bots/base_model_explorer](https://huggingface.co/spaces/librarian-bots/base_model_explorer). This PR comes courtesy of [Librarian Bot](https://huggingface.co/librarian-bot). If you have any feedback, queries, or ne…f9f5d7a
-
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 -
Training in progress, step 10
6c48a42