Edit model card

Inspirational Quote Generator

Model Description

This model is fine-tuned on a dataset of inspirational quotes to generate new, motivational quotes based on a given seed text. It is based on the GPT-2 architecture.

How to Use

This model can generate a quote based on a seed text provided by the user. The model expects a string of text as input and will return a string containing the inspirational quote.

Here is how to use the model in Python:


from transformers import pipeline

generator = pipeline('text-generation', model='sarahai/your-inspiration')

seed_text = "Life is"
generated_quotes = generator(seed_text, max_length=50, num_return_sequences=1)

for quote in generated_quotes:
    print(quote['generated_text'])
Downloads last month
8
Safetensors
Model size
124M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.