Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Saroj Dhiman
/
invoice information extractor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 03cc49a0
authored
Nov 06, 2023
by
Saroj Dhiman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flow chart of my model
1 parent
7099600c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
model_explanation
model_explanation
0 → 100644
View file @
03cc49a
please read this before working with model
Working with an invoice information extraction model is a common use case in natural language processing (NLP) and document processing.
In this model, we'll create a simple summary of building an invoice information extraction model using Python, PyTorch, and pretrained models.
1. Data Preparation:
Collect a dataset of labeled invoices where you've identified and labeled the key information you want to extract
(e.g., invoice date, total amount, billing address, items, etc.).
2. Data Preprocessing:
Preprocess the text in your invoices, which may involve cleaning, tokenization, and converting it into a suitable
format for training (e.g., tokenized text or numerical features).
3. Model Building:
Choose a machine learning or deep learning model for information extraction. In this case, you can use a sequence
labeling model such as Conditional Random Fields (CRF), Long Short-Term Memory (LSTM), or a pre-trained transformer model like BERT.
Train the model on your labeled invoice data to predict the relevant fields (e.g., entity recognition for extracting dates, addresses, amounts, etc.).
4. Model Testing:
test your model by asking relevent question.
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment