Instructions to use Ateras/llama2-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ateras/llama2-ft 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, "Ateras/llama2-ft") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from Ateras/llama2-ft: direct link, hf CLI and curl.
- Browser
- Download file 16.8 MB
-
https://huggingface.co/Ateras/llama2-ft/resolve/main/adapter_model.bin
- Command line
-
hf download hf://Ateras/llama2-ft/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/Ateras/llama2-ft/resolve/main/adapter_model.bin
16.8 MB
- Xet hash:
- b4e75e4248af6dcc702f2e0d0e4061bb482ff5b4055ecb3e6d2c0ff9e6d64b06
- Size of remote file:
- 16.8 MB
- SHA256:
- 570c2bbeab4b9f96be2ae96fa5363c561768018e83b9792b4d0acafa627ce1cf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.