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 "raincandy-u/Coder1.8-ORPO-TEST" \
    --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": "raincandy-u/Coder1.8-ORPO-TEST",
		"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 "raincandy-u/Coder1.8-ORPO-TEST" \
        --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": "raincandy-u/Coder1.8-ORPO-TEST",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Coder1.8-ORPO-TEST

Model Description

Test model for ORPO finetune method, trained on ~20k code examples for 1 epoch on 2 x A40 cards with 4-bit QLora (lora rank=lora alpha=16).

Disclaimer

This is a test model and may generate incorrect responses. Use at your own risk.

Train Details

  • Base: Qwen1.5-1.8B
  • Training Data: ~20k code examples
  • Epochs: 1
  • Method: ORPO
  • Hardware: 2 x A40
  • Quantization: 4-bit QLora
  • Lora Rank/Alpha: 16

Limitations

Limited training data and quantization may impact performance.

Join the Discussion

Have questions or feedback? Join our Discord server Here.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 45.76
AI2 Reasoning Challenge (25-Shot) 38.82
HellaSwag (10-Shot) 60.48
MMLU (5-Shot) 46.70
TruthfulQA (0-shot) 41.38
Winogrande (5-shot) 59.75
GSM8k (5-shot) 27.45
Downloads last month
12
Safetensors
Model size
2B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train raincandy-u/Coder1.8-ORPO-TEST

Evaluation results