karenlu653 commited on
Commit
edf28a1
·
verified ·
1 Parent(s): 8f481a8

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +1 -9
  2. model.safetensors +1 -1
  3. preprocessor_config.json +1 -1
README.md CHANGED
@@ -1,11 +1,3 @@
1
- ---
2
- license: mit
3
- language:
4
- - zh
5
- tags:
6
- - audio
7
- - classification
8
- ---
9
  # shanghai-binary
10
 
11
  Binary classifier: **Shanghai** vs **Not-Shanghai** (audio FBANK → GRU → MLP).
@@ -67,4 +59,4 @@ def fbanks_from_array(y, sr=pp["sampling_rate"], n_mels=pp["n_mels"], n_fft=pp["
67
  # with torch.no_grad():
68
  # logits = model(x)
69
  # pred = int(torch.argmax(logits, dim=1))
70
- # print(lm[str(pred)])
 
 
 
 
 
 
 
 
 
1
  # shanghai-binary
2
 
3
  Binary classifier: **Shanghai** vs **Not-Shanghai** (audio FBANK → GRU → MLP).
 
59
  # with torch.no_grad():
60
  # logits = model(x)
61
  # pred = int(torch.argmax(logits, dim=1))
62
+ # print(lm[str(pred)])
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:03a883bf09cf68c11a4a4f5076ad7d827f976fa6475d768101b747a23a59e087
3
  size 10104032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20508a9fe55b4dd7a1cb79c9b621138da2b7dabe7b4c59c03aa464fdc5d5fdda
3
  size 10104032
preprocessor_config.json CHANGED
@@ -4,7 +4,7 @@
4
  "n_mels": 40,
5
  "n_fft": 400,
6
  "hop_length": 160,
7
- "max_len_frames": 200,
8
  "log_db": true,
9
  "mono": true
10
  }
 
4
  "n_mels": 40,
5
  "n_fft": 400,
6
  "hop_length": 160,
7
+ "max_len_frames": 300,
8
  "log_db": true,
9
  "mono": true
10
  }