Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -17,10 +17,6 @@ configs:
|
|
| 17 |
data_files:
|
| 18 |
- split: train
|
| 19 |
path: v2_train/*.parquet
|
| 20 |
-
- split: validation
|
| 21 |
-
path: v2_train/*.parquet
|
| 22 |
-
- split: test
|
| 23 |
-
path: v2_train/*.parquet
|
| 24 |
---
|
| 25 |
|
| 26 |
# Mechanical Components Vibration Dataset
|
|
@@ -141,9 +137,11 @@ A standardized config for direct model training:
|
|
| 141 |
Standardized for direct model training. All sources resampled to common format.
|
| 142 |
|
| 143 |
```python
|
| 144 |
-
# Load training-ready data
|
| 145 |
v2 = load_dataset("Forgis/Mechanical-Components", "v2_train", split="train")
|
| 146 |
-
|
|
|
|
|
|
|
| 147 |
```
|
| 148 |
|
| 149 |
| Parameter | Value |
|
|
|
|
| 17 |
data_files:
|
| 18 |
- split: train
|
| 19 |
path: v2_train/*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
# Mechanical Components Vibration Dataset
|
|
|
|
| 137 |
Standardized for direct model training. All sources resampled to common format.
|
| 138 |
|
| 139 |
```python
|
| 140 |
+
# Load training-ready data (all splits in one, filter by 'split' column)
|
| 141 |
v2 = load_dataset("Forgis/Mechanical-Components", "v2_train", split="train")
|
| 142 |
+
v2_train = v2.filter(lambda x: x["split"] == "train") # 20,143 samples
|
| 143 |
+
v2_val = v2.filter(lambda x: x["split"] == "val") # 1,332 samples
|
| 144 |
+
v2_test = v2.filter(lambda x: x["split"] == "test") # 6,363 samples
|
| 145 |
```
|
| 146 |
|
| 147 |
| Parameter | Value |
|