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
- 41
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support