8000 GitHub - andres-gov/dsp: The Demonstrate-Search-Predict Framework: Composing retrieval and language models for knowledge-intensive NLP · GitHub
[go: up one dir, main page]

Skip to content
andres-govPublic
forked from stanfordnlp/dspy

About

The Demonstrate-Search-Predict Framework: Composing retrieval and language models for knowledge-intensive NLP

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

🎓𝗗𝗦𝗣: Demonstrate–Search–Predict

A framework for composing retrieval models and language models into powerful pipelines that tackle knowledge-intensive tasks.

Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP

Installation

pip install dsp-ml

🏃 Getting Started

Our intro notebook provides examples of five "multi-hop" question answering programs of increasing complexity written in DSP.

You can open the notebook in Google Colab. You don't even need an API key to get started with it.

Once you go through the notebook, you'll be ready to create your own DSP pipelines!

✍️ Reference

If you use DSP in a research paper, please cite our work as follows:

@article{khattab2022demonstrate,
  title={Demonstrate-Search-Predict: Composing Retrieval and Language Models for Knowledge-Intensive {NLP}},
  author={Khattab, Omar and Santhanam, Keshav and Li, Xiang Lisa and Hall, David and Liang, Percy and Potts, Christopher and Zaharia, Matei},
  journal={arXiv preprint arXiv:2212.14024},
  year={2022}
}

About

The Demonstrate-Search-Predict Framework: Composing retrieval and language models for knowledge-intensive NLP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0