Arctic-TILT release (#1)
Browse files- Arctic-TILT release (9ff5693aabcef672b1e3c1185aebc8050e1dd4f8)
Co-authored-by: 艁ukasz Borchmann <[email protected]>
- README.md +27 -0
- config.json +1 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- text-to-text
|
| 5 |
+
- document-understanding
|
| 6 |
+
- document-ai
|
| 7 |
+
- question-answering
|
| 8 |
+
library_name: vllm
|
| 9 |
+
pipeline_tag: text2text-generation
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Arctic-TILT
|
| 13 |
+
|
| 14 |
+
**Arctic-TILT** is a state-of-the-art, sub-billion parameter model for Document Understanding. It is designed for high efficiency and long-context processing, achieving performance on par with models 1000x its size on a single 24GB GPU.
|
| 15 |
+
|
| 16 |
+
* **GitHub Repository (Code & Examples):** [Snowflake-Labs/arctic-tilt](https://github.com/Snowflake-Labs/arctic-tilt)
|
| 17 |
+
* **Paper:** [Arctic-TILT: Business Document Understanding at Sub-Billion Scale](https://aclanthology.org/2025.acl-industry.20/).
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
* **Model type:** Encoder-Decoder Transformer
|
| 22 |
+
* **Parameters:** 822M
|
| 23 |
+
* **Core Task:** Document AI (Question Answering, Key Information Extraction)
|
| 24 |
+
|
| 25 |
+
## How to Use
|
| 26 |
+
|
| 27 |
+
This model is optimized for use with `vLLM` and requires a custom scheduler and preprocessor. The `TiltPreprocessor` is available in the [GitHub repository](https://github.com/Snowflake-Labs/arctic-tilt).
|
config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"model_type": "tilt", "vocab_size": 32128, "d_model": 1024, "d_ff": 4096, "d_kv": 64, "num_attention_heads": 16, "num_hidden_layers": 24, "bias_num_buckets": 32, "bias_max_distance": 128, "bias_planar_max_distance": 100, "bias_horz_scale": 100, "bias_vert_scale": 100, "layer_norm_epsilon": 1e-06, "has_postfusion": true, "pad_token_id": 0, "eos_token_id": 1, "roi_expansion_width": 0, "unet_in_channels": 1, "unet_init_features": 32, "unet_out_features": 128, "max_seq_length": 125000, "image_limit": 250, "image_width": 768, "max_image_height": 2048, "crop_bboxes": true, "max_output_length": 128, "max_question_length": 256, "chunk_length": 1024, "prefix_separator": " : ", "answer_separator": " | "}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a94a80d2a6cb31841d95bae8ac8d5fc007fab0b1cd9dac49b9cbb43956406c3
|
| 3 |
+
size 3287246704
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tokenizer_class": "T5TokenizerFast"}
|