Chaiverse
  • Welcome to Chaiverse!
  • Quick Start
  • Prompting Guide
  • Rewards model
  • Blending Models
  • Getting Feedback
  • Talking to your model
  • Deactivating your Model
  • Leaderboard
  • 🤑Model Competition
  • How everything Works
    • 🤑Model Competition Explained
    • Rewards Model Explained
    • Prompt Guiding Explained
    • What we do with your model
Powered by GitBook
On this page
  • Get your Dev Key
  • Install the library
  • Now you must authenticate yourself
  • Great You're Ready to Submit your first Model!
  • Great now you're ready to move on!

Quick Start

The basic overview of getting familiar with chaiverse and submitting your first model

PreviousWelcome to Chaiverse!NextPrompting Guide

Last updated 1 year ago

Get your Dev Key

Please check your dm when your join discord.gg/chai-llm to get your key!

Install the library

Now, you will have to install the chaiverse package to submit your first model

# Install via pip
pip install chaiverse
import chaiverse as chai

Good to know: You may need to install pydantic==1.10.8 if importing chaiverse throws an error

Now you must authenticate yourself

chai.developer_login('your_token')

Great You're Ready to Submit your first Model!

Simply submit your model using the chai package

import chaiverse as chai

model_url = "ChaiML/phase2_winner_13b2" # Your model URL

generation_params = {
    'temperature': 0.99,
    'top_p': 0.2,
    "top_k": 40,
    "stopping_words": ['\n'],
    "presence_penalty": 0.5,
    "frequency_penalty": 0.5,
    "max_input_tokens": 1024,
    "best_of": 4
    }
submission_parameters = {'model_repo': model_url, 'generation_params': generation_params, 'model_name': 'my-awesome-llama'}

submitter = chai.ModelSubmitter(verbose=True)
submission_id = submitter.submit(submission_parameters)

Currently, only 2 models are allowed to be deployed at a time.

Great now you're ready to move on!

Deactivating your Model
Google Colaboratory
Submit a model in < 10 minutes with Chaiverse Jupyter Notebook Quickstart
Logo