Skip to content

Investigating the impact of the three message types on LLMs responses

License

Notifications You must be signed in to change notification settings

Pro-GenAI/Power-of-Roles

Repository files navigation

PR The Power of Roles

Investigating the impact of the three message types on LLMs responses

License: CC BY 4.0 Journal DOI Python

Note

Please star ⭐ the repository to show your support.

Why Power of Roles:

  • Existing research does not include the experimental results of the three message types.
  • Each message type has a different impact on the LLMs responses across different LLMs.
  • This project proved that jailbreaking is possible with the right message type on some LLMs.

Result:
Result

Created by Praneeth Vadlapati (@prane-eth)

📄 Research Paper

The research paper is available at EJAET

📑 Citation

To use my paper for reference, please cite it as below:

@misc{vadlapati2024PR,
	title={{The Power of Roles: Investigating the Impact of the Three Message Types on Language Model Responses}},
	journal={{European Journal of Advances in Engineering and Technology}},
	volume={11},
	number={3},
	author={Praneeth Vadlapati},
	year={2024},
	doi={10.5281/zenodo.13919681},
	url={https://zenodo.org/records/13919681},
}

🚀 Quick Start

Open the file Experiment-PR.ipynb and find the setup instructions in the first cell. Run the code.

💻 More Projects

For more projects, open the profile: @Pro-GenAI

🛠️ Contributing

Contributions are welcome! Feel free to create an issue for any bug reports or suggestions.
To contribute, please star ⭐ the repository and create an Issue. If I can't solve that, I will allow anyone to create a pull request.

🪪 License

Copyright © 2024 Praneeth Vadlapati
Please refer to the LICENSE file for more information.
To request a permission to use my work, please contact me using the link below.

⚠️ Disclaimer

The code is not intended for use in production environments. This code is for educational and research purposes only. No author is responsible for any misuse or damage caused by this code. Use it at your own risk. The code is provided as is without any guarantees or warranty.

🌐 Acknowledgements

  • Special thanks to Groq (https://groq.com/) for a fast LLM inference which saved me time for this research project.

📧 Contact

For personal queries, please find my contact details here: linktr.ee/prane.eth

About

Investigating the impact of the three message types on LLMs responses

Resources

License

Stars

Watchers

Forks