Instructions to use elarrahondo/gpt2-finetuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use elarrahondo/gpt2-finetuning with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "elarrahondo/gpt2-finetuning") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 0e721527d2332eccdfde2060c4370be0215ea4b0009bfe1c64e831c8d4941bb9
- Size of remote file:
- 6.51 MB
- SHA256:
- 79138f92064ee1a8c4b0e0bbd41209a07dc03cbeb846500d6a2dff9184f1e97d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.