https://github.com/kaludii/chatgpt-bingchat-gpt4-prompt-generator
Generates ChatGPT/BingChat & GPT-4 prompts using this model trained by Kaludi. Enter a role and a prompt will be generated based on it.
https://github.com/kaludii/chatgpt-bingchat-gpt4-prompt-generator
binghcat chatgpt generator gpt-3 gpt3 gpt4 persona prompt prompt-generator role streamlit
Last synced: about 1 month ago
JSON representation
Generates ChatGPT/BingChat & GPT-4 prompts using this model trained by Kaludi. Enter a role and a prompt will be generated based on it.
- Host: GitHub
- URL: https://github.com/kaludii/chatgpt-bingchat-gpt4-prompt-generator
- Owner: Kaludii
- Created: 2023-02-13T17:19:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T22:24:52.000Z (about 2 years ago)
- Last Synced: 2025-04-10T22:54:03.074Z (about 1 month ago)
- Topics: binghcat, chatgpt, generator, gpt-3, gpt3, gpt4, persona, prompt, prompt-generator, role, streamlit
- Language: Python
- Homepage: https://huggingface.co/spaces/Kaludi/ChatGPT-BingChat-GPT3-Prompt-Generator_App
- Size: 40 KB
- Stars: 26
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT-BingChat Prompt Generator
Generates ChatGPT/BingChat & GPT-3 prompts using [this](https://huggingface.co/Kaludi/chatgpt-gpt4-prompts-bart-large-cnn-samsum) model trained by [Kaludi](https://huggingface.co/Kaludi).
Enter a role and a prompt will be generated based on it.
# Web App
Click [Here](https://huggingface.co/spaces/Kaludi/ChatGPT-BingChat-GPT3-Prompt-Generator_App "Here") To View This App Online!
## Features
- Generate prompts based on a role entered by the user
- Uses a pre-trained language model to generate the prompt## Usage
To use the app, simply enter a role in the input field and click on the "Generate" button. A prompt will be generated based on the role entered.
## Examples
Some examples of roles that can be entered:
- Virtual Assistant
- Customer Service Representative
- Personal Assistant
- Data Scientist## Technical details
The app uses Streamlit for the user interface and the Hugging Face Transformers and is a fine-tuned version of [philschmid/bart-large-cnn-samsum's](https://huggingface.co/philschmid/bart-large-cnn-samsum) model using [this](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts) dataset.
It achieves the following results on the evaluation set:
- Train Loss: 1.2214
- Validation Loss: 2.7584
- Epoch: 4### Training hyperparameters
The following hyperparameters were used during training:
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
- training_precision: float32### Training results
| Train Loss | Validation Loss | Epoch |
|:----------:|:---------------:|:-----:|
| 3.1982 | 2.6801 | 0 |
| 2.3601 | 2.5493 | 1 |
| 1.9225 | 2.5377 | 2 |
| 1.5465 | 2.6794 | 3 |
| 1.2214 | 2.7584 | 4 |## Requirements
- Python 3.6 or higher
- Streamlit
- Transformers (Hugging Face)## Installation
1. Clone the repository:
`git clone https://github.com/Kaludii/ChatGPT-BingChat-GPT3-Prompt-Generator.git`
2. Install the required packages:
`pip install streamlit transformers`
3. Run the app:
`streamlit run app.py`