Seamlessly integrate powerful language models like ChatGPT into sci-kit-learn for enhanced text analysis tasks. At the moment the majority of the Scikit-LLM estimators are only compatible with some of the OpenAI models. Hence, a user-provided OpenAI API key is required. Additionally, Scikit-LLM will ensure that the obtained response contains a valid label. If this is not the case, a label will be selected randomly (label probabilities are proportional to label occurrences in the training set). Note: unlike in a typical supervised setting, the performance of a zero-shot classifier greatly depends on how the label itself is structured. It has to be expressed in natural language, descriptive, and self-explanatory.

Features

  • Star Scikit-LLM on GitHub (click the star button in the top right corner)
  • Provide your feedback or propose ideas in the issues section or Discord
  • Post about Scikit-LLM on LinkedIn or other platforms
  • Check out our other projects
  • Configure OpenAI API Key
  • Use Azure OpenAI
  • Use GPT4ALL

Project Samples

Project Activity

See All Activity >