-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathdeberta.json
More file actions
52 lines (52 loc) · 1.69 KB
/
deberta.json
File metadata and controls
52 lines (52 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"input_model": {
"type": "HfModel",
"model_path": {
"type": "azureml_registry_model",
"registry_name": "azureml",
"name": "microsoft-deberta-base-mnli",
"version": "15"
},
"task": "text-classification"
},
"data_configs": [
{
"name": "glue_mnli_matched",
"type": "HuggingfaceContainer",
"load_dataset_config": { "data_name": "glue", "subset": "mnli_matched", "split": "validation" },
"pre_process_data_config": {
"align_labels": true,
"input_cols": [ "premise", "hypothesis" ],
"max_samples": 100
},
"dataloader_config": { "batch_size": 1 }
}
],
"evaluators": {
"common_evaluator": {
"metrics": [
{
"name": "latency",
"type": "latency",
"data_config": "glue_mnli_matched",
"sub_types": [ { "name": "avg", "priority": 1 } ]
}
]
}
},
"passes": {
"conversion": { "type": "OnnxConversion"},
"transformers_optimization": {
"type": "OrtTransformersOptimization",
"model_type": "bert",
"num_heads": 12,
"hidden_size": 768,
"float16": false
},
"quantization": { "type": "OnnxQuantization", "data_config": "glue_mnli_matched" }
},
"search_strategy": { "execution_order": "joint", "sampler": "tpe", "max_samples": 3, "seed": 0 },
"evaluator": "common_evaluator",
"cache_dir": "cache",
"output_dir": "models/microsoft-deberta"
}