Top 10 Jupyter Notebook gpt-2 Projects
-
Transformers-Tutorials
This repository contains demos I made with the Transformers library by HuggingFace.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
REaLTabFormer
A suite of auto-regressive and Seq2Seq (sequence-to-sequence) transformer models for tabular and relational synthetic data generation.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
TinyStories
code to train a gpt-2 model to train it on tiny stories dataset according to the TinyStories paper
-
RecipeGPT-exp
RecipeGPT: Generative Pre-training Based Cooking Recipe Generation and Evaluation System (TheWebConf'2020; WWW'20)
-
tensorflow-nanoGPT
Example how to train GPT-2 (XLA + AMP), export to SavedModel and serve with Tensorflow Serving
Most of this tutorial is based on Hugging Face course about Transformers and on Niels Rogge's Transformers tutorials: make sure to check their work and give them a star on GitHub, if you please ❤️
I've been playing around with DALL-E 3 a lot recently. One of the things they do is to expand a user's prompt in order to add a lot of detail. Via their API, you can see the expanded prompt (whereas, you can't through the ChatGPT interface).
They obviously have the power of their LLM behind them and can generate some really interesting prompts. There is an open source implementation that the creator of Fooocus made which attempts to expand on prompts using some commonly used keywords[1] with some sort of basic context.
e.g., I typed in "Brisket on a table" and got: "Brisket on a table, product photography, Michelin star, award winning photo, 8k, trending, HD. High quality image, highly detailed, stunning lighting, flawless render, masterpiece, still from the movie directed by Denis Villeneuve with art direction"
You get a much better image with that prompt vs just the basic: "Brisket on a table"
[1] https://huggingface.co/spaces/daspartho/prompt-extend
Project mention: [P] Code to config a model similar to TinyStories paper | /r/MachineLearning | 2023-05-19Take a look: https://github.com/sleepingcat4/TinyStories
Project mention: [P] Training and serving GPT-2 using Keras-CV and Tensorflow | /r/MachineLearning | 2023-05-27Here is the link to my repo: https://github.com/kmkolasinski/tensorflow-nanoGPT
Jupyter Notebook gpt-2 related posts
Index
What are some of the best open-source gpt-2 projects in Jupyter Notebook? This list will help you:
Project | Stars | |
---|---|---|
1 | Transformers-Tutorials | 7,510 |
2 | gpt2bot | 424 |
3 | mgpt | 194 |
4 | REaLTabFormer | 183 |
5 | prompt-extend | 174 |
6 | minGPT-TF | 53 |
7 | Anees | 37 |
8 | TinyStories | 27 |
9 | RecipeGPT-exp | 20 |
10 | tensorflow-nanoGPT | 4 |
Sponsored