--- license: apache-2.0 language: - en library_name: transformers pipeline_tag: text-generation tags: - quotes - quote-generator - text-generation-inference widget: - text: >- This life example_title: Sample --- ## 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: ```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']) ```