Text Generation
Transformers
Safetensors
English
qwen2
scientific-discovery
hypothesis-generation
conversational
text-generation-inference
Instructions to use ZonglinY/MOOSE-Star-HC-R1D-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZonglinY/MOOSE-Star-HC-R1D-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ZonglinY/MOOSE-Star-HC-R1D-7B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ZonglinY/MOOSE-Star-HC-R1D-7B") model = AutoModelForCausalLM.from_pretrained("ZonglinY/MOOSE-Star-HC-R1D-7B", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ZonglinY/MOOSE-Star-HC-R1D-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZonglinY/MOOSE-Star-HC-R1D-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZonglinY/MOOSE-Star-HC-R1D-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ZonglinY/MOOSE-Star-HC-R1D-7B
- SGLang
How to use ZonglinY/MOOSE-Star-HC-R1D-7B 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 "ZonglinY/MOOSE-Star-HC-R1D-7B" \ --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": "ZonglinY/MOOSE-Star-HC-R1D-7B", "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 "ZonglinY/MOOSE-Star-HC-R1D-7B" \ --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": "ZonglinY/MOOSE-Star-HC-R1D-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ZonglinY/MOOSE-Star-HC-R1D-7B with Docker Model Runner:
docker model run hf.co/ZonglinY/MOOSE-Star-HC-R1D-7B
Commit History
-
Add copy-paste IR/HC prompt examples (TOMATO-Star Oct 2025 test case)
Verified signature765acee -
Embed chat_template into tokenizer_config.json for vLLM/inference-provider compatibility
Verified signature1d564cd
-
Upload README.md with huggingface_hub
Verified signature4157ec7 -
Upload README.md with huggingface_hub
Verified signature563db59 -
Upload README.md with huggingface_hub
Verified signatureb3330af -
Upload README.md with huggingface_hub
Verified signature58f33b2 -
Upload README.md with huggingface_hub
Verified signature0175ad2 -
Upload README.md with huggingface_hub
Verified signature1e7b662
-
Add library_name metadata and link to code (#1)
- Add library_name metadata and link to code (edd6256afc15720dc8625d4a8a1e473d45642c5c) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>888e017
-
Update arxiv link to 2603.03756
Verified signature8c73782
-
Fix prompt format: unify to delta output format, remove incorrect normal composition section
Verified signaturee6689d6 -
Update model card: fix epochs (1), usage code (prompt_store.py, dtype=auto, add_generation_prompt=False), output format, add full prompt details block
Verified signatureafcec2b
-
Update README: add prompt format, fix eval numbers, update cross-references
Verified signature5a17351 -
Update README with new repo/model names
Verified signatureb60838e
-
Add chat_template.jinja
Verified signature019c8bb -
Add tokenizer_config.json
Verified signature6b10642 -
Add tokenizer.json
Verified signature35b57f3 -
Add special_tokens_map.json
Verified signature3b56ab6 -
Add model.safetensors.index.json
Verified signature84600f7 -
Add model-00004-of-00004.safetensors
Verified signature3490ef9 -
Add model-00003-of-00004.safetensors
Verified signatureeb37a38 -
Add model-00002-of-00004.safetensors
Verified signature87109a4 -
Add model-00001-of-00004.safetensors
Verified signature4dc8bc1 -
Add generation_config.json
Verified signature8fa9f84 -
Add config.json
Verified signatureca8aa3d -
Add Model Card
Verified signature3101968 -
initial commit
Verified signature53095a8