How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "CreitinGameplays/ConvAI-9b" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "CreitinGameplays/ConvAI-9b",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "CreitinGameplays/ConvAI-9b" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "CreitinGameplays/ConvAI-9b",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

ConvAI-9b: A Conversational AI Model

img

1. Model Details

  • Model Name: ConvAI-9b
  • Authors: CreitinGameplays
  • Date: April 18th, 2024

2. Model Description

ConvAI-9b is a fine-tuned conversational AI model with 9 billion parameters. It is based on the following models:

3. Training Data

The model was fine-tuned on a custom dataset of conversations between an AI assistant and a user. The dataset format followed a specific structure:

<|system|> (system prompt, e.g.: You are a helpful AI language model called ChatGPT, your goal is helping users with their questions) </s> <|user|> (user prompt) </s>

4. Intended Uses

ConvAI-9b is intended for use in conversational AI applications, such as:

  • Chatbots
  • Virtual assistants
  • Interactive storytelling
  • Educational tools

5. Limitations

  • Like any other language model, ConvAI-9b may generate incorrect or misleading responses.
  • It may exhibit biases present in the training data.
  • The model's performance can be affected by the quality and format of the input text.

6. Evaluation

Metrics Value
ARC 57.50
HellaSwag 80.34
TruthfulQA 49.54
Winogrande 76.24

More detailed evaluation here

Downloads last month
13
Safetensors
Model size
9B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for CreitinGameplays/ConvAI-9b

Finetuned
(147)
this model
Quantizations
2 models

Dataset used to train CreitinGameplays/ConvAI-9b

Collection including CreitinGameplays/ConvAI-9b