Instructions to use palsp/gpt2-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use palsp/gpt2-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "palsp/gpt2-lora") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from palsp/gpt2-lora: direct link, hf CLI and curl.
- Browser
- Download file 5.11 kB
-
https://huggingface.co/palsp/gpt2-lora/resolve/main/training_args.bin
- Command line
-
hf download hf://palsp/gpt2-lora/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/palsp/gpt2-lora/resolve/main/training_args.bin
5.11 kB
- Xet hash:
- 2aac644db4fb6227140b10a2d983e7650eed892383ba3c2dbb859bf80e06e172
- Size of remote file:
- 5.11 kB
- SHA256:
- bdaebd510840997afaaa8b5c3ba2060aac5dd8cc9313aa86c9c64754696ae08e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.