Skip to content

lastmansleeping/TableLingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TableLingo

A Data-to-Text Generation Library built on top of Huggingface Transformers and Datasets

Docs

Setup

pip install -r requirements.txt

Datasets currently supported

Models currently supported

  • BART
  • T5
  • Roberta2Roberta shared
  • Bert2Bert shared
  • Bert2GPT

Linearization strategies

  1. <TRIPLE>...</TRIPLE> <TRIPLE>...</TRIPLE> ..... <TRIPLE>...</TRIPLE>
  2. permutations of strategy 0 with permutations controlled by max_permutations
  3. hierarchical linearization of triple
  4. hierarchical linearization of triple with permutations

Training and Evaluation

bash train.sh

or

python pipeline/main.py \
--data_dir ../data/dart/data/v1.1.1/ \
--dataset DART \
--linearize True \
--linearize_strategy 0 \
--run_id test \
--model BART \
--batch_size 16 \
--use_mixed_precision True \
--num_epochs 1 \
--overwrite True

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published