fintext-extractor / config.json
Sowrabhm's picture
Upload config.json with huggingface_hub
f1cf1bb verified
{
"model_type": "gliner2",
"architecture": {
"classifier": "microsoft/deberta-v3-large",
"extractor": "fastino/gliner2-large-v1"
},
"pipeline": "two-stage",
"stages": {
"classification": {
"task": "is_transaction",
"labels": ["non-transaction", "transaction"],
"max_length": 128
},
"extraction": {
"classification_task": "transaction_type",
"classification_labels": ["DEBIT", "CREDIT"],
"structure": "transaction_info",
"fields": [
"transaction_amount",
"transaction_date",
"transaction_description",
"masked_account_digits"
],
"max_width": 8
}
},
"precision_variants": ["fp16", "fp32"],
"version": "1.0.0"
}