Skip to content

Repository files navigation

GraphSay : A Python Library for Automated Graph Captioning

Sublime's custom image

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!

Repository Structure

  • ./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.

Dataset preparation

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.

Read more about Training

Training the Model

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.

Read more about Training

Evaluating the Model

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.

Read more about Evaluation

GraphSay: Python Library

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

Read more about GraphSay

Getting Started

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.

References

Contribution

Contributions are welcome! Please read the contribution guidelines before starting any work.

License

Distributed under the MIT License. See LICENSE for more information.

Contacts

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


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages