Hey there! Welcome to Prompty - your go-to tool for generating smart and secure prompts for language models! Whether you're a data scientist, developer, or just super curious about AI, Prompty has got your back. With this tool, you can say goodbye to dull inputs and hello to creativity and safety. 🎉
Prompty uses some seriously cool AI to understand what you're trying to say and turns that into a prompt that language models dig. Not only does it make sure your prompts are clear and to the point, but it also checks them for any sneaky injection attacks that could mess things up. Plus, it’s all about that grammar and style, automatically fixing errors and translating stuff if needed. So, no sweat if English isn’t your first language!
Before you dive into using Prompty, you'll need to set up your environment. Here's how to get started:
- Python 3.8 or newer
- PyTorch 1.8.1 or newer
- Transformers 4.5.1 or newer
- Datasets
- Pandas
- Sklearn
First, clone this repo:
git clone https://github.com/dragonscypher/Prompty
cd Prompty
Then, install all the required packages:
pip install -r requirements.txt
To get Prompty up and running, just follow these steps:
- Fire up your terminal.
- Run the script with
python gen.py
or you can runsmall_gen.py
. - Enter the description you want to turn into a prompt when asked.
- Watch Prompty do its magic! ✨
You’ll get a smart, clean, and checked prompt that’s ready to use in any language model project.
- Smart Summarization: Get to the point without losing the essence.
- Grammar and Style Corrections: Sound like a pro, no matter what.
- Injection Attack Detection: Keep things safe and sound.
- Multilingual Support: English, Español, Français? No problemo!
So, what are you waiting for? Give Prompty a spin and start creating some awesome AI prompts today! 🌐🚀
Got ideas on how to make Prompty even cooler? Fork the repo, push your changes, and hit us up with a pull request. Let's make Prompty better, together! 🤝
Thanks for checking out Prompty! Let’s make something great. 🌟