Upload config.json with huggingface_hub
Browse files- config.json +29 -0
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "gliner2",
|
| 3 |
+
"architecture": {
|
| 4 |
+
"classifier": "microsoft/deberta-v3-large",
|
| 5 |
+
"extractor": "fastino/gliner2-large-v1"
|
| 6 |
+
},
|
| 7 |
+
"pipeline": "two-stage",
|
| 8 |
+
"stages": {
|
| 9 |
+
"classification": {
|
| 10 |
+
"task": "is_transaction",
|
| 11 |
+
"labels": ["non-transaction", "transaction"],
|
| 12 |
+
"max_length": 128
|
| 13 |
+
},
|
| 14 |
+
"extraction": {
|
| 15 |
+
"classification_task": "transaction_type",
|
| 16 |
+
"classification_labels": ["DEBIT", "CREDIT"],
|
| 17 |
+
"structure": "transaction_info",
|
| 18 |
+
"fields": [
|
| 19 |
+
"transaction_amount",
|
| 20 |
+
"transaction_date",
|
| 21 |
+
"transaction_description",
|
| 22 |
+
"masked_account_digits"
|
| 23 |
+
],
|
| 24 |
+
"max_width": 8
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"precision_variants": ["fp16", "fp32"],
|
| 28 |
+
"version": "1.0.0"
|
| 29 |
+
}
|