Comments (4)
@iross fixes to missing table reporting and COSMOS table detection statistics are in.
from cosmos.
Current status
- Enable enrichment with the ingest --enrich option:
- After ingest process completes the enrichment process begins
- each pdf mentioned in the _tables aggregated parquet, has those rows and associated rows in the non aggregated parquet (body text) processed for context
- for each detected table's mention in the body text 20 words either side of that mention (40 word span) are collected
- all context spans are appended to the _tables aggregation parquet in a new column 'context_from_text'
- enable qa evaluation with --qa option:
- enrichment process will also output:
- parquet with list of pdfs and each table mentioned in text not detected by COSMOS
- parquet of detection statistics per pdf (precision, recall, f1 score)
- parquet of macro-average detection statistics for all pdfs (precision, recall, f1 score)
- enrichment process will also output:
from cosmos.
Still to do: Ian expand the ES retrieval ingest + search interface to include expanded context.
from cosmos.
API side updates in progress https://github.com/UW-COSMOS/Cosmos/tree/dev/api_update_jul2021
Now ingests the context_from_text
column and appends it to the full_content
field. Still to do: toggles to target specific fields.
from cosmos.
Related Issues (20)
- ASKE-ID as a parameter on ES retrieval API HOT 1
- Add SPECTER model functionality
- context enrichment should gracefully handle tableless documents
- replace os.path with pathlib.Path HOT 2
- The parquet files not found in output directory HOT 3
- Document naming question HOT 2
- Worker question HOT 2
- Elasticsearch virtual memory error HOT 4
- PIL Image size limits HOT 2
- NVIDIA driver HOT 4
- SSL certificate expired
- Wrong exception catch when extracted tables don't exist HOT 1
- Allow one, both, or neither extractions HOT 1
- Recognize, capture, and correct underlying PDF parsing issues HOT 1
- Parquet Files not found in Output HOT 1
- XGBoost Error HOT 3
- Timeout after 10 seconds? HOT 1
- Column text mixing in output
- Expecting `.png` but receiving `.jpg` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmos.