docs: complete English reproduction card
Browse files
README.md
CHANGED
|
@@ -10,17 +10,19 @@ library_name: pytorch
|
|
| 10 |
|
| 11 |
# LiNO
|
| 12 |
|
| 13 |
-
## Model
|
| 14 |
|
| 15 |
-
This package reproduces the one-dimensional viscous Burgers final-state prediction experiment
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Data
|
| 18 |
|
| 19 |
Download only the needed file from [OneScience/fno](https://www.modelscope.cn/datasets/OneScience/fno) with `modelscope download OneScience/fno data/burgers_data_R10.mat --repo-type dataset --local_dir ./data`. The model reads `data/data/burgers_data_R10.mat`.
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
##
|
| 24 |
|
| 25 |
```bash
|
| 26 |
hf download OneScience-Group/LiNO --local-dir ./LiNO
|
|
@@ -30,8 +32,16 @@ python scripts/inference.py
|
|
| 30 |
python scripts/result.py
|
| 31 |
```
|
| 32 |
|
| 33 |
-
For training, run `python scripts/train.py`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
##
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# LiNO
|
| 12 |
|
| 13 |
+
## Model and experiment
|
| 14 |
|
| 15 |
+
This package reproduces the one-dimensional viscous Burgers final-state prediction experiment from the [paper](https://arxiv.org/abs/2606.03262). LiNO uses eight light-inspired propagation modules with width 128 and efficient scattering. Initial field and spatial coordinates on a 256-point grid are mapped to the final Burgers field.
|
| 16 |
+
|
| 17 |
+
The package includes model code, `config/config.yaml`, training, inference and visualization scripts, the recorded `results/`, and the selected `weight/best_model.pth` checkpoint.
|
| 18 |
|
| 19 |
## Data
|
| 20 |
|
| 21 |
Download only the needed file from [OneScience/fno](https://www.modelscope.cn/datasets/OneScience/fno) with `modelscope download OneScience/fno data/burgers_data_R10.mat --repo-type dataset --local_dir ./data`. The model reads `data/data/burgers_data_R10.mat`.
|
| 22 |
|
| 23 |
+
Original dataset: https://www.modelscope.cn/datasets/OneScience/fno Download the dataset before running inference where an external dataset is required. The release configuration uses relative paths, not SCNet personal-directory paths.
|
| 24 |
|
| 25 |
+
## Installation and usage
|
| 26 |
|
| 27 |
```bash
|
| 28 |
hf download OneScience-Group/LiNO --local-dir ./LiNO
|
|
|
|
| 32 |
python scripts/result.py
|
| 33 |
```
|
| 34 |
|
| 35 |
+
For a fresh training run, use an allocated GPU/DCU compute node with a compatible PyTorch build, keep a separate copy of the supplied checkpoint, then run `python scripts/train.py` from the package root. The full budget is specified in `config/config.yaml`. Cluster-specific Slurm scripts, if present, need adaptation outside the original cluster.
|
| 36 |
+
|
| 37 |
+
## Training and reported result
|
| 38 |
+
|
| 39 |
+
The run completed 500 epochs with AdamW and a batch size of four. The best checkpoint was selected on 448 validation samples at epoch 495; no independent test split is claimed.
|
| 40 |
+
|
| 41 |
+
Validation relative L2 was 0.00816638 versus the paper Table 1 value of 0.0109, about 25.1% lower. This is a validation result, not an independent test score. See `results/` for the recorded metrics and visualizations. The supplied checkpoint comes from a completed run; another run may differ.
|
| 42 |
|
| 43 |
+
## Source and license
|
| 44 |
|
| 45 |
+
- Paper: https://arxiv.org/abs/2606.03262.
|
| 46 |
+
- Dataset source: https://www.modelscope.cn/datasets/OneScience/fno.
|
| 47 |
+
- This model package uses the license indicated in the card metadata. Dataset redistribution terms, where not separately stated, must not be inferred from the code license.
|