Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 910 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 910 Bytes

GenAI PromptEnsembling

dspy_starter.ipynb contains examples for QA, Chain of Thought Reasoning, RAG, MultiHop CoT and MultiHop CoT with RAG. The models used are gpt-3.5-turbo as language model and colbertv2 as retreival model

OpenAi_starter.ipynb contains examples of OpenAi API access for Text Genreation, Text Generation with expect output formatting e.g. JSON and embedding extraction. The models used are: gpt-3.5 and gpt-4

QA_Local_Ensemble.ipynb contains an example of LLM output stacking to obtain better QA results. The models used are: gpt2, roberta, tiny_bert and Amazon_QANLU

Text_Generation_Local_Ensemble.ipynb contains an example of stacking text genreation outputs. The models used are: gpt2, tiny_llama, distil_bert and microsoft_phi2