Image-to-Text
Transformers
Safetensors
English
Chinese
qwen2_5_vl
image-text-to-text
mathematical-reasoning
visual-reasoning
code-generation
qwen2.5-vl
text-generation-inference
Instructions to use gogoduan/MatPlotCode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gogoduan/MatPlotCode 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="gogoduan/MatPlotCode")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("gogoduan/MatPlotCode") model = AutoModelForMultimodalLM.from_pretrained("gogoduan/MatPlotCode", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature84e1db8
-
Update README.md
Verified signature548896c -
Add comprehensive model card for CodePlot-CoT (#1)
Verified signature- Add comprehensive model card for CodePlot-CoT (dc3586a514cf971d640f8cb775b8be00475793f2) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>ba012f0
-
Update generation_config.json
Verified signaturec1f723b -
Upload folder using huggingface_hub
Verified signature6e6548a -
initial commit
Verified signature150d016