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