Add model card for TimesNet-Gen

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +56 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pipeline_tag: other
4
+ tags:
5
+ - seismology
6
+ - geophysics
7
+ - time-series
8
+ ---
9
+
10
+ # TimesNet-Gen: Deep Learning-based Site Specific Strong Motion Generation
11
+
12
+ TimesNet-Gen is a time-domain conditional generator designed for site-specific strong ground motion synthesis from accelerometer records. It employs a latent bottleneck with station identity conditioning to capture local site influences on ground motion characteristics.
13
+
14
+ - **Paper:** [TimesNet-Gen: Deep Learning-based Site Specific Strong Motion Generation](https://huggingface.co/papers/2512.04694)
15
+ - **GitHub Repository:** [brsylmz23/TimesNet-Gen](https://github.com/brsylmz23/TimesNet-Gen)
16
+ - **Demo:** [Hugging Face Space](https://huggingface.co/spaces/Barisylmz/TimesNet-Gen)
17
+
18
+ ## Installation
19
+
20
+ To use the model, first clone the repository and install the required dependencies:
21
+
22
+ ```bash
23
+ git clone https://github.com/brsylmz23/TimesNet-Gen.git
24
+ cd TimesNet-Gen
25
+ pip install -r requirements.txt
26
+ ```
27
+
28
+ ## Sample Usage
29
+
30
+ After downloading the pre-trained checkpoints (as described in the [GitHub README](https://github.com/brsylmz23/TimesNet-Gen#2-download-pre-trained-model)), you can generate samples using the provided script:
31
+
32
+ ```bash
33
+ # Generate 50 samples per station for the default stations
34
+ python generate_samples.py --num_samples 50
35
+
36
+ # Generate for specific stations (e.g., station IDs 0205 and 1716)
37
+ python generate_samples.py --stations 0205 1716 --num_samples 100
38
+ ```
39
+
40
+ The output includes generated waveforms in NPZ format along with HVSR curves and f₀ distribution comparisons.
41
+
42
+ ## Citation
43
+
44
+ If you find this work useful, please cite:
45
+
46
+ ```bibtex
47
+ @misc{yilmaz2025timesnetgendeeplearningbasedsite,
48
+ title={TimesNet-Gen: Deep Learning-based Site Specific Strong Motion Generation},
49
+ author={Baris Yilmaz and Bevan Deniz Cilgin and Erdem Akagündüz and Salih Tileylioglu},
50
+ year={2025},
51
+ eprint={2512.04694},
52
+ archivePrefix={arXiv},
53
+ primaryClass={cs.LG},
54
+ url={https://arxiv.org/abs/2512.04694},
55
+ }
56
+ ```