GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - salesforce/fieldExtractor

This repository was archived by the owner on May 1, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
datasets
datasets
 
 
CODEOWNERS
CODEOWNERS
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING-ARCHIVED.md
CONTRIBUTING-ARCHIVED.md
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
datasets.py
datasets.py
 
 
evaluate.py
evaluate.py
 
 
install.sh
install.sh
 
 
main.py
main.py
 
 
models.py
models.py
 
 
setup.py
setup.py
 
 
vis_results.py
vis_results.py
 
 

Repository files navigation

Field Extraction from Forms

Introduction

This repository contains code of Field Extraction from Forms with Unlabeled Data.

Environment

CUDA="11.0"
CUDNN="8"
UBUNTU="18.04"

Install

bash install.sh
# under our project root folder
python setup.py develop 

Data Preparation

*We have pre-processed INV-CDIP test set under datasets/.

Reproduce Our Results

*Download our model pre-trained using INV-CDIP unlabeled train set.

python main.py \
--model_name_or_path pretrained_model_acl2022 \
--output_dir $OUTPUT_PATH

Visualization

*Download images of INV-CDIP test set and put under datasets/imgs.

python vis_results.py --pred_path $OUTPUT_PATH/prediction_pairs.pkl

Citation

If you find this codebase useful, please cite our paper:

@article{gao2021field,
  title={Field Extraction from Forms with Unlabeled Data},
  author={Gao, Mingfei and Chen, Zeyuan and Naik, Nikhil and Hashimoto, Kazuma and Xiong, Caiming and Xu, Ran},
  journal={ACL Spa-NLP Workshop},
  year={2022}
}

License

Our code is released under BSD 3-Clause.

Our pre-trained model is released under CC BY-NC 4.0.

The INV-CDIP dataset is released under CC BY-NC 4.0. The underlying documents to which the dataset refers are from the Tobacco Collections of Industry Documents Library. Please see Copyright and Fair Use for more information.

Contact

Please send an email to [email protected] if you have questions.

About

No description, website, or topics provided.

Resources

Readme
BSD-3-Clause license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.