This repository is a one-stop resource for finetuning Google's Pix2struct modelPix2Struct:Paper, evaluating its performance on a custom dataset derived from Chart-to-Text:Paper, and diving into charts' caption generation via GraphSay class, which forms the basis for an upcoming Chart-Captioning library. Find samples here!
./dataset: Contains the datasets required for training and evaluating the model../training: Includes resources and guidelines for finetuning Google's Pix2struct model../evaluation: Provides tools for evaluating the trained model and analyzing its performance../library: Introduces the GraphSay class with use cases, setting the stage for a future chart captioning library.
The ./dataset directory contains all the necessary tools and instructions to prepare the dataset for training and evaluation. Detailed steps and requirements are outlined in the README within this directory.
The ./training directory contains all the necessary tools and instructions for training your pix2struct model. Detailed steps and requirements are outlined in the README within this directory.
Once your model is trained, you can evaluate its performance using the resources in the ./evaluation directory. The README in this section explains how to use the provided notebook for evaluation purposes.
The ./GraphSay directory is dedicated to the GraphSay class, showcasing its capabilities and potential as the foundation for a future library. Explore various use cases supported by GraphSay in the interactive Python notebook provided. You can easily find the example of this library with ./example.ipynb here
To get started with this repository, clone it to your local machine and navigate to the specific directories for detailed guidelines and instructions. Ensure you meet the prerequisites for each section before proceeding with training, evaluation, or visualization tasks.
- Dataset & Evaluation | Chart-to-Text:Paper, Chart-to-Text:Code
- Model | Pix2Struct:Paper
Contributions are welcome! Please read the contribution guidelines before starting any work.
Distributed under the MIT License. See LICENSE for more information.
Orestis Oikonomou (oroikono), Hyeongkyun Kim (hk-kaden-kim)
*This project is part of the course '23HS CL Essentials of Text and Speech Processing' in University of Zürich
