Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,84 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
# ML4TSP Pretrained Files 2024-02-02
|
5 |
+
|
6 |
+
**This repository primarily stores the pretrained files for ML4TSP.**
|
7 |
+
**All the files in this repository have a last update date prior to 2024-02-02.**
|
8 |
+
|
9 |
+
## 1. Dataset
|
10 |
+
|
11 |
+
#### 1.1 Supervised Learning Training Dataset
|
12 |
+
|
13 |
+
**File Naming Convention:** tsp{nodes_num}\_{distribution}\_{solver(params)}\_{size}.txt
|
14 |
+
|
15 |
+
| Problem Scale | Train File |
|
16 |
+
|:-------------:|:----------:|
|
17 |
+
| TSP50 | [tsp50_uniform_lkh_5k_1.28m.txt](https://huggingface.co/datasets/ML4CO/ML4TSPDataset/blob/main/tsp50_uniform_lkh_5k_1.28m.txt) | LKH-5K |
|
18 |
+
| TSP100 | [tsp100_uniform_lkh_5k_1.28m.txt](https://huggingface.co/datasets/ML4CO/ML4TSPDataset/blob/main/tsp100_uniform_lkh_5k_1.28m.txt) | LKH-5K |
|
19 |
+
| TSP500 | [tsp500_uniform_lkh_50k_128k.txt](https://huggingface.co/datasets/ML4CO/ML4TSPDataset/blob/main/tsp500_uniform_lkh_50k_128k.txt) | LKH-50k |
|
20 |
+
| TSP500 | [tsp500_uinform_concorde_80k.txt](https://huggingface.co/datasets/ML4CO/ML4TSPDataset/blob/main/tsp500_uinform_concorde_80k.txt) | Concorde |
|
21 |
+
| TSP1000 | [tsp1000_uniform_lkh_100k_64k.txt](https://huggingface.co/datasets/ML4CO/ML4TSPDataset/blob/main/tsp1000_uniform_lkh_100k_64k.txt) | LKH-100k |
|
22 |
+
|
23 |
+
#### 1.2 Test Dataset (Uniform)
|
24 |
+
|
25 |
+
**File Naming Convention:** tsp{nodes_num}\_{solver(params)}\_{avg_length}.txt
|
26 |
+
|
27 |
+
| Problem Scale | Test | Distribution | Size |
|
28 |
+
|:-------------:|:----:|:------------:|:----:|
|
29 |
+
| TSP50 | [tsp50_concorde_5.68759.txt](https://huggingface.co/datasets/ML4CO/TSPUniformDataset/blob/main/tsp_uniform/tsp50_concorde_5.68759.txt) | uniform | 1280 |
|
30 |
+
| TSP100 | [tsp100_concorde_7.75585.txt](https://huggingface.co/datasets/ML4CO/TSPUniformDataset/blob/main/tsp_uniform/tsp100_concorde_7.75585.txt) | uniform | 1280 |
|
31 |
+
| TSP500 | [tsp500_concorde_16.54581.txt](https://huggingface.co/datasets/ML4CO/TSPUniformDataset/blob/main/tsp_uniform/tsp500_concorde_16.54581.txt) | uniform | 128 |
|
32 |
+
| TSP1000 | [tsp1000_concorde_23.11812.txt](https://huggingface.co/datasets/ML4CO/TSPUniformDataset/blob/main/tsp_uniform/tsp1000_concorde_23.11812.txt) | uniform | 128 |
|
33 |
+
| TSP10000 | [tsp10000_concorde_large_71.84185.txt](https://huggingface.co/datasets/ML4CO/TSPUniformDataset/blob/main/tsp_uniform/tsp10000_concorde_large_71.84185.txt) | uniform | 16 |
|
34 |
+
|
35 |
+
## 2. Model Parameters
|
36 |
+
|
37 |
+
#### 2.1 NAR Model Parameters
|
38 |
+
|
39 |
+
| Pretrained File | Net Type | Layer | Embed | Hidden | Out | Epoch(select)|
|
40 |
+
|:----------------|:--------:|:-----:|:-----:|:------:|:---:|:------------:|
|
41 |
+
| tsp50_diffusion.pt | gnn | 12 | 128 | 256 | 2 | 100(?) |
|
42 |
+
| tsp50_dimes.pt | gnn | 12 | 128 | 256 | 2 | 405/500step |
|
43 |
+
| tsp50_gnn.pt | gnn | 12 | 128 | 256 | 2 | 100(96) |
|
44 |
+
| tsp50_gnn_wise.pt | gnn | 12 | 128 | 256 | 2 | 100(76) |
|
45 |
+
| tsp50_gnn4reg.pt | gnn | 12 | 128 | 256 | 2 | 100(62) |
|
46 |
+
| tsp50_us.pt | sag | 3 | 64 | 64 | 50 | 100(3) |
|
47 |
+
| tsp100_diffusion.pt | gnn | 12 | 128 | 256 | 2 | 50(?) |
|
48 |
+
| tsp100_dimes.pt | gnn | 12 | 128 | 256 | 2 | 240/250step |
|
49 |
+
| tsp100_gnn.pt | gnn | 12 | 128 | 256 | 2 | 50(50) |
|
50 |
+
| tsp100_gnn_wise.pt | gnn | 12 | 128 | 256 | 2 | 50(48) |
|
51 |
+
| tsp100_gnn4reg.pt | gnn | 12 | 128 | 256 | 2 | 50(18) |
|
52 |
+
| tsp100_us.pt | sag | 3 | 64 | 64 | 50 | 50(3) |
|
53 |
+
| tsp500_diffusion.pt | gnn | 12 | 128 | 256 | 2 | 50(?) |
|
54 |
+
| tsp500_dimes.pt | gnn | 12 | 128 | 256 | 2 | 66/100step |
|
55 |
+
| tsp500_gnn.pt | gnn | 12 | 128 | 256 | 2 | 50(22) |
|
56 |
+
| tsp500_gnn_wise.pt | gnn | 12 | 128 | 256 | 2 | 50(14) |
|
57 |
+
| tsp1000_diffusion.pt | gnn | 12 | 128 | 256 | 2 | 50(?) |
|
58 |
+
| tsp1000_gnn_wise.pt | gnn | 12 | 128 | 256 | 2 | 50(44) |
|
59 |
+
|
60 |
+
|
61 |
+
#### 2.2 AR Model Parameters
|
62 |
+
|
63 |
+
| Pretrained File | Net Type | Layer | Embed | Heads | Baseline | Epoch(select)|
|
64 |
+
|:----------------|:--------:|:-----:|:-----:|:-----:|:--------:|:------------:|
|
65 |
+
| tsp50_am.pt | gat | 3 | 128 | 8 | rollout | 360(360) |
|
66 |
+
| tsp50_pomo.pt | gat | 3 | 128 | 8 | shared | 360(360) |
|
67 |
+
| tsp50_symnco.pt | gat | 3 | 128 | 8 | no | 360(360) |
|
68 |
+
| tsp100_am.pt | gat | 3 | 128 | 8 | rollout | 500(500) |
|
69 |
+
| tsp100_pomo.pt | gat | 3 | 128 | 8 | shared | 100(100) |
|
70 |
+
| tsp100_symnco.pt | gat | 3 | 128 | 8 | no | 330(329) |
|
71 |
+
|
72 |
+
## 3. Training Details
|
73 |
+
|
74 |
+
### 3.1 NAR Model
|
75 |
+
|
76 |
+
* lr_scheduler: "cosine-decay" (torch.optim.lr_scheduler.CosineAnnealingLR)
|
77 |
+
* learning-rate: 0.003(initial)
|
78 |
+
* optimizer: "AdamW" (torch.optim.AdamW)
|
79 |
+
|
80 |
+
### 3.2 AR Model
|
81 |
+
|
82 |
+
* lr_scheduler: None
|
83 |
+
* learning-rate: 0.0001(fix)
|
84 |
+
* optimizer: "Adam" (torch.optim.Adam)
|