Instructions to use RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2-large") model = PeftModel.from_pretrained(base_model, "RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2: direct link, hf CLI and curl.
- Browser
- Download file 21 Bytes
-
https://huggingface.co/RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2/resolve/main/added_tokens.json
- Command line
-
hf download hf://RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/RajuEEE/GeneratorModel_SFT_GPT2Large_SmallerQuestion2/resolve/main/added_tokens.json
21 Bytes
| { | |
| "[PAD]": 50257 | |
| } | |