Instructions to use rkumar1999/gpt2-fine-tuned-math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rkumar1999/gpt2-fine-tuned-math with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "rkumar1999/gpt2-fine-tuned-math") - Notebooks
- Google Colab
- Kaggle
Ctrl+K