joncarter commited on
Commit
8b6e46a
·
verified ·
1 Parent(s): 18fc32f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +6 -8
README.md CHANGED
@@ -1,15 +1,13 @@
1
  ---
2
- license: apache-2.0
3
  tags:
4
  - sleep-staging
5
- - cardio-respiratory
6
- - non-causal
7
  - wav2sleep
8
  - polysomnography
9
  - time-series
10
  - pytorch
11
  library_name: wav2sleep
12
- pipeline_tag: time-series-classification
13
  ---
14
 
15
  # wav2sleep
@@ -48,7 +46,7 @@ of physiological signals for sleep staging.
48
  from wav2sleep import load_model
49
 
50
  # Load model from Hugging Face Hub
51
- model = load_model("wav2sleep")
52
 
53
  # Or load from local checkpoint
54
  model = load_model("/path/to/checkpoint")
@@ -59,7 +57,7 @@ For inference on new data:
59
  ```python
60
  from wav2sleep import load_model, predict_on_folder
61
 
62
- model = load_model("wav2sleep")
63
  predict_on_folder(
64
  input_folder="/path/to/edf_files",
65
  output_folder="/path/to/predictions",
@@ -70,7 +68,7 @@ predict_on_folder(
70
  ## Training Data
71
 
72
  The model was trained on polysomnography data from multiple publicly available datasets
73
- managed by the National Sleep Research Resource (NSRR), including SHHS and MESA.
74
 
75
  ## Citation
76
 
@@ -87,4 +85,4 @@ managed by the National Sleep Research Resource (NSRR), including SHHS and MESA.
87
 
88
  ## License
89
 
90
- Apache 2.0
 
1
  ---
2
+ license: mit
3
  tags:
4
  - sleep-staging
 
 
5
  - wav2sleep
6
  - polysomnography
7
  - time-series
8
  - pytorch
9
  library_name: wav2sleep
10
+ pipeline_tag: other
11
  ---
12
 
13
  # wav2sleep
 
46
  from wav2sleep import load_model
47
 
48
  # Load model from Hugging Face Hub
49
+ model = load_model("hf://joncarter/wav2sleep")
50
 
51
  # Or load from local checkpoint
52
  model = load_model("/path/to/checkpoint")
 
57
  ```python
58
  from wav2sleep import load_model, predict_on_folder
59
 
60
+ model = load_model("hf://joncarter/wav2sleep")
61
  predict_on_folder(
62
  input_folder="/path/to/edf_files",
63
  output_folder="/path/to/predictions",
 
68
  ## Training Data
69
 
70
  The model was trained on polysomnography data from multiple publicly available datasets
71
+ managed by the National Sleep Research Resource (NSRR).
72
 
73
  ## Citation
74
 
 
85
 
86
  ## License
87
 
88
+ MIT