Instructions to use NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR") model = AutoModelForCausalLM.from_pretrained("NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR", 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR
- SGLang
How to use NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR with 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 "NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR" \ --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": "NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR", "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 "NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR" \ --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": "NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR with Docker Model Runner:
docker model run hf.co/NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR
Qwen3-4B Calendar Agent RLVR
이 모델은 Calendar 도구를 실제로 실행한 궤적과 최종 상태를 검증하여 학습한 LoRA GRPO 병합 모델입니다.
도구 호출은 Asia/Seoul 시간대의 메모리 Calendar 환경을 대상으로 합니다.
학습 데이터는 NotoriousH2/calendar-agent-benchmark revision 54dc8aef76b3d14cd3b2a10def3c1aa0fe57dd36를 사용했습니다.
1. 사용
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
LoRA 파일과 토크나이저는 adapter/에 있습니다.
학습 설정은 training_config.json, 전체 학습 기록은 history.json에서 확인할 수 있습니다.
검증 분할의 체크포인트 선택 근거는 checkpoint_selection.json에 있습니다.
봉인된 final 분할의 비교 결과는 final_evaluation.json에 있습니다.
2. 평가
모든 모델은 봉인된 같은 final 시나리오에서 실제 도구 루프로 평가했습니다.
| 모델 | Valid Tool Call | Policy Compliance | Task Success | Average Tool Calls |
|---|---|---|---|---|
| Base | 100.0% | 84.0% | 22.8% | 0.99 |
| SFT | 100.0% | 97.8% | 97.8% | 2.25 |
| SFT + RLVR | 100.0% | 98.5% | 98.5% | 2.23 |
시나리오별 궤적과 판정 근거는 base_evaluation.json, sft_evaluation.json, rlvr_evaluation.json에 있습니다.
3. 제한
이 모델은 합성 시나리오와 메모리 Calendar 환경에서 학습했습니다. 실제 일정 서비스의 인증, 권한, 개인정보, 장애 복구를 처리하지 않습니다.
4. 실제 출력 사례
학습 단계별 실제 도구 호출, 도구 결과, 최종 응답을 선별한 사례는 learning_examples.json에 있습니다.
- Downloads last month
- -
Model tree for NotoriousH2/Qwen3-4B-Calendar-Agent-RLVR
Base model
Qwen/Qwen3-4B-Base