Skip to content

Model Garden Feature

Overview

The Model Garden in AI Studio is a centralized hub where users can access, manage, and interact with a diverse array of AI models. This feature provides a seamless interface to explore and utilize various types of models, from pre-configured language models to custom fine-tuned solutions.

Key Capabilities

  1. Model Categories: Access models organized into distinct categories for easy navigation.
  2. Model Activation: Enable or disable specific models using a simple toggle switch.
  3. Pre-activated Models: Immediate access to popular closed-source language models.
  4. Open-source Model Access: Option to activate and use open-source language models.
  5. Custom Model Integration: Interact with personally fine-tuned instruction models.
  6. Cross-feature Compatibility: Use activated models across various AI Studio features.
  7. Custom Model Registration: Register and interact with user-provided machine learning models.

Model Categories

The Model Garden organizes AI models into several categories:

  1. Language Models
  2. Instruction Models
  3. Tabular Models
  4. NLP Models
  5. Computer Vision Models

Language Models

This category includes both closed-source and open-source large language models.

Closed-source Models (Always Active)

  • GPT-3 and GPT-4 by OpenAI
  • Gemini by Google
  • Claude by Anthropic

Open-source Models (Optional Activation)

  • Llama-2-7b
  • Llama-3-8b
  • Falcon-7b
  • Mistral-7b

Instruction Models

This category hosts custom fine-tuned models created by users through instruction fine-tuning.

Tabular Models

Models specifically designed for tabular data processing and analysis.

NLP Models

Models geared towards natural language processing tasks beyond standard language models.

Computer Vision Models

Models specialized in computer vision tasks like image classification, object detection, and segmentation.

Benefits of the Model Garden

  1. Centralized Access: One-stop location for all available AI models.
  2. Flexibility: Choose and switch between different models based on specific needs.
  3. Resource Optimization: Activate only the models you need, optimizing resource usage.
  4. Custom Solutions: Integrate and use personally fine-tuned models alongside pre-trained ones.
  5. Easy Comparison: Compare the performance of different models for various tasks.
  6. Custom Model Registration: Easily register and utilize your own machine learning models.

Use Cases

  1. Multi-model Chatbots:

    • Activate multiple language models to create chatbots that can leverage different models' strengths.
    • Example: Use GPT-4 for complex queries and Llama-2-7b for faster, simpler responses.
  2. Specialized AI Assistants:

    • Utilize instruction-tuned models for domain-specific applications.
    • Example: Create a legal assistant using a model fine-tuned on legal documents and case laws.
  3. Model Experimentation:

    • Toggle between different models to compare their performance on specific tasks.
    • Example: Test how different open-source models handle sentiment analysis compared to closed-source options.
  4. Resource-Efficient Deployments:

    • Activate only necessary models for each project or deployment.
    • Example: Use lightweight models for mobile applications and more powerful models for desktop environments.
  5. Custom Model Interaction:

    • Register and test user-provided machine learning models.
    • Example: Upload a custom NLP model for text classification and use it within the Playground for predictions.

Best Practices

  1. Strategic Model Selection: Choose models based on the specific requirements of your task or project.
  2. Regular Evaluation: Periodically assess the performance of activated models to ensure they meet your needs.
  3. Balanced Usage: Combine closed-source and open-source models to balance performance and cost.
  4. Custom Model Management: Regularly update and refine your custom instruction models based on new data and feedback.
  5. Performance Monitoring: Keep track of model performance metrics to optimize your AI applications.

Integration with Other Features

The Model Garden integrates seamlessly with other AI Studio capabilities:

  • CHAT: Use activated models directly in chat interactions.
  • Integrations: Deploy selected models in chatbots or API endpoints.
  • Fine-tuning: Create custom instruction models that appear in the Instruction Models category.
  • Playground: Register and test custom models, compare models, and conduct API testing.

Playground Sub-features

Compare Models

  1. Compare Two Models:
    • Select two language or instruction models.
    • Ask a query and receive responses from both models.
    • Compare the responses to evaluate their performance and suitability for your needs.

Model API Testing

  1. Custom Model Interaction:
    • Register your own machine learning models, including NLP, tabular, and computer vision models.
    • Interact with these models by providing input data and receiving predictions, classifications, or forecasts.
    • Use this feature to test and validate your custom models before deploying them in production.

Limitations and Considerations

  • Activation of certain models may impact billing or resource allocation.
  • Performance may vary between different models, especially between closed-source and open-source options.
  • Custom fine-tuned models require maintenance and periodic retraining for optimal performance.
  • Not all models may be suitable for all types of tasks or data.

Custom Model Fine-tuning

Users can create custom instruction models through fine-tuning:

  1. Upload a CSV file with three columns: input, instruction, and output.
  2. Fine-tune a base language model using this data.
  3. Access the resulting model in the Instruction Models category of the Model Garden.

These custom models can be activated and used just like pre-configured models across AI Studio features.

For detailed instructions on activating models, fine-tuning custom models, and integrating them into your projects, please refer to our Tutorials section.