Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
trl
openenv
harbor
agent
smoldataenvs
grpo
opencode
conversational
Eval Results (legacy)
Instructions to use FineEnvs/Qwen3.5-2B-opencode-standalone-RL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FineEnvs/Qwen3.5-2B-opencode-standalone-RL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FineEnvs/Qwen3.5-2B-opencode-standalone-RL") 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("FineEnvs/Qwen3.5-2B-opencode-standalone-RL") model = AutoModelForMultimodalLM.from_pretrained("FineEnvs/Qwen3.5-2B-opencode-standalone-RL", 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 FineEnvs/Qwen3.5-2B-opencode-standalone-RL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FineEnvs/Qwen3.5-2B-opencode-standalone-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": "FineEnvs/Qwen3.5-2B-opencode-standalone-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FineEnvs/Qwen3.5-2B-opencode-standalone-RL
- SGLang
How to use FineEnvs/Qwen3.5-2B-opencode-standalone-RL 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 "FineEnvs/Qwen3.5-2B-opencode-standalone-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": "FineEnvs/Qwen3.5-2B-opencode-standalone-RL", "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 "FineEnvs/Qwen3.5-2B-opencode-standalone-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": "FineEnvs/Qwen3.5-2B-opencode-standalone-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use FineEnvs/Qwen3.5-2B-opencode-standalone-RL with Docker Model Runner:
docker model run hf.co/FineEnvs/Qwen3.5-2B-opencode-standalone-RL
Download release_manifest.json from FineEnvs/Qwen3.5-2B-opencode-standalone-RL: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/FineEnvs/Qwen3.5-2B-opencode-standalone-RL/resolve/main/release_manifest.json
- Command line
-
hf download hf://FineEnvs/Qwen3.5-2B-opencode-standalone-RL/release_manifest.json
-
curl -L -o release_manifest.json https://huggingface.co/FineEnvs/Qwen3.5-2B-opencode-standalone-RL/resolve/main/release_manifest.json
1.3 kB
| { | |
| "repo_id": "FineEnvs/Qwen3.5-2B-opencode-standalone-RL", | |
| "revision": "main", | |
| "checkpoint_step": 1000, | |
| "base_model": "Qwen/Qwen3.5-2B", | |
| "base_revision": "15852e8c16360a2fea060d615a32b45270f8a8fc", | |
| "method": "TRL Async GRPO", | |
| "article": "https://huggingface.co/spaces/AdithyaSK/multi-harness-rl", | |
| "training_harnesses": [ | |
| "opencode" | |
| ], | |
| "files": { | |
| "model.safetensors": { | |
| "sha256": "aab351601984bb3fbe5658b81e59cf51d89acfd8d746c7f1f350b3ab12fdbcec", | |
| "bytes": 4426558864 | |
| }, | |
| "config.json": { | |
| "sha256": "64ddaedadfbcd160cded21c945dc5cfc20ccf5e98b92cb39255fd49cca4c14c9", | |
| "bytes": 2698 | |
| }, | |
| "generation_config.json": { | |
| "sha256": "88bfa3ce089e4b2e16942afc588205e37f39a56ce1685c45cb796f8576e4c0b0", | |
| "bytes": 164 | |
| }, | |
| "tokenizer.json": { | |
| "sha256": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523", | |
| "bytes": 19989325 | |
| }, | |
| "tokenizer_config.json": { | |
| "sha256": "9cf04fffe3d8c3b85e439fb35c7acad0761ab51c422a8c4256d9f887c3a0be7d", | |
| "bytes": 1125 | |
| }, | |
| "chat_template.jinja": { | |
| "sha256": "273d8e0e683b885071fb17e08d71e5f2a5ddfb5309756181681de4f5a1822d80", | |
| "bytes": 7755 | |
| } | |
| }, | |
| "tensor_count": 617, | |
| "evaluation_cells": 1000, | |
| "optimizer_state_included": false | |
| } | |