swe-cefr-sp / config.json
fffffwl's picture
Add prototype-based model (k=3) with AutoConfig/AutoModel support
ae7183a verified
raw
history blame contribute delete
497 Bytes
{
"architectures": [
"CEFRPrototypeModel"
],
"dtype": "float32",
"encoder_name": "KB/bert-base-swedish-cased",
"hidden_size": 768,
"id2label": {
"0": "A1",
"1": "A2",
"2": "B1",
"3": "B2",
"4": "C1",
"5": "C2"
},
"label2id": {
"A1": 0,
"A2": 1,
"B1": 2,
"B2": 3,
"C1": 4,
"C2": 5
},
"layer_index": -2,
"model_type": "cefr_prototype",
"prototypes_per_class": 3,
"temperature": 10.0,
"transformers_version": "4.57.3"
}