Charts are very popular for analyzing data, visualizing key insights and answering complex reasoning questions about data. To facilitate chart-based data analysis using natural language, several downstream tasks have been introduced recently such as chart question answering and chart summarization. However, most of the methods that solve these tasks use pretraining on language or vision-language tasks that do not attempt to explicitly model the structure of the charts (e.g., how data is visually encoded and how chart elements are related to each other). To address this, we first build a large corpus of charts covering a wide variety of topics and visual styles. We then present UniChart, a pretrained model for chart comprehension and reasoning. UniChart encodes the relevant text, data, and visual elements of charts and then uses a chart-grounded text decoder to generate the expected output in natural language. We propose several chart-specific pretraining tasks that include: (i) low-level tasks to extract the visual elements (e.g., bars, lines) and data from charts, and (ii) high-level tasks to acquire chart understanding and reasoning skills. We find that pretraining the model on a large corpus with chart-specific low- and high-level tasks followed by finetuning on three down-streaming tasks results in state-of-the-art performance on three downstream tasks.
Web Demo
If you wish to quickly try our models, you can access our public web demoes hosted on the Hugging Face Spaces platform with a friendly interface!
Tasks
Web Demo
Base Model (Best for Chart Summarization and Data Table Generation)
Please cite our paper if you use our models or dataset in your research.
@misc{masry2023unichart,
title={UniChart: A Universal Vision-language Pretrained Model for Chart Comprehension and Reasoning},
author={Ahmed Masry and Parsa Kavehzadeh and Xuan Long Do and Enamul Hoque and Shafiq Joty},
year={2023},
eprint={2305.14761},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of ahmed-masry unichart-base-960 on huggingface.co
184
Total runs
-1
24-hour runs
5
3-day runs
3
7-day runs
45
30-day runs
More Information About unichart-base-960 huggingface.co Model
unichart-base-960 huggingface.co is an AI model on huggingface.co that provides unichart-base-960's model effect (), which can be used instantly with this ahmed-masry unichart-base-960 model. huggingface.co supports a free trial of the unichart-base-960 model, and also provides paid use of the unichart-base-960. Support call unichart-base-960 model through api, including Node.js, Python, http.
unichart-base-960 huggingface.co is an online trial and call api platform, which integrates unichart-base-960's modeling effects, including api services, and provides a free online trial of unichart-base-960, you can try unichart-base-960 online for free by clicking the link below.
ahmed-masry unichart-base-960 online free url in huggingface.co:
unichart-base-960 is an open source model from GitHub that offers a free installation service, and any user can find unichart-base-960 on GitHub to install. At the same time, huggingface.co provides the effect of unichart-base-960 install, users can directly use unichart-base-960 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.