intent_classifier
This commit is contained in:
parent
35e9668666
commit
18330b122b
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"_name_or_path": "distilbert-base-uncased",
|
||||||
|
"activation": "gelu",
|
||||||
|
"architectures": [
|
||||||
|
"DistilBertForSequenceClassification"
|
||||||
|
],
|
||||||
|
"attention_dropout": 0.1,
|
||||||
|
"dim": 768,
|
||||||
|
"dropout": 0.1,
|
||||||
|
"hidden_dim": 3072,
|
||||||
|
"id2label": {
|
||||||
|
"0": "QA",
|
||||||
|
"1": "CHITCHAT",
|
||||||
|
"2": "FINDPAPER",
|
||||||
|
"3": "FINDDATASET",
|
||||||
|
"4": "SUMMARIZEPAPER",
|
||||||
|
"5": "AFFIRM",
|
||||||
|
"6": "NEGATE"
|
||||||
|
},
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"label2id": {
|
||||||
|
"AFFIRM": 5,
|
||||||
|
"CHITCHAT": 1,
|
||||||
|
"FINDDATASET": 3,
|
||||||
|
"FINDPAPER": 2,
|
||||||
|
"NEGATE": 6,
|
||||||
|
"QA": 0,
|
||||||
|
"SUMMARIZEPAPER": 4
|
||||||
|
},
|
||||||
|
"max_position_embeddings": 512,
|
||||||
|
"model_type": "distilbert",
|
||||||
|
"n_heads": 12,
|
||||||
|
"n_layers": 6,
|
||||||
|
"pad_token_id": 0,
|
||||||
|
"problem_type": "single_label_classification",
|
||||||
|
"qa_dropout": 0.1,
|
||||||
|
"seq_classif_dropout": 0.2,
|
||||||
|
"sinusoidal_pos_embds": false,
|
||||||
|
"tie_weights_": true,
|
||||||
|
"torch_dtype": "float32",
|
||||||
|
"transformers_version": "4.27.4",
|
||||||
|
"vocab_size": 30522
|
||||||
|
}
|
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"cls_token": "[CLS]",
|
||||||
|
"mask_token": "[MASK]",
|
||||||
|
"pad_token": "[PAD]",
|
||||||
|
"sep_token": "[SEP]",
|
||||||
|
"unk_token": "[UNK]"
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"cls_token": "[CLS]",
|
||||||
|
"do_lower_case": true,
|
||||||
|
"mask_token": "[MASK]",
|
||||||
|
"model_max_length": 512,
|
||||||
|
"pad_token": "[PAD]",
|
||||||
|
"sep_token": "[SEP]",
|
||||||
|
"special_tokens_map_file": null,
|
||||||
|
"strip_accents": null,
|
||||||
|
"tokenize_chinese_chars": true,
|
||||||
|
"tokenizer_class": "DistilBertTokenizer",
|
||||||
|
"unk_token": "[UNK]"
|
||||||
|
}
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue