Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,6 @@ allow_mount: true
|
|
| 16 |
This project implements a deep reinforcement learning framework to solve the Vehicle Routing Problem with Time Windows (VRPTW) using Transformer-based models. It also integrates Google OR-Tools as a classical baseline for comparison.
|
| 17 |
|
| 18 |
|
| 19 |
-
|
| 20 |
π Project Structure
|
| 21 |
bash
|
| 22 |
Copy
|
|
@@ -47,4 +46,16 @@ A decoding policy that uses attention for routing decisions
|
|
| 47 |
|
| 48 |
An actor-critic reinforcement learning strategy with a learnable baseline
|
| 49 |
|
| 50 |
-
Beam Search and Greedy decoding options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
This project implements a deep reinforcement learning framework to solve the Vehicle Routing Problem with Time Windows (VRPTW) using Transformer-based models. It also integrates Google OR-Tools as a classical baseline for comparison.
|
| 17 |
|
| 18 |
|
|
|
|
| 19 |
π Project Structure
|
| 20 |
bash
|
| 21 |
Copy
|
|
|
|
| 46 |
|
| 47 |
An actor-critic reinforcement learning strategy with a learnable baseline
|
| 48 |
|
| 49 |
+
Beam Search and Greedy decoding options
|
| 50 |
+
|
| 51 |
+
πΎ Data Persistence
|
| 52 |
+
|
| 53 |
+
This Space writes logs, model checkpoints, and training history to the `/data` directory.
|
| 54 |
+
|
| 55 |
+
Make sure your `run.py` and `inference.py` use `/data/` for saving/loading models and results.
|
| 56 |
+
|
| 57 |
+
Example:
|
| 58 |
+
```python
|
| 59 |
+
with open("/data/train_results.txt", "a") as f:
|
| 60 |
+
f.write(...)
|
| 61 |
+
torch.save(model.state_dict(), "/data/model_state_dict.pt")
|