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 "BreadAi/gpt-YA-1-1_70M" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "BreadAi/gpt-YA-1-1_70M",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
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 "BreadAi/gpt-YA-1-1_70M" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "BreadAi/gpt-YA-1-1_70M",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 25.64
ARC (25-shot) 22.53
HellaSwag (10-shot) 27.37
MMLU (5-shot) 25.38
TruthfulQA (0-shot) 47.09
Winogrande (5-shot) 50.91
GSM8K (5-shot) 0.0
DROP (3-shot) 6.18
Downloads last month
62
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train BreadAi/gpt-YA-1-1_70M

Spaces using BreadAi/gpt-YA-1-1_70M 29