-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathdora.json
More file actions
58 lines (58 loc) · 1.83 KB
/
dora.json
File metadata and controls
58 lines (58 loc) · 1.83 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
53
54
55
56
57
58
{
"input_model": {
"type": "HfModel",
"model_path": "meta-llama/Llama-3.2-1B-Instruct"
},
"systems": {
"local_system": {
"type": "LocalSystem",
"accelerators": [ { "device": "gpu", "execution_providers": [ "CUDAExecutionProvider" ] } ]
}
},
"data_configs": [
{
"name": "train_data",
"type": "HuggingfaceContainer",
"load_dataset_config": { "data_name": "timdettmers/openassistant-guanaco", "split": "train[:4096]" }
},
{
"name": "eval_data",
"type": "HuggingfaceContainer",
"load_dataset_config": { "data_name": "timdettmers/openassistant-guanaco", "split": "train[4096:4224]" }
}
],
"passes": {
"d": {
"train_data_config": "train_data",
"type": "dora",
"torch_dtype": "float16",
"training_args": {
"per_device_train_batch_size": 16,
"per_device_eval_batch_size": 16,
"max_steps": 150,
"logging_steps": 50.0
},
"r": 64,
"alpha": 16,
"eval_data_config": "eval_data"
},
"c": {
"type": "OnnxConversion",
"use_dynamo_exporter": true,
"save_metadata_for_token_generation": true,
"torch_dtype": "float16"
},
"o": {
"type": "OrtTransformersOptimization",
"model_type": "gpt2",
"opt_level": 0,
"keep_io_types": false,
"float16": true
},
"e": { "type": "ExtractAdapters", "adapter_type": "dora" },
"m": { "type": "ModelBuilder", "metadata_only": true, "precision": "fp16" }
},
"host": "local_system",
"target": "local_system",
"output_dir": "models"
}