Spaces:
Running on Zero
Running on Zero
yuhangzang commited on
Commit ยท
f6e3956
1
Parent(s): 5312367
update
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
|
|
| 6 |
|
| 7 |
MODEL_ID = "internlm/CapRL-Qwen3VL-4B"
|
| 8 |
DEFAULT_PROMPT = "Describe the image in detail."
|
| 9 |
-
MAX_NEW_TOKENS =
|
| 10 |
|
| 11 |
# Default demo content
|
| 12 |
DEFAULT_IMAGE = "./examples/1909.png"
|
|
@@ -173,8 +173,9 @@ with gr.Blocks(title="CapRL-Qwen3VL-4B Image Captioning") as demo:
|
|
| 173 |
### CapRL Series Model & Dataset
|
| 174 |
| Series | Models & Resources |
|
| 175 |
| :--- | :--- |
|
| 176 |
-
| **CapRL 2.0 Series** | [๐ค CapRL-Qwen3VL-2B](https://huggingface.co/internlm/CapRL-Qwen3VL-2B) \| [๐ค CapRL-Qwen3VL-4B](https://huggingface.co/internlm/CapRL-Qwen3VL-4B) \| [๐CapRL-Qwen3VL-4B Space](https://huggingface.co/spaces/yuhangzang/CapRL-Qwen3VL-4B)
|
| 177 |
-
| **CapRL 1.0 Series** | [๐ค CapRL-Qwen2.5VL-3B](https://huggingface.co/internlm/CapRL-3B) \| [๐ค CapRL-InternVL3.5-8B](https://huggingface.co/yuhangzang/CapRL-InternVL3.5-8B) \| [๐ CapRL-2M Dataset](https://huggingface.co/datasets/internlm/CapRL-2M) \| [๐ฆ CapRL-3B-GGUF](https://huggingface.co/mradermacher/CapRL-3B-GGUF) \| [๐ฆ CapRL-3B-i1-GGUF](https://huggingface.co/mradermacher/CapRL-3B-i1-GGUF) \| [๐CapRL-Qwen2.5VL-3B Space](https://huggingface.co/spaces/yuhangzang/caprl)
|
|
|
|
| 178 |
|
| 179 |
We are excited to release the **CapRL 2.0 series**: **CapRL-Qwen3VL-2B** and **CapRL-Qwen3VL-4B**. These models feature fewer parameters while delivering even more powerful captioning performance.
|
| 180 |
We welcome everyone to try them out!
|
|
|
|
| 6 |
|
| 7 |
MODEL_ID = "internlm/CapRL-Qwen3VL-4B"
|
| 8 |
DEFAULT_PROMPT = "Describe the image in detail."
|
| 9 |
+
MAX_NEW_TOKENS = 1536
|
| 10 |
|
| 11 |
# Default demo content
|
| 12 |
DEFAULT_IMAGE = "./examples/1909.png"
|
|
|
|
| 173 |
### CapRL Series Model & Dataset
|
| 174 |
| Series | Models & Resources |
|
| 175 |
| :--- | :--- |
|
| 176 |
+
| **CapRL 2.0 Series** | [๐ค CapRL-Qwen3VL-2B](https://huggingface.co/internlm/CapRL-Qwen3VL-2B) \| [๐ค CapRL-Qwen3VL-4B](https://huggingface.co/internlm/CapRL-Qwen3VL-4B) \| [๐ฆ CapRL-Qwen3VL-2B-GGUF](https://huggingface.co/internlm/CapRL-Qwen3VL-2B-GGUF) \| [๐ฆ CapRL-Qwen3VL-4B-GGUF](https://huggingface.co/internlm/CapRL-Qwen3VL-4B-GGUF) \| [๐CapRL-Qwen3VL-4B Space](https://huggingface.co/spaces/yuhangzang/CapRL-Qwen3VL-4B)
|
| 177 |
+
| **CapRL 1.0 Series** | [๐ค CapRL-Qwen2.5VL-3B](https://huggingface.co/internlm/CapRL-3B) \| [๐ค CapRL-InternVL3.5-8B](https://huggingface.co/yuhangzang/CapRL-InternVL3.5-8B) \| [๐ CapRL-2M Dataset](https://huggingface.co/datasets/internlm/CapRL-2M) \| [๐ฆ CapRL-3B-GGUF](https://huggingface.co/mradermacher/CapRL-3B-GGUF) \| [๐ฆ CapRL-3B-i1-GGUF](https://huggingface.co/mradermacher/CapRL-3B-i1-GGUF) \| [๐CapRL-Qwen2.5VL-3B Space](https://huggingface.co/spaces/yuhangzang/caprl)
|
| 178 |
+
|
| 179 |
|
| 180 |
We are excited to release the **CapRL 2.0 series**: **CapRL-Qwen3VL-2B** and **CapRL-Qwen3VL-4B**. These models feature fewer parameters while delivering even more powerful captioning performance.
|
| 181 |
We welcome everyone to try them out!
|