Instructions to use skar01/llama2-coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use skar01/llama2-coder with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded") model = PeftModel.from_pretrained(base_model, "skar01/llama2-coder") - 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 [`TinyPixel/Llama-2-7B-bf16-sharded`](https://huggingface.co/TinyPixel/Llama-2-7B-bf16-sharded) 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 feedba…4786d2e
-
Rename config.json to adapter_config.json
9170a62
-
Rename adapter_config.json to config.json
edba3c9 -
Update README.md
6a1b98f -
Upload model
8d8584a -
initial commit
8f918ca