Annie0430 commited on
Commit
6ff8d28
·
verified ·
1 Parent(s): a7b4b0b

Delete raw_data/server

Browse files
raw_data/server/balanced_dataset/balanced_global_relationships.json DELETED
@@ -1 +0,0 @@
1
- []
 
 
raw_data/server/final_dataset/server_dataset.json DELETED
@@ -1 +0,0 @@
1
- []
 
 
raw_data/server/input_dataset/global_relationships.json DELETED
@@ -1 +0,0 @@
1
- []
 
 
raw_data/server/training_config/dataset_config.yaml DELETED
@@ -1,38 +0,0 @@
1
- {
2
- "0": {
3
- "data": {
4
- "root": "/work/projects/jiazhang/next_generation_ai/next_generation_ai/tool_demo/ramdisk_hf/raw_data/server/final_dataset",
5
- "type": "server_dataset.json@llm",
6
- "splits": [
7
- 0.98,
8
- 0.01,
9
- 0.01
10
- ],
11
- "splitter": "iid"
12
- }
13
- },
14
- "1": {
15
- "data": {
16
- "root": "/work/projects/jiazhang/next_generation_ai/next_generation_ai/tool_demo/ramdisk_hf/raw_data/client_1/final_dataset",
17
- "type": "client_1_dataset.json@llm",
18
- "splits": [
19
- 0.98,
20
- 0.01,
21
- 0.01
22
- ],
23
- "splitter": "iid"
24
- }
25
- },
26
- "2": {
27
- "data": {
28
- "root": "/work/projects/jiazhang/next_generation_ai/next_generation_ai/tool_demo/ramdisk_hf/raw_data/client_2/final_dataset",
29
- "type": "client_2_dataset.json@llm",
30
- "splits": [
31
- 0.98,
32
- 0.01,
33
- 0.01
34
- ],
35
- "splitter": "iid"
36
- }
37
- }
38
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
raw_data/server/training_config/start.sh DELETED
@@ -1,2 +0,0 @@
1
- #!/bin/bash
2
- python FederatedScope/federatedscope/main.py --cfg ramdisk_hf/raw_data/server/training_config/training_config.yaml --client_cfg ramdisk_hf/raw_data/server/training_config/dataset_config.yaml --ckpt_path ckpt
 
 
 
raw_data/server/training_config/training_config.yaml DELETED
@@ -1,70 +0,0 @@
1
- {
2
- "use_gpu": true,
3
- "device": 0,
4
- "early_stop": {
5
- "patience": 0
6
- },
7
- "federate": {
8
- "mode": "standalone",
9
- "client_num": 2,
10
- "total_round_num": 3,
11
- "save_to": "llama3.ckpt"
12
- },
13
- "data": {
14
- "root": "https://huggingface.co/datasets/Annie0430/test_fileIO",
15
- "type": "custom_llm",
16
- "splits": [
17
- 0.98,
18
- 0.01,
19
- 0.01
20
- ],
21
- "splitter": "iid"
22
- },
23
- "llm": {
24
- "tok_len": 1000,
25
- "chat": {
26
- "max_len": 2000
27
- },
28
- "adapter": {
29
- "use": true,
30
- "args": [
31
- {
32
- "adapter_package": "peft",
33
- "adapter_method": "lora",
34
- "r": 8,
35
- "lora_alpha": 16,
36
- "lora_dropout": 0.05
37
- }
38
- ]
39
- }
40
- },
41
- "dataloader": {
42
- "batch_size": 1
43
- },
44
- "model": {
45
- "type": "meta-llama/Llama-3.1-8B-Instruct@huggingface_llm"
46
- },
47
- "train": {
48
- "local_update_steps": 3,
49
- "batch_or_epoch": "batch",
50
- "optimizer": {
51
- "lr": 0.0003,
52
- "weight_decay": 0.0
53
- },
54
- "is_enable_half": true
55
- },
56
- "criterion": {
57
- "type": "CrossEntropyLoss"
58
- },
59
- "trainer": {
60
- "type": "llmtrainer"
61
- },
62
- "eval": {
63
- "freq": 50,
64
- "metrics": [
65
- "loss"
66
- ],
67
- "count_flops": false,
68
- "best_res_update_round_wise_key": "test_avg_loss"
69
- }
70
- }