/Chen

A Fast Text Classification Cores build from OpenAI API.

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Chen

Chen is a cost-effective, fast, and easy-to-implement text classification algorithm.

It can build unsupervised text classifiers for various use cases with minimal data and computational requirements, solely through prompt engineering and pre-trained word embeddings. No heavy data curation or model training needed.

Building Steps

The usage is very simple, including the following steps:

  1. Construct vocabularies for specific use cases through prompt engineering.
  2. Convert these vocabularies into a classification kernel using an embedding model.
  3. Process and classify the text to be categorized.

Let's do it with OpenAI!