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