web2text
pix2struct
web2text | pix2struct | |
---|---|---|
2 | 5 | |
162 | 549 | |
3.7% | 3.8% | |
0.0 | 4.4 | |
over 2 years ago | 6 months ago | |
HTML | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
web2text
-
Advice building model for web elements/ browsing specific site
The only paper and code I’m aware of is in Scala and called https://github.com/dalab/web2text. They originally used a CNN. I think their training data was way to small.
-
Best content extraction library from news link?
If you need just extraction features, maybe Readability.js created by Mozilla or Web2Text could be help your problem (or kinda wrapper of these), but still can't get perfect solution for this. It's because all sites have different HTML structures.
pix2struct
-
[D] Is there a good ai model for image-to-text where the images are diagrams and screenshots of interfaces?
Here are a few useful resources you could start with: [Pix2Struct by Google Research](https://github.com/google-research/pix2struct) might be a valuable tool, although it will most likely need some fine-tuning to fit your specifics. You can also find some fine-tuned models on HuggingFace by searching 'pix2struct'. Another option worth considering is [DonutI](https://github.com/clovaai/donut). Like Pix2Struct, fine-tuning likely needed to meet your requirements. Tesseract OCR is another alternative, particularly for handling text. It's primarily designed for pages of text, think books, but with some tweaking and specific flags, it can process tables as well as text chunks in regions of a screenshot. Bit too much tweaking for my taste. As I'm also in search of OCR tools for UI and chart screenshots, so share if you find something else.
-
How would you go about driving contextual data from images?
For images with text, if you want to do visual qa, document classification, table/key information extraction, checkout https://huggingface.co/blog/document-ai https://github.com/philschmid/document-ai-transformers https://github.com/google-research/pix2struct https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/ppstructure/README.md
-
How do you parse tables in PDF with langchain? Especially, the context which is few lines above and below the table.
https://huggingface.co/blog/document-ai https://github.com/microsoft/table-transformer https://github.com/google-research/pix2struct https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/ppstructure/table/README.md
-
Advice building model for web elements/ browsing specific site
It is related to document AI. Recently google has released a model pix2struct. Some of the tasks they considered and datasets they used include:
-
Best Pipeline for pre-processing text from PDFs for fine-tuning LLMs
Google has a new model pix2struct that can accept image input(charts, documents, book covers, UI screenshos) and answer questions. https://github.com/google-research/pix2struct
What are some alternatives?
newspaper - newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
table-transformer - Table Transformer (TATR) is a deep learning model for extracting tables from unstructured documents (PDFs and images). This is also the official repository for the PubTables-1M dataset and GriTS evaluation metric.
blackmaria - Python package for webscraping in Natural language
PaddleOCR - Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
readability - A standalone version of the readability lib
camelot - Camelot: PDF Table Extraction for Humans
document-ai-transformers