Instructions to use Ameame1002/CRAFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ameame1002/CRAFT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Ameame1002/CRAFT")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ameame1002/CRAFT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Ameame1002/CRAFT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ameame1002/CRAFT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ameame1002/CRAFT", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Ameame1002/CRAFT
- SGLang
How to use Ameame1002/CRAFT 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 "Ameame1002/CRAFT" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ameame1002/CRAFT", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Ameame1002/CRAFT" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ameame1002/CRAFT", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Ameame1002/CRAFT with Docker Model Runner:
docker model run hf.co/Ameame1002/CRAFT
Commit History
-
Keep conference badge inline in model card
Verified signaturef06e2bb -
Compact resource badges into one row
Verified signature6dd7109 -
Add arXiv citation and EMNLP 2026 main-conference acceptance
Verified signature59276c3 -
Standardize inference directory layout and model-card inventory
Verified signaturef1295a3 -
Add CRAFT logo and styled model-card header
Verified signaturee477b2d -
Rename legacy GRPO models to 0.5B_v5, 1.5B_v5 and 3B_v5
Verified signaturea30947c -
Add GRPO model GRPO_3B
Verified signature9bd1091 -
Document versioned small-model GRPO release and checkpoint provenance
Verified signatureb014a0b -
Add 3B_v4 GRPO checkpoint-312 inference files
Verified signaturebe27693 -
Add 3B_v3 GRPO checkpoint-312 inference files
Verified signature4fa8b19 -
Add 3B_v2 GRPO checkpoint-312 inference files
Verified signature3cff339 -
Add GRPO model GRPO_1.5B
Verified signature634569e -
Add 3B_v1 GRPO checkpoint-312 inference files
Verified signature0cb73ea -
Add 1.5B_v4 GRPO checkpoint-312 inference files
Verified signaturecf6bf63 -
Add 1.5B_v3 GRPO checkpoint-312 inference files
Verified signature57ba1f4 -
Add 1.5B_v2 GRPO checkpoint-312 inference files
Verified signaturef7ef1ca -
Add 1.5B_v1 GRPO checkpoint-312 inference files
Verified signature7b8286b -
Add 0.5B_v4 GRPO checkpoint-312 inference files
Verified signatureec6f56f -
Add 0.5B_v3 GRPO checkpoint-312 inference files
Verified signatureb11104a -
Add 0.5B_v2 GRPO checkpoint-312 inference files
Verified signature282da23 -
Add 0.5B_v1 GRPO checkpoint-312 inference files
Verified signature43e33fb -
Add GRPO model GRPO_0.5B
Verified signature4862ef5 -
Remove SFT checkpoints and update model card for retained GRPO models
Verified signaturef2fb6f0 -
Restore archived 7B nojudge v5 as 7B_v5
Verified signature3857e63 -
Rename 7B variants to 7B_v1 through 7B_v4
Verified signature80c7e76 -
Move 7B judge variants to 7Bv1-7Bv4 and remove nojudge variants
Verified signature28309d6 -
Add CRAFT 7B 7B/judge/v1 (#2)
- Add CRAFT 7B 7B/judge/v1 (545a7b40d2e44f5606dab23e9a658142aea7488b) - Add CRAFT 7B 7B/judge/v2 (59534d53c949f162b8b8a397d64ee7612392e05f) - Add CRAFT 7B 7B/judge/v3 (c51250b10bfe9d596527a96c1b13a459c92c9b0d) - Add CRAFT 7B 7B/judge/v4 (6b3492198235f36c68d6c6742b59b3b65c974d68) - Add CRAFT 7B 7B/nojudge/v1 (46c9b0adb0e7d00c90e6a84418deef7f14f6855e) - Add CRAFT 7B 7B/nojudge/v2 (77d6cbb09cc1fe3eb6b053edd1bd09e2d55c4f72) - Add CRAFT 7B 7B/nojudge/v3 (cc9226383b1a075d32c5d1e3a17bebf809837232) - Add CRAFT 7B 7B/nojudge/v4 (48d1c195a01bc4615ad7cb266bf23c187cafa3b7) - Add CRAFT 7B 7B/nojudge/v5 (9fcbfbd516a9a2cd6082aa79e1b06f97a3900e44) Co-authored-by: Wenxiao Zhang <moebuta@users.noreply.huggingface.co>ae6a06b
-
Add SFT checkpoint 1.5B_v5
Verified signatureeb96747 -
Add SFT checkpoint 1.5B_v4
Verified signaturef889b2d -
Add SFT checkpoint 1.5B_v3
Verified signaturefd3e694 -
Add SFT checkpoint 1.5B_v2
Verified signature82e5c24
-
Add SFT checkpoint 1.5B_v1
Verified signaturecc40c2b -
Add SFT checkpoint 0.5B_v4
Verified signature4c1c54d -
Add SFT checkpoint 0.5B_v3
Verified signature7bdc3a3 -
Add model card
Verified signatureb516ae6
-
initial commit
Verified signature8003bbe