Image-to-Text
Transformers
Safetensors
MLX
qwen2_5_vl
image-text-to-text
OCR
vision-language
VLM
Reasoning
document-to-markdown
qwen2.5
markdown
extraction
RAG
text-generation-inference
4-bit precision
Instructions to use numind/NuMarkdown-8B-Thinking-mlx-4bits with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use numind/NuMarkdown-8B-Thinking-mlx-4bits 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-mlx-4bits")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("numind/NuMarkdown-8B-Thinking-mlx-4bits") model = AutoModelForMultimodalLM.from_pretrained("numind/NuMarkdown-8B-Thinking-mlx-4bits", device_map="auto") - MLX
How to use numind/NuMarkdown-8B-Thinking-mlx-4bits with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir NuMarkdown-8B-Thinking-mlx-4bits numind/NuMarkdown-8B-Thinking-mlx-4bits
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
File size: 797 Bytes
19bbadb 756aa9f 19bbadb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ---
license: mit
base_model: Qwen/Qwen2.5-VL-7B
new_version: numind/NuExtract3
tags:
- OCR
- vision-language
- VLM
- Reasoning
- document-to-markdown
- qwen2.5
- markdown
- extraction
- RAG
- mlx
model_name: NuMarkdown-8B-Thinking
library_name: transformers
pipeline_tag: image-to-text
---
# numind/NuMarkdown-8B-Thinking-mlx-4bits
This model was converted to MLX format from [`numind/NuMarkdown-8B-Thinking`]() using mlx-vlm version **0.3.7**.
Refer to the [original model card](https://huggingface.co/numind/NuMarkdown-8B-Thinking) for more details on the model.
## Use with mlx
```bash
pip install -U mlx-vlm
```
```bash
python -m mlx_vlm.generate --model numind/NuMarkdown-8B-Thinking-mlx-4bits --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
```
|