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 — Transformers-Tutorials/LayoutXLM at master · gpokat/Transformers-Tutorials

Expand file tree

/

LayoutXLM

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

LayoutXLM

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Fine_tune_LayoutXLM_on_XFUND_(relation_extraction).ipynb
Fine_tune_LayoutXLM_on_XFUND_(relation_extraction).ipynb
 
 
Fine_tuning_LayoutXLM_on_XFUND_for_token_classification_using_HuggingFace_Trainer.ipynb
Fine_tuning_LayoutXLM_on_XFUND_for_token_classification_using_HuggingFace_Trainer.ipynb
 
 
README.md
README.md
 
 

README.md

Outline

LayoutXLM notebooks

This folder contains notebooks illustrating how to fine-tune LayoutXLM on the XFUND dataset:

  • fine-tuning LayoutLMv2ForTokenClassification for semantic entity recognition (also known as NER)
  • fine-tuning LayoutLMv2ForRelationExtraction for key-value extraction

Important note

Note that LayoutXLM is a multilingual model trained on a variety of languages, some of which may not be relevant for your use case. In that case, it makes sense to remove unnecessary tokens from the model's embedding matrx (as the embedding layer oftentimes makes up a large portion of a given model's total size).

Check out this blog post for details: https://medium.com/@coding-otter/reduce-your-transformers-model-size-by-removing-unwanted-tokens-and-word-embeddings-eec08166d2f9?.

You are visitor 01402792 — 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.