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 "shrugging-shoulders/Amberlight-12B" \
    --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": "shrugging-shoulders/Amberlight-12B",
		"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 "shrugging-shoulders/Amberlight-12B" \
        --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": "shrugging-shoulders/Amberlight-12B",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Amberlight-12B

Work in progress of an RP finetune:

  • 60% cooked
  • Pretty uncensored, but NSFW needs prompting to happen, should not refuse
  • Decent instruction following
  • Multilang
  • Writing is quite good

Known issues:

  • Kinetic storytelling style
  • Can have pacing jumps
  • Not slop-free. Less than baseline Nemo, but not perfect
  • Finetuning takes too long for the model to be good enough

Plans:

  • 2 more rounds of targeted SFT
  • 1 very long DPO
  • 1 short Online DPO

Use ChatML, temp 0.8-1, top-p 0.95 + min-p 0.025 OR top-p 0.90 + min-p 0.05. Might need some experimentation with inference params, but other than that should work fine.

Special Thanks

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

Model tree for shrugging-shoulders/Amberlight-12B

Finetuned
(2)
this model
Finetunes
1 model
Quantizations
2 models

Dataset used to train shrugging-shoulders/Amberlight-12B