All Projects → e-tornike → Story_Generator

e-tornike / Story_Generator

Licence: MIT License
A Streamlit web app that generates Rick and Morty stories using GPT2.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Story Generator

keytotext
Keywords to Sentences
Stars: ✭ 226 (+707.14%)
Mutual labels:  streamlit, huggingface-transformers
finetune-gpt2xl
Guide: Finetune GPT2-XL (1.5 Billion Parameters) and finetune GPT-NEO (2.7 B) on a single GPU with Huggingface Transformers using DeepSpeed
Stars: ✭ 353 (+1160.71%)
Mutual labels:  gpt2, huggingface-transformers
Text-Summarization
Abstractive and Extractive Text summarization using Transformers.
Stars: ✭ 38 (+35.71%)
Mutual labels:  gpt2, streamlit
playground
A Streamlit application to play with machine learning models directly from the browser
Stars: ✭ 48 (+71.43%)
Mutual labels:  streamlit
transformer-models
Deep Learning Transformer models in MATLAB
Stars: ✭ 90 (+221.43%)
Mutual labels:  gpt2
streamlit-light-leaflet
Streamlit quick & dirty Leaflet component that sends back coordinates on map click
Stars: ✭ 22 (-21.43%)
Mutual labels:  streamlit
Bank-Note-Authentication
💸 Authenticate Bank Notes on the basis of Genuity and Forged using Sklearn and deployed on Heroku and FastAPI Server 💳 💲
Stars: ✭ 17 (-39.29%)
Mutual labels:  streamlit
streamlit-component-template-vue
Vue 2/3 template for Streamlit Components
Stars: ✭ 32 (+14.29%)
Mutual labels:  streamlit
streamlit-tensorboard
Streamlit component for TensorBoard, TensorFlow's visualization toolkit
Stars: ✭ 18 (-35.71%)
Mutual labels:  streamlit
streamlit-observable
Embed Observable notebooks into Streamlit apps!
Stars: ✭ 50 (+78.57%)
Mutual labels:  streamlit
streamlit-pandas-profiling
Pandas profiling component for Streamlit.
Stars: ✭ 135 (+382.14%)
Mutual labels:  streamlit
2021-dialogue-summary-competition
[2021 훈민정음 한국어 음성•자연어 인공지능 경진대회] 대화요약 부문 알라꿍달라꿍 팀의 대화요약 학습 및 추론 코드를 공유하기 위한 레포입니다.
Stars: ✭ 86 (+207.14%)
Mutual labels:  huggingface-transformers
MIRNet
Tensorflow implementation of MIRNet for Low-light image enhancement
Stars: ✭ 78 (+178.57%)
Mutual labels:  streamlit
img ai app boilerplate
An image classification app boilerplate to serve your deep learning models asap!
Stars: ✭ 27 (-3.57%)
Mutual labels:  streamlit
OpenDialog
An Open-Source Package for Chinese Open-domain Conversational Chatbot (中文闲聊对话系统,一键部署微信闲聊机器人)
Stars: ✭ 94 (+235.71%)
Mutual labels:  gpt2
five-minute-midas
Predicting Profitable Day Trading Positions using Decision Tree Classifiers. scikit-learn | Flask | SQLite3 | pandas | MLflow | Heroku | Streamlit
Stars: ✭ 41 (+46.43%)
Mutual labels:  streamlit
ML-explainability-app
This is a web app built for easy explainability of machine learning models without writing any code in order to explain easily to non-technicals and stakeholders.
Stars: ✭ 15 (-46.43%)
Mutual labels:  streamlit
object-detection-app
Simple object detection app with streamlit
Stars: ✭ 57 (+103.57%)
Mutual labels:  streamlit
Naive-Resume-Matching
Text Similarity Applied to resume, to compare Resumes with Job Descriptions and create a score to rank them. Similar to an ATS.
Stars: ✭ 27 (-3.57%)
Mutual labels:  streamlit
streamlit-webrtc-example
Real time video and audio processing examples with Streamlit and streamlit-webrtc
Stars: ✭ 53 (+89.29%)
Mutual labels:  streamlit

Rick and Morty Story Generator

Open in Streamlit

This project uses a pre-trained GPT2 model, which was fine-tuned on Rick and Morty transcripts, to generate new stories in the form of a dialog. The project uses Hugging Face's Transformers library to do inference and Streamlit for the application.

Try out the demo to generate fun stories or read the blog post on how to create your own story generator.

Fine-tuning a custom model

You can fine-tune your own model using Google Colab Open In Colab

Setup

This repository has only been tested with Python 3.7.

Install the dependencies in a virtual environment:

python3.7 -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools
pip install -r requirements.txt

On the first run, the app will download the pre-trained model from Hugging Face's Model Hub or you can supply your own custom model in the load_model() function. To start the application, simply run:

streamlit run app.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].