🚀 Model Card for LayoutLM for Document Classification
This is a fine-tuned multi-modal LayoutLM model for document classification tasks, offering efficient and accurate text classification capabilities.
🚀 Quick Start
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-classifier")
model = AutoModelForSequenceClassification.from_pretrained("impira/layoutlm-document-classifier")
✨ Features
- This is a fine-tuned version of the multi-modal LayoutLM model, specialized for document classification tasks.
- It can be used for text classification.
📦 Installation
No specific installation steps are provided in the original document, so this section is skipped.
💻 Usage Examples
Basic Usage
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-classifier")
model = AutoModelForSequenceClassification.from_pretrained("impira/layoutlm-document-classifier")
📚 Documentation
Model Details
Property |
Details |
Developed by |
Impira team |
Shared by |
Hugging Face |
Model Type |
Text Classification |
Language(s) (NLP) |
en |
License |
cc-by-nc-sa-4.0 |
Related Models |
layoutlm |
Parent Model |
More information needed |
Resources for more information |
Associated Paper, Blog Post |
Uses
Direct Use
Text Classification
Out-of-Scope Use
⚠️ Important Note
The model should not be used to intentionally create hostile or alienating environments for people.
Bias, Risks, and Limitations
Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
Recommendations
💡 Usage Tip
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Training Details
Speeds, Sizes, Times
Property |
Details |
Num_attention_head |
12 |
Num_hidden_layer |
12 |
Vocab_size |
30522 |
Technical Specifications
Software
Transformers version: 4.4.0.dev0
Citation
BibTeX:
More information needed
APA:
More information needed
Model Card Authors
Impira team in collaboration with Ezi Ozoani and the Hugging Face team.