AI21

Get an overview of AI21 and how to use its models in a Go application.

Introduction to AI21

AI21 Labs focuses on artificial intelligence (AI) and natural language processing (NLP) technologies. It provides a platform called AI21 studio that helps developers and businesses build NLP solutions powered by cutting-edge language models.

Press + to interact

It supports two kinds of models:

  • Jurassic-2

  • Task-specific models

Jurassic-2

These are general-purpose models that we can train and customize as per requirements. It’s available in three different categories:

  1. Ultra: It is AI21 Labs’ largest and most powerful model, making it ideal for complex language processing tasks and generative text applications. It can also be fine-tuned for optimum performance.

  2. Mid: This model is suitable for language tasks with greater complexity. Its fine-tuning options allow a balance between quality optimization, cost-effectiveness, price, and efficiency.

  3. Light: It is designed for fast responses and can be fine-tuned to optimize performance for relatively simple tasks. Thus, it suits language tasks requiring low processing power and cost efficiency.

Task-specific models

Each model is designed for its respective task and balances high-quality results and cost optimization.

Task-specific models fall into two categories:

    ...