mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-04-25 16:16:22 +02:00
Restructure examples directory and improve document storage (#189)
* Consolidate tests/ into examples/documents/ * Add line_count and reorder structure keys * Lazy-load documents with _meta.json index * Update demo script and add pre-shipped workspace * Extract shared helpers for JSON reading and meta entry building
This commit is contained in:
parent
74e549a23a
commit
77722838e1
26 changed files with 430 additions and 61 deletions
9
examples/workspace/_meta.json
Normal file
9
examples/workspace/_meta.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"12345678-abcd-4321-abcd-123456789abc": {
|
||||
"type": "pdf",
|
||||
"doc_name": "attention-residuals.pdf",
|
||||
"doc_description": "This document introduces \"Attention Residuals\" (AttnRes) and its scalable variant \"Block AttnRes,\" novel mechanisms for replacing fixed residual accumulation in neural networks with learned, input-dependent depth-wise attention, addressing limitations of standard residual connections while optimizing memory, computation, and scalability for large-scale training and inference.",
|
||||
"page_count": 21,
|
||||
"path": "../documents/attention-residuals.pdf"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue