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