Instructions to use monsterapi/gpt2_124m_norobots with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/gpt2_124m_norobots with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "monsterapi/gpt2_124m_norobots") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
df38dcf | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bfa3b010f9ffd3fb1b085cde527cc3662c3f15c8aa98de1daf19272de12069b1
size 4727414
|