Text Generation
Transformers
Safetensors
English
qwen2
fact-verification
claim-verification
reasoning
grpo
lora
decomposition
conversational
text-generation-inference
Instructions to use dipta007/decomposeRL-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dipta007/decomposeRL-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dipta007/decomposeRL-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("dipta007/decomposeRL-7b") model = AutoModelForCausalLM.from_pretrained("dipta007/decomposeRL-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 dipta007/decomposeRL-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dipta007/decomposeRL-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": "dipta007/decomposeRL-7b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dipta007/decomposeRL-7b
- SGLang
How to use dipta007/decomposeRL-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 "dipta007/decomposeRL-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": "dipta007/decomposeRL-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 "dipta007/decomposeRL-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": "dipta007/decomposeRL-7b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use dipta007/decomposeRL-7b with Docker Model Runner:
docker model run hf.co/dipta007/decomposeRL-7b
Commit History
-
Fix Highlights accuracy to match results table (macro 86.3, micro 84.4) (#2)
- Fix Highlights accuracy to match results table (macro 86.3, micro 84.4) (ccd85b910ec6f9dd42ccbae6f4c62edc4811f3bd)49fe91c -
Update README: real arXiv link (2605.27858) + add citation (#1)
- Update README: real arXiv link (2605.27858) + add citation (70675272e6534fa798abe96ab33bcee2447496dc) - Use official arXiv paper title in citation (c70ef5c89f4efab939d115b8b7ad4d91009245cf)0d0bffb
-
Update
Verified signature70ca118 -
Update
Verified signature54b21c8 -
Update README
Verified signaturedf8336a -
Update README
Verified signature257b03c -
Add in-domain baseline comparison table
Verified signature910375e -
Trim example to 2 iterations with per-iter think blocks
Verified signature663efe3 -
Update model card: 7 rewards, OOD coverbench, pretty-print helper, fix max-len
Verified signature486896f -
Add detailed model card
Verified signature188754b -
(Trained with Unsloth)
Verified signaturef5bcc44 -
(Trained with Unsloth)
Verified signature710d849 -
(Trained with Unsloth)
Verified signatured78f621 -
(Trained with Unsloth)
Verified signature1260b12 -
(Trained with Unsloth)
Verified signatured92bbbd -
(Trained with Unsloth)
Verified signature336eb36 -
Unsloth Model Card
Verified signature81a8ce8 -
initial commit
Verified signature740bc31