anonymous-birder
commited on
Commit
•
b7cc57f
1
Parent(s):
c5d3f55
Update README.md
Browse files
README.md
CHANGED
@@ -1,39 +1,26 @@
|
|
1 |
-
---
|
2 |
-
library_name: transformers
|
3 |
-
tags: []
|
4 |
-
---
|
5 |
-
|
6 |
-
# ConvNext (trained on XCL from BirdSet)
|
7 |
-
|
8 |
-
ConvNext trained on the XCL dataset from BirdSet, covering 9736 bird species from Xeno-Canto.
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
The
|
16 |
-
|
17 |
-
|
18 |
-
-
|
19 |
-
-
|
20 |
-
-
|
21 |
-
-
|
22 |
-
-
|
23 |
-
-
|
24 |
-
-
|
25 |
-
|
26 |
-
|
27 |
-
```python
|
28 |
-
import torch
|
29 |
-
from transformers import AutoModelForImageClassification
|
30 |
-
from datasets import load_dataset
|
31 |
-
|
32 |
-
dataset = load_dataset("DBD-research-group/BirdSet", "HSN")
|
33 |
-
```
|
34 |
-
|
35 |
-
## Model Source
|
36 |
-
- **Repository:** [BirdSet Repository](https://github.com/DBD-research-group/BirdSet/tree/main)
|
37 |
-
- **Paper [optional]:** [BirdSet Paper](https://arxiv.org/pdf/2403.10380)
|
38 |
-
|
39 |
## Citation
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags: []
|
4 |
+
---
|
5 |
+
|
6 |
+
# ConvNext (trained on XCL from BirdSet)
|
7 |
+
|
8 |
+
ConvNext trained on the XCL dataset from BirdSet, covering 9736 bird species from Xeno-Canto.
|
9 |
+
|
10 |
+
### Model Details
|
11 |
+
ConvNeXT is a pure convolutional model (ConvNet), inspired by the design of Vision Transformers, that claims to outperform them.
|
12 |
+
|
13 |
+
## How to use
|
14 |
+
The BirdSet data needs a custom processor that is available in the BirdSet repository. The model does not have a processor available.
|
15 |
+
The model accepts a mono image (spectrogram) as input (e.g., `torch.Size([16, 1, 128, 1024])`)
|
16 |
+
|
17 |
+
- The model is trained on 5-second clips of bird vocalizations.
|
18 |
+
- num_channels: 1
|
19 |
+
- pretrained checkpoint: facebook/convnext-base-224-22k
|
20 |
+
- sampling_rate: 32_000
|
21 |
+
- normalize spectrogram: mean: -4.268, std: 4.569 (from esc-50)
|
22 |
+
- spectrogram: n_fft: 1024, hop_length: 320, power: 2.0
|
23 |
+
- melscale: n_mels: 128, n_stft: 513
|
24 |
+
- dbscale: top_db: 80
|
25 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
## Citation
|