Instructions to use peft-internal-testing/tiny_GPT2ForTokenClassification-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use peft-internal-testing/tiny_GPT2ForTokenClassification-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForTokenClassification base_model = AutoModelForTokenClassification.from_pretrained("hf-internal-testing/tiny-random-gpt2") model = PeftModel.from_pretrained(base_model, "peft-internal-testing/tiny_GPT2ForTokenClassification-lora") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from peft-internal-testing/tiny_GPT2ForTokenClassification-lora: direct link, hf CLI and curl.
- Browser
- Download file 25 kB
-
https://huggingface.co/peft-internal-testing/tiny_GPT2ForTokenClassification-lora/resolve/c32ca358e1deddf2d3e755faef6d22610d7b49ae/adapter_model.bin
- Command line
-
hf download hf://peft-internal-testing/tiny_GPT2ForTokenClassification-lora@c32ca358e1deddf2d3e755faef6d22610d7b49ae/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/peft-internal-testing/tiny_GPT2ForTokenClassification-lora/resolve/c32ca358e1deddf2d3e755faef6d22610d7b49ae/adapter_model.bin
25 kB
- Xet hash:
- 9ac639a622f723b894179fbff513c59d2e956658965a4c58ba7ad9da3f5a36c0
- Size of remote file:
- 25 kB
- SHA256:
- 187412f6eb8e710dac3c4c482a9e9c4a8bb7e35d4763592c7500c9626f063a42
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.