Run this model with HF Jobs

Run Coobiw/ChartMoE_Reproduced on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Coobiw/ChartMoE_Reproduced. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Coobiw/ChartMoE_Reproduced on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Coobiw/ChartMoE_Reproduced. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Coobiw/ChartMoE_Reproduced. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

This is a reproduction of ChartMoE according to its official github repo, which has better performance on ChartQA(with/without PoT).

ChartMoE

ICLR2025 Oral

ChartMoE is a multimodal large language model with Mixture-of-Expert connector, based on InternLM-XComposer2 for advanced chart 1)understanding, 2)replot, 3)editing, 4)highlighting and 5)transformation.

Import from Transformers

To load the ChartMoE model using Transformers, use the following code:

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
ckpt_path = "IDEA-FinAI/chartmoe"
tokenizer = AutoTokenizer.from_pretrained(ckpt_path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(ckpt_path, trust_remote_code=True).half().cuda().eval()

Quickstart & Gradio Demo

We provide a simple example and a gradio webui demo to show how to use ChartMoE. Please refer to https://github.com/IDEA-FinAI/ChartMoE.

Open Source License

The code is licensed under Apache-2.0.

Downloads last month
19
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including Coobiw/ChartMoE_Reproduced

Paper for Coobiw/ChartMoE_Reproduced