Instructions to use AdapterHub/llama2-7b-qlora-openassistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/llama2-7b-qlora-openassistant with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("meta-llama/Llama-2-7b-hf") model.load_adapter("AdapterHub/llama2-7b-qlora-openassistant", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download head_config.json from AdapterHub/llama2-7b-qlora-openassistant: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/AdapterHub/llama2-7b-qlora-openassistant/resolve/main/head_config.json
- Command line
-
hf download hf://AdapterHub/llama2-7b-qlora-openassistant/head_config.json
-
curl -L -o head_config.json https://huggingface.co/AdapterHub/llama2-7b-qlora-openassistant/resolve/main/head_config.json
262 Bytes
| { | |
| "config": null, | |
| "hidden_size": 4096, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "model_class": "LlamaForCausalLM", | |
| "model_name": "meta-llama/Llama-2-7b-hf", | |
| "model_type": "llama", | |
| "name": null, | |
| "num_labels": 2, | |
| "version": "0.1.2" | |
| } |