Daemontatox / R1_v_7b

huggingface.co
Total runs: 23
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: March 10 2025
image-text-to-text

Introduction of R1_v_7b

Model Details of R1_v_7b

R1-Onevision

[📂 GitHub] [📝 Report] [🤗 HF Dataset] [🤗 Reasoning Benchmark] [🤗 HF Demo]

Model Overview

This is a multimodal large language model fine-tuned from Qwen2.5-VL on the R1-Onevision dataset. The model enhances vision-language understanding and reasoning capabilities, making it suitable for various tasks such as visual reasoning, image understanding. With its robust ability to perform multimodal reasoning, R1-Onevision emerges as a powerful AI assistant capable of addressing a wide range of problem-solving challenges across different domains.

Training Configuration and Curve
  • Framework: The training process uses the open-source LLama-Factory library, with Qwen2.5-VL-Instruct as the base model. This model comes in three variants: 3B, 7B, and 32B.
  • Parameters: For efficiency, we use a resolution of 518 for image inputs to save GPU memory. The training follows a full model SFT (Supervised Fine-Tuning) approach with a learning rate of 1e-5, trained for one epoch.

The training configuration is as follows:

image_resolution: 518
cutoff_len: 8192
per_device_train_batch_size: 1
gradient_accumulation_steps: 16
learning_rate: 1.0e-5

num_train_epochs: 1.0
lr_scheduler_type: cosine
warmup_ratio: 0.05
bf16: true
flash_attn: fa2

Training loss curve:

Usage

You can load the model using the Hugging Face transformers library:

from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
import torch
from qwen_vl_utils import process_vision_info

MODEL_ID = "Fancy-MLLM/R1-Onevision-7B"
processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
    MODEL_ID,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16
).to("cuda").eval()

messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "image": "<your image path>"},
            {"type": "text", "text": "Hint: Please answer the question and provide the final answer at the end. Question: Which number do you have to write in the last daisy?"},
        ],
    }
]

# Preparation for inference
text = processor.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True
)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
    text=[text],
    images=image_inputs,
    videos=video_inputs,
    padding=True,
    return_tensors="pt",
)
inputs = inputs.to(model.device)

generated_ids = model.generate(**inputs, max_new_tokens=4096)
generated_ids_trimmed = [
    out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
    generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)
print(output_text)
Ongoing Work
  1. Rule-Based Reinforcement Learning (RL)

    We are actively exploring the integration of rule-based systems into reinforcement learning to enhance the agent's decision-making process. This approach combines domain-specific rules with the learning process, aiming to improve the efficiency and safety of learning in complex environments.

  2. Training with General Data and Multimodal Reasoning CoT

    Our ongoing work includes expanding the training datasets by incorporating more general data alongside multimodal reasoning Chain-of-Thought (CoT) data. This will enable the model to benefit from a broader range of information, enhancing its ability to handle diverse reasoning tasks across various domains.

  3. Incorporating Chinese Multimodal Reasoning CoT Data

    We are also focused on integrating Chinese multimodal reasoning CoT data into the training process. By adding this language-specific dataset, we aim to improve the model’s capability to perform reasoning tasks in Chinese, expanding its multilingual and multimodal reasoning proficiency.

  4. Release of the 3B Model

    We are working on the release of a smaller, more efficient 3B model, which is designed to provide a balance between performance and resource efficiency. This model aims to deliver strong multimodal reasoning capabilities while being more accessible and optimized for environments with limited computational resources, offering a more compact alternative to the current 7B model.

Institution

  • Zhejiang University
Model Contact

Runs of Daemontatox R1_v_7b on huggingface.co

23
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About R1_v_7b huggingface.co Model

More R1_v_7b license Visit here:

https://choosealicense.com/licenses/apache-2.0

R1_v_7b huggingface.co

R1_v_7b huggingface.co is an AI model on huggingface.co that provides R1_v_7b's model effect (), which can be used instantly with this Daemontatox R1_v_7b model. huggingface.co supports a free trial of the R1_v_7b model, and also provides paid use of the R1_v_7b. Support call R1_v_7b model through api, including Node.js, Python, http.

Daemontatox R1_v_7b online free

R1_v_7b huggingface.co is an online trial and call api platform, which integrates R1_v_7b's modeling effects, including api services, and provides a free online trial of R1_v_7b, you can try R1_v_7b online for free by clicking the link below.

Daemontatox R1_v_7b online free url in huggingface.co:

https://huggingface.co/Daemontatox/R1_v_7b

R1_v_7b install

R1_v_7b is an open source model from GitHub that offers a free installation service, and any user can find R1_v_7b on GitHub to install. At the same time, huggingface.co provides the effect of R1_v_7b install, users can directly use R1_v_7b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

R1_v_7b install url in huggingface.co:

https://huggingface.co/Daemontatox/R1_v_7b

Url of R1_v_7b

Provider of R1_v_7b huggingface.co

Daemontatox
ORGANIZATIONS

Other API from Daemontatox

huggingface.co

Total runs: 306
Run Growth: 0
Growth Rate: 0.00%
Updated:October 27 2024
huggingface.co

Total runs: 149
Run Growth: 0
Growth Rate: 0.00%
Updated:February 24 2025
huggingface.co

Total runs: 71
Run Growth: 0
Growth Rate: 0.00%
Updated:July 14 2024
huggingface.co

Total runs: 69
Run Growth: 0
Growth Rate: 0.00%
Updated:June 30 2024
huggingface.co

Total runs: 68
Run Growth: 0
Growth Rate: 0.00%
Updated:July 15 2024
huggingface.co

Total runs: 66
Run Growth: 31
Growth Rate: 46.97%
Updated:October 21 2025
huggingface.co

Total runs: 64
Run Growth: 0
Growth Rate: 0.00%
Updated:July 13 2024
huggingface.co

Total runs: 64
Run Growth: 0
Growth Rate: 0.00%
Updated:July 11 2024
huggingface.co

Total runs: 48
Run Growth: 0
Growth Rate: 0.00%
Updated:July 15 2024
huggingface.co

Total runs: 33
Run Growth: 0
Growth Rate: 0.00%
Updated:July 14 2024
huggingface.co

Total runs: 32
Run Growth: 0
Growth Rate: 0.00%
Updated:December 22 2024
huggingface.co

Total runs: 32
Run Growth: 0
Growth Rate: 0.00%
Updated:July 10 2024
huggingface.co

Total runs: 30
Run Growth: 0
Growth Rate: 0.00%
Updated:July 10 2024
huggingface.co

Total runs: 28
Run Growth: 0
Growth Rate: 0.00%
Updated:July 02 2024
huggingface.co

Total runs: 27
Run Growth: 0
Growth Rate: 0.00%
Updated:July 15 2024
huggingface.co

Total runs: 25
Run Growth: 0
Growth Rate: 0.00%
Updated:July 11 2024
huggingface.co

Total runs: 24
Run Growth: 0
Growth Rate: 0.00%
Updated:January 01 2025
huggingface.co

Total runs: 19
Run Growth: 0
Growth Rate: 0.00%
Updated:July 08 2024