Giter VIP home page Giter VIP logo

Comments (4)

cyh1112 avatar cyh1112 commented on September 27, 2024

Hi, @Sharathmk99 Thanks for following our work.

  1. How can i change to something like work2vec or tfidf?
    Yes, that's a good idea. please show me your results if you try it.

  2. How can i train on other languages like German?
    Yes, you can train on any language.

  3. We have around 200 labeled invoices, is this data enough for training or is it possible to use transfer learning?
    200 invoices are a bit less,It is recommended to label 500~1000 invoices, there will be good results.

note: We train SROIE as a node classification task, to obtain the final result, you may to do some post-processing like regular expression operations. In the future, we will combine the two tasks of node classification and named entity recognition to extract key information from invoices.

from graphnormalization.

Sharathmk99 avatar Sharathmk99 commented on September 27, 2024

Hi @cyh1112 ,

Thank you for responding.

  1. Yes i'll try with Glove embedding instead of index based encoding.

  2. To train on other languages i need to pass alphabet correctly right?

  3. Ok i'll try to collect more labeled data.

Regarding entity recognition, do i really need entity recognition model? Currently from node classification i can get label(date, address, etc.) for every node/sentence right?

I got below output for one of the document,
Document nodes/sentences/words,
['TAN CHAY YEE', 'SOON HUAT MACHINERY ENTERPRISE', '(JM0352019-K)', 'NO.53 JALAN PUTRA 1,', 'TAMAN SRIPUTRA,', '81200 JOHOR BAHRU', 'JOHOR', 'TEL : 07-5547360 / 016-7993391', 'FAX : 07-5624059', '[email protected]', 'GST ID : 002116837376', 'CASH SALES', 'DOC NO.', ': CS00004040', 'DATE: 11/01/2019', 'CASHIER', ': USER', 'TIME: 09:44:00', 'SALESPERSON :', 'REF.:', 'GOODS SOLD ARE NOT RETURNABLE, THANK YOU.', 'ITEM', 'QTY', 'S/PRICE', 'S/PRICE', 'AMOUNT', 'TAX', '1072', '1', '80.00', '80.00', '80.00', 'REPAIR ENGINE POWER SPRAYER (1UNIT)', 'WORKMANSHIP & SERVICE', '70549', '1', '160.00', '160.00', '160.00', 'GIANT 606 OVERFLOW ASSY', '1071', '1', '17.00', '17.00', '17.00', 'ENGINE OIL', '70791', '1', '10.00', '10.00', '10.00', 'GREASE FOR TOOLS 40ML (AKODA)', '70637', '1', '6.00', '6.00', '6.00', 'EY20 PLUG CHAMPION', '1643', '1', '8.00', '8.00', '8.00', 'STARTER TALI', '70197', '1', '10.00', '10.00', '10.00', 'EY20 STARTER HANDLE', '70561', '2', '18.00', '18.00', '36.00', 'HD40 1L COTIN', 'TOTAL QTY:', '9', '327.00', 'TOTAL SALES :', '327.00', 'DISCOUNT :', '0.00', 'TOTAL :', '0.00', 'ROUNDING :', '0.00', 'TOTAL SALES :', '327.00', 'CASH :', '327.00', 'CHANGE :', '0.00']

Prediction:

[0 1 0 2 2 2 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 0]

Do i still need entity recognition model?

from graphnormalization.

Sharathmk99 avatar Sharathmk99 commented on September 27, 2024

One more question,
Can i use every word as node? Example instead of using 'TAN CHAY YEE' as one node, can i use TAN, CHAY, YEE as three separate nodes?
Will this approach drops performance?

from graphnormalization.

Sharathmk99 avatar Sharathmk99 commented on September 27, 2024

@cyh1112 please reply once you get some time. Thank you

from graphnormalization.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.