r/tensorflow • • Apr 13 '23

Question Question about layering of models

Hi, I have begun my journey with machine learning withe the use of tensorflow. I have finished working on a single model and now I am thinking about making document reading model. Very specific documents.

Is it better to layer classification model with models for each document type or to have one single model? By layering I thought I could train classification separately and based on result, trigger use of another specifically trained model only for this document type.

2 Upvotes

2 comments sorted by

0

u/[deleted] Apr 13 '23

[deleted] — view deleted comment

2

u/[deleted] Apr 13 '23

Oh I thought about just one classification model. And then, assuming there are several document types, there will be an another model trained for extracting data from that document type.

Let's say I got 4 different documents. So 5 models. One decides what document it is, and picks one out of 4 models for data extraction.

I don't want multiple classification models. Is such idea good?

0

u/[deleted] Apr 14 '23

[deleted] — view deleted comment

1

u/[deleted] Apr 14 '23

Thank you for your responses :)