Instructions to use chengjunyan1/oss-skills-init-minecraft-sft1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chengjunyan1/oss-skills-init-minecraft-sft1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="chengjunyan1/oss-skills-init-minecraft-sft1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("chengjunyan1/oss-skills-init-minecraft-sft1") model = AutoModelForMultimodalLM.from_pretrained("chengjunyan1/oss-skills-init-minecraft-sft1", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use chengjunyan1/oss-skills-init-minecraft-sft1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "chengjunyan1/oss-skills-init-minecraft-sft1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "chengjunyan1/oss-skills-init-minecraft-sft1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/chengjunyan1/oss-skills-init-minecraft-sft1
- SGLang
How to use chengjunyan1/oss-skills-init-minecraft-sft1 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 "chengjunyan1/oss-skills-init-minecraft-sft1" \ --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": "chengjunyan1/oss-skills-init-minecraft-sft1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "chengjunyan1/oss-skills-init-minecraft-sft1" \ --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": "chengjunyan1/oss-skills-init-minecraft-sft1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use chengjunyan1/oss-skills-init-minecraft-sft1 with Docker Model Runner:
docker model run hf.co/chengjunyan1/oss-skills-init-minecraft-sft1
chengjunyan1/oss-skills-init-minecraft-sft1
MC-SFT1, step 309: the Minecraft supervised warm-up of Qwen3.5-9B that is the initialization of every Minecraft
RL row in Growing Agent Skill Libraries as Open-Source Projects (paper reference to be added at publication). The
RL rows trained from it are released as chengjunyan1/oss-skills-minecraft-direct-rl-s{1,2},
chengjunyan1/oss-skills-minecraft-aspire-rl-s1 and chengjunyan1/oss-skills-minecraft-aspire-oss-rl-s1; their
exact training states are in the dataset chengjunyan1/oss-skills-train-states. This repo holds the checkpoint
exactly as saved (fp32), so that new RL runs can start from the paper's init.
How it was made
- Base:
Qwen/Qwen3.5-9B(instruct) at revisionc202236235762e1c871ad0ccb60c8ee5ba337b9a, thinking off. - Data: verified-successful Minecraft episodes written by Claude Opus 5.5 through the paper's Minecraft service
(MINDcraft engine, Mineflayer JavaScript programs, single-agent and two-agent team tasks) on the composed training
pools, minus their holdout clusters and screened against the TEST registry; episodes whose executions ran longer
than their task's time tier were dropped. 3,317 train / 175 validation rows (524 / 174 tasks), at most 12 episodes
per task, deduplicated; 2,797,188 trained tokens in train. Every system prompt carries the fixed seed guide set
mc_seed_v2. Exact files:q35_mcl_sft1_train.parquet/q35_mcl_sft1_val.parquet(built withq35_mcl_sft1.meta.json; max length 32,768 tokens, 2,048 trained tokens per turn, 6,144 per episode). The public datasetchengjunyan1/levo-datasets(minecraft/sft/) holds smaller tables of the same names; they are not byte-identical to the training files. - Recipe: SFT1's recipe: verl 0.9.1 SFT trainer (FSDP, 8 x H100), 3 epochs = 309 steps, learning rate 1e-5 with
cosine decay (warm-up ratio 0.03), global batch 32, max length 32,768; loss on the assistant turns only, chat template rendered with
enable_thinking=False(the token stream GRPO trains and TEST serves). - Selection: step 309 (epoch 3, the final save) is the init (
MODEL_PATH) of every Minecraft GRPO run of the paper (313 RL tasks, 8 prompts x 8 rollouts per step, 300 steps; see the RL repos' cards). - Code: private repository
cap-x-levo(mc/andlevo/); the RL code commits per row are listed in the train-states dataset card.
Files (as saved by the trainer; the weights are fp32)
model.safetensors holds 760 F32 tensors, 9,409,813,744 parameters (the base architecture without its 15
multi-token-prediction tensors; vision tower included, the policy is used text-only). vocab.json, merges.txt and
preprocessor_config.json were copied from the base snapshot by the training wrapper. LICENSE is the base model's
file, unchanged.
| file | bytes | sha256 |
|---|---|---|
chat_template.jinja |
7,756 | a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 |
config.json |
2,940 | 6ea91b42898b655d1d15e85c080fb9f8bd3b27c4bc9a218da9e08809cc678af7 |
generation_config.json |
204 | 3e14ee23e4e895f7269ab239af55b56f83037b172894747ec183fde48dc840d4 |
merges.txt |
3,353,259 | a9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d |
model.safetensors |
37,639,349,416 | d3557a00eb22519d65dcf3e1c655d60d4dde77f2f57f59b8b728c9b99d7abcda |
preprocessor_config.json |
390 | 27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516 |
processor_config.json |
1,192 | c5a9103c1eacb9dd3452601ffc3e29734c38aa9e4035b2246844d127c0ddfde8 |
tokenizer.json |
19,989,325 | 06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523 |
tokenizer_config.json |
1,164 | 7488550a894dcf741616126e322ea31d66cf9457b59ec5825f4c7efdced421f8 |
vocab.json |
6,722,759 | ce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003 |
LICENSE |
11,544 | bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a |
Source: the training run's save levo-sft/q35-mcl-sft1/global_step_309/huggingface/ (cluster filer); every file's size and CRC32C were checked against its copy in the project's GCS bucket before upload.
How to load
pip install -U vllm # a release that supports Qwen3.5
vllm serve chengjunyan1/oss-skills-init-minecraft-sft1 --language-model-only --dtype bfloat16 --max-model-len 32768
from huggingface_hub import snapshot_download
from transformers import AutoTokenizer, AutoModelForImageTextToText # same classes as Qwen/Qwen3.5-9B
path = snapshot_download("chengjunyan1/oss-skills-init-minecraft-sft1")
tok = AutoTokenizer.from_pretrained(path)
model = AutoModelForImageTextToText.from_pretrained(path, dtype="bfloat16", device_map="auto")
For RL with the paper's recipe, point the training wrapper's MODEL_PATH at the downloaded folder.
License
Apache-2.0. A derivative of Qwen/Qwen3.5-9B (Apache-2.0) at the revision above, modified by supervised
fine-tuning; LICENSE is the base model's license file, unchanged.
- Downloads last month
- 8