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