Instructions to use CommerAI/adapter-llama2-13b-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CommerAI/adapter-llama2-13b-text with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-13b-hf") model = PeftModel.from_pretrained(base_model, "CommerAI/adapter-llama2-13b-text") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from CommerAI/adapter-llama2-13b-text: direct link, hf CLI and curl.
- Browser
- Download file 1.63 GB
-
https://huggingface.co/CommerAI/adapter-llama2-13b-text/resolve/main/adapter_model.bin
- Command line
-
hf download hf://CommerAI/adapter-llama2-13b-text/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/CommerAI/adapter-llama2-13b-text/resolve/main/adapter_model.bin
1.63 GB
- Xet hash:
- 90482abec0e9b73c7aa5a1f59abd6bd4297734e7c589d9ce7161732657366672
- Size of remote file:
- 1.63 GB
- SHA256:
- d7425421b739dabd6e2bc336f523d86258677a5e6073f1f0c8d1d7e33825921c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.