Home

Awesome

<h2 align="center">Awesome Prompt Engineering πŸ§™β€β™‚οΈ </h2> <p align="center"> <img width="650" src="https://raw.githubusercontent.com/promptslab/Awesome-Prompt-Engineering/main/_source/prompt.png"> </p> <p align="center"> <p align="center"> This repository contains a hand-curated resources for Prompt Engineering with a focus on Generative Pre-trained Transformer (GPT), ChatGPT, PaLM etc </p> <h4 align="center">
   Prompt Engineering Course is coming soon..
<a href="https://awesome.re"> <img src="https://awesome.re/badge.svg" alt="Awesome" /> </a> <a href="https://github.com/promptslab/Awesome-Prompt-Engineering/blob/main/LICENSE"> <img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" alt="Awesome-Prompt-Engineering is released under the Apache 2.0 license." /> </a> <a href="http://makeapullrequest.com"> <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square" alt="http://makeapullrequest.com" /> </a> <a href="https://discord.gg/m88xfYMbK6"> <img src="https://img.shields.io/badge/Discord-Community-orange" alt="Community" /> </a> <a href="https://colab.research.google.com/drive/1f4YG9stX9aHmsmh6ZhzjekJU4X4BIynO?usp=sharing"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="colab" /> </a> </h4>

Table of Contents

Papers

πŸ“„

Tools & Code

πŸ”§

NameDescriptionUrl
LlamaIndexLlamaIndex is a project consisting of a set of data structures designed to make it easier to use large external knowledge bases with LLMs.[Github]
PromptifySolve NLP Problems with LLM's & Easily generate different NLP Task prompts for popular generative models like GPT, PaLM, and more with Promptify[Github]
Arize-PhoenixOpen-source tool for ML observability that runs in your notebook environment. Monitor and fine tune LLM, CV and Tabular Models.[Github]
Better PromptTest suite for LLM prompts before pushing them to PROD[Github]
CometLLMLog, visualize, and evaluate your LLM prompts, prompt templates, prompt variables, metadata, and more.[Github]
EmbedchainFramework to create ChatGPT like bots over your dataset[Github]
Interactive Composition ExplorerxICE is a Python library and trace visualizer for language model programs.[Github]
HaystackOpen source NLP framework to interact with your data using LLMs and Transformers.[Github]
LangChainxBuilding applications with LLMs through composability[Github]
OpenPromptAn Open-Source Framework for Prompt-learning[Github]
Prompt EngineThis repo contains an NPM utility library for creating and maintaining prompts for Large Language Models (LLMs).[Github]
PromptInjectPromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks.[Github]
Prompts AIAdvanced playground for GPT-3[Github]
Prompt SourcePromptSource is a toolkit for creating, sharing and using natural language prompts.[Github]
ThoughtSourceA framework for the science of machine thinking[Github]
PROMPTMETHEUSOne-shot Prompt Engineering Toolkit[Tool]
AI ConfigAn Open-Source configuration based framework for building applications with LLMs[Github]
LastMile AINotebook-like playground for interacting with LLMs across different modalities (text, speech, audio, image)[Tool]
XpulsAIEffortlessly build scalable AI Apps. AutoOps platform for AI & ML[Tool]
AgentaAgenta is an open-source LLM developer platform with the tools for prompt management, evaluation, human feedback, and deployment all in one place.[Github]
PromptotypeDevelop, test, and monitor your LLM { structured } tasks[Tool]

Apis

πŸ’»

NameDescriptionUrlPaid or Open-Source
OpenAIGPT-n for natural language tasks, Codex for translates natural language to code, and DALLΒ·E for creates and edits original images[OpenAI]Paid
CohereAICohere provides access to advanced Large Language Models and NLP tools through one API[CohereAI]Paid
AnthropicComing soon[Anthropic]Paid
FLAN-T5 XXLComing soon[HuggingFace]Open-Source

Datasets

πŸ’Ύ

NameDescriptionUrl
P3 (Public Pool of Prompts)P3 (Public Pool of Prompts) is a collection of prompted English datasets covering a diverse set of NLP tasks.[HuggingFace]
Awesome ChatGPT PromptsRepo includes ChatGPT prompt curation to use ChatGPT better.[Github]
Writing PromptsCollection of a large dataset of 300K human-written stories paired with writing prompts from an online forum(reddit)[Kaggle]
Midjourney PromptsText prompts and image URLs scraped from MidJourney's public Discord server[HuggingFace]

Models

🧠

NameDescriptionUrl
ChatGPTChatGPT[OpenAI]
CodexThe Codex models are descendants of our GPT-3 models that can understand and generate code. Their training data contains both natural language and billions of lines of public code from GitHub[Github]
BloomBigScience Large Open-science Open-access Multilingual Language Model[HuggingFace]
Facebook LLMOPT-175B is a GPT-3 equivalent model trained by Meta. It is by far the largest pretrained language model available with 175 billion parameters.[Alpa]
GPT-NeoXGPT-NeoX-20B, a 20 billion parameter autoregressive language model trained on the Pile[HuggingFace]
FLAN-T5 XXLFlan-T5 is an instruction-tuned model, meaning that it exhibits zero-shot-like behavior when given instructions as part of the prompt.[HuggingFace/Google]
XLM-RoBERTa-XLXLM-RoBERTa-XL model pre-trained on 2.5TB of filtered CommonCrawl data containing 100 languages.[HuggingFace]
GPT-JIt is a GPT-2-like causal language model trained on the Pile dataset[HuggingFace]
PaLM-rlhf-pytorchImplementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM[Github]
GPT-NeoAn implementation of model parallel GPT-2 and GPT-3-style models using the mesh-tensorflow library.[Github]
LaMDA-rlhf-pytorchOpen-source pre-training implementation of Google's LaMDA in PyTorch. Adding RLHF similar to ChatGPT.[Github]
RLHFImplementation of Reinforcement Learning from Human Feedback (RLHF)[Github]
GLM-130BGLM-130B: An Open Bilingual Pre-Trained Model[Github]
Mixtral-84BMixtral-84B is a Mixture of Expert (MOE) model with 8 experts per MLP.[HuggingFace]

AI Content Detectors

πŸ”Ž

NameDescriptionUrl
AI Text ClassifierThe AI Text Classifier is a fine-tuned GPT model that predicts how likely it is that a piece of text was generated by AI from a variety of sources, such as ChatGPT.[OpenAI]
GPT-2 Output DetectorThis is an online demo of the GPT-2 output detector model, based on the πŸ€—/Transformers implementation of RoBERTa.[HuggingFace]
Openai DetectorAI classifier for indicating AI-written text (OpenAI Detector Python wrapper)[GitHub]

Courses

πŸ‘©β€πŸ«

Tutorials

πŸ“š

Videos

πŸŽ₯

Communities

🀝

How to Contribute

We welcome contributions to this list! In fact, that's the main reason why I created it - to encourage contributions and encourage people to subscribe to changes in order to stay informed about new and exciting developments in the world of Large Language Models(LLMs) & Prompt-Engineering.

Before contributing, please take a moment to review our contribution guidelines. These guidelines will help ensure that your contributions align with our objectives and meet our standards for quality and relevance. Thank you for your interest in contributing to this project!

<h6 align="center"> <small><small>Image Source: docs.cohere.ai </small> </small> </h6>