Currently, MindsDB’s NLP engine is powered by Hugging Face and OpenAI. But we plan to expand to other NLP options in the future, so stay tuned!

The MindsDB’s Hugging Face engine is extensible. We are actively working on adding more tasks and models. If you have a specific task or model in mind, please let us know in the MindsDB Community.

Hugging Face Examples

Here are the tasks supported by MindsDB and Hugging Face:

  • Text Classification
  • Zero-Shot Classification
  • Translation
  • Summarization

Let’s go through the examples.

Text Classification

Zero-Shot Classification

Translation

Summarization

OpenAI Examples

Here are the tasks supported by MindsDB and OpenAI:

  • Answering Questions without Context
  • Answering Questions with Context
  • Prompt Completion

Follow this instruction to set up the OpenAI integration in MindsDB.

Let’s go through the examples.

Answering Questions without Context

Answering Questions with Context

Prompt Completion

What’s Next?

Have fun while trying it out yourself!

If this tutorial was helpful, please give us a GitHub star here.