How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="HScomcom/gpt2-MyLittlePony")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("HScomcom/gpt2-MyLittlePony")
model = AutoModelForCausalLM.from_pretrained("HScomcom/gpt2-MyLittlePony")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

The model that generates the My little pony script

Fine tuning data: Kaggle

API page: Ainize

Demo page: End point

Model information

Base model: gpt-2 large
Epoch: 30
Train runtime: 4943.9641 secs
Loss: 0.0291

###===Teachable NLP===

To train a GPT-2 model, write code and require GPU resources, but can easily fine-tune and get an API to use the model here for free.

Teachable NLP: Teachable NLP

Tutorial: Tutorial

Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support