options-recognizer-gliner2-base / recognizer_config.json
StephanAkkerman's picture
Upload adapter v1
1100ba3 verified
Raw History Blame Contribute Delete
1.44 kB
{
"base_model": "fastino/gliner2-base-v1",
"adapter_version": 1,
"labels": [
"ticker",
"strike",
"option_type",
"expiry",
"premium",
"price"
],
"entity_descriptions": {
"ticker": "The stock or ETF symbol an option contract is written on, usually 1-5 letters and often preceded by a dollar sign (e.g., $AAPL, SPY, $T). MUST NOT be a company name, an @handle, or slang (YOLO, NFA, OTM, ITM).",
"strike": "The strike price of an option contract, e.g. 350, 162.5, or $1300 in '$1300 calls'. MUST NOT be the stock's current price, a premium or per-contract price, a date, or a percentage.",
"option_type": "Whether the contract is a call or a put, in any written form: C, P, call, calls, put, puts, c, p. Only the call/put word itself, not words like buyer or seller.",
"expiry": "The expiration date of an option contract: 10/16, 11/06/2026, 6/17/27, November 20, 2026, December, or relative like '2 days'. MUST NOT be the date a report was posted (e.g. the 10/2 in '10/2 Notable Flow').",
"premium": "The total dollar size of the trade, e.g. $1.2M, $993K, 23 million. MUST NOT be a strike, the per-contract price, or the stock price.",
"price": "The per-contract price or average fill, e.g. .15 in '@ .15' or 4.37 in '4.37avg'. Only the number. MUST NOT be a strike, premium, or the underlying's stock price."
},
"threshold": 0.75,
"word_splitter": "alnum-v2"
}