Instructions to use trl-internal-testing/tiny-PeftModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use trl-internal-testing/tiny-PeftModel with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("trl-internal-testing/tiny-PeftModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from trl-internal-testing/tiny-PeftModel: direct link, hf CLI and curl.
- Browser
- Download file 51.2 kB
-
https://huggingface.co/trl-internal-testing/tiny-PeftModel/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://trl-internal-testing/tiny-PeftModel/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/trl-internal-testing/tiny-PeftModel/resolve/main/adapter_model.safetensors
51.2 kB
- Xet hash:
- 3bc38af525d697d048af2dcbd453b318ae5f247ac1bacda2df5d51539960243f
- Size of remote file:
- 51.2 kB
- SHA256:
- ce9cdf9bc13dab71de97d2fc3df0b7cc159d8ba5fb9521cf5d8128368dff0b63
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.