ASIL Models
Collection
Model repositories for the ASIL paper release. Final checkpoints are pending transfer from the training server. • 4 items • Updated
How to use sharryXR/asil-qwen35-2b-rl with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="sharryXR/asil-qwen35-2b-rl")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("sharryXR/asil-qwen35-2b-rl")
model = AutoModelForCausalLM.from_pretrained("sharryXR/asil-qwen35-2b-rl", device_map="auto")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))How to use sharryXR/asil-qwen35-2b-rl with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "sharryXR/asil-qwen35-2b-rl"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "sharryXR/asil-qwen35-2b-rl",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/sharryXR/asil-qwen35-2b-rl
How to use sharryXR/asil-qwen35-2b-rl with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "sharryXR/asil-qwen35-2b-rl" \
--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": "sharryXR/asil-qwen35-2b-rl",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'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 "sharryXR/asil-qwen35-2b-rl" \
--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": "sharryXR/asil-qwen35-2b-rl",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use sharryXR/asil-qwen35-2b-rl with Docker Model Runner:
docker model run hf.co/sharryXR/asil-qwen35-2b-rl
This repository contains the ASIL v0.1.0 paper release checkpoint for ASIL Qwen3.5-2B RL.
v0.1.0global_step_8_actor_hf/public/LLM_model_dataset/rl_temp/asil_operational_benchmark_a100_20260514_144617/results/rl/qwen35_2b_agentic_a800/qwen35_2b_rl_vllm_round3_final_small4_306039_20260519_114747/checkpoints/global_step_8_actor_hf/public/home/sjtu_normal/users/xierui/asil_sft_rl_a100_20260513_173133/results/sft_train/qwen35_2b_sft_v0_continue3_20260514_115443/checkpoints/global_step_27rl_learnable_v4_320_80; 320 train / 80 valid task prompts2026-07-30T18:02:32+08:00The repo root contains the HF-loadable checkpoint files (config.json, tokenizer files, generation_config.json, and *.safetensors). Training-only artifacts such as optimizer state, scheduler state, trainer state, logs, caches, wandb output, and credentials are intentionally excluded.
See checkpoint_metadata.json and SHA256SUMS for provenance and file checksums.
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "sharryXR/asil-qwen35-2b-rl"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sharryXR/asil-qwen35-2b-rl", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'