Image-to-Text
Transformers
Safetensors
qwen2_5_vl
image-text-to-text
OCR
vision-language
VLM
Reasoning
document-to-markdown
qwen2.5
markdown
extraction
RAG
text-generation-inference
Instructions to use numind/NuMarkdown-8B-Thinking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use numind/NuMarkdown-8B-Thinking with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="numind/NuMarkdown-8B-Thinking")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("numind/NuMarkdown-8B-Thinking") model = AutoModelForMultimodalLM.from_pretrained("numind/NuMarkdown-8B-Thinking", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -163,7 +163,7 @@ Pàgina 2 de 2
|
|
| 163 |
</answer>
|
| 164 |
```
|
| 165 |
|
| 166 |
-
## Quick start:
|
| 167 |
|
| 168 |
## vLLM:
|
| 169 |
```
|
|
@@ -209,6 +209,8 @@ reasoning = chat_response.choices[0].message.content.split("<thining>")[1].split
|
|
| 209 |
answer = chat_response.choices[0].message.content.split("<answer>")[1].split("</answer>")[0]
|
| 210 |
```
|
| 211 |
|
|
|
|
|
|
|
| 212 |
```python
|
| 213 |
from __future__ import annotations
|
| 214 |
|
|
|
|
| 163 |
</answer>
|
| 164 |
```
|
| 165 |
|
| 166 |
+
## Quick start:
|
| 167 |
|
| 168 |
## vLLM:
|
| 169 |
```
|
|
|
|
| 209 |
answer = chat_response.choices[0].message.content.split("<answer>")[1].split("</answer>")[0]
|
| 210 |
```
|
| 211 |
|
| 212 |
+
|
| 213 |
+
## 🤗 Transformers:
|
| 214 |
```python
|
| 215 |
from __future__ import annotations
|
| 216 |
|