How to use from
vLLM
# Gated model: Login with a HF token with gated access permission
hf auth login
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "lyhaaa/lyh_safetymath"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "lyhaaa/lyh_safetymath",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/lyhaaa/lyh_safetymath
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

lyh_safetymath

This model is based on Qwen/Qwen3-0.6B.

Model information

  • Base model: Qwen/Qwen3-0.6B
  • Architecture: Qwen3ForCausalLM

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "lyhaaa/lyh_safetymath"

tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for lyhaaa/lyh_safetymath

Finetuned
Qwen/Qwen3-0.6B
Finetuned
(1133)
this model