Update README.md
Browse files
README.md
CHANGED
|
@@ -32,7 +32,7 @@ During inference, recordings are classified by comparing them to learned prototy
|
|
| 32 |
providing explanations for the model's decisions and insights into the most informative embeddings of each
|
| 33 |
bird species.
|
| 34 |
|
| 35 |
-
- **Paper**:
|
| 36 |
|
| 37 |
## Model Description
|
| 38 |
|
|
@@ -108,8 +108,8 @@ import librosa
|
|
| 108 |
import torch
|
| 109 |
|
| 110 |
# Load the model and feature extractor
|
| 111 |
-
model = AutoModelForSequenceClassification.from_pretrained("DBD-research-group/AudioProtoPNet-
|
| 112 |
-
feature_extractor = AutoFeatureExtractor.from_pretrained("DBD-research-group/AudioProtoPNet-
|
| 113 |
model.eval()
|
| 114 |
|
| 115 |
# Load an example audio file
|
|
|
|
| 32 |
providing explanations for the model's decisions and insights into the most informative embeddings of each
|
| 33 |
bird species.
|
| 34 |
|
| 35 |
+
- **Paper**: www.sciencedirect.com/science/article/pii/S1574954125000901
|
| 36 |
|
| 37 |
## Model Description
|
| 38 |
|
|
|
|
| 108 |
import torch
|
| 109 |
|
| 110 |
# Load the model and feature extractor
|
| 111 |
+
model = AutoModelForSequenceClassification.from_pretrained("DBD-research-group/AudioProtoPNet-1-BirdSet-XCL",trust_remote_code=True)
|
| 112 |
+
feature_extractor = AutoFeatureExtractor.from_pretrained("DBD-research-group/AudioProtoPNet-1-BirdSet-XCL", trust_remote_code=True)
|
| 113 |
model.eval()
|
| 114 |
|
| 115 |
# Load an example audio file
|