Instructions to use Chiahc/distilgpt2Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Chiahc/distilgpt2Lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("distilgpt2") model = PeftModel.from_pretrained(base_model, "Chiahc/distilgpt2Lora") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f2361ebeda78078fea5bf7f27ec6d296aec5698240438082192dfa763ee9102d
- Size of remote file:
- 594 kB
- SHA256:
- 00bf7ba9f0f83cc3726f5e966d1e4a2d267b553af81913f6eb10732d9e8282bf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.