Instructions to use DBD-research-group/Bird-MAE-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DBD-research-group/Bird-MAE-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="DBD-research-group/Bird-MAE-Base", trust_remote_code=True, device_map="auto")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DBD-research-group/Bird-MAE-Base", trust_remote_code=True, dtype="auto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -59,7 +59,7 @@ from transformers import AutoFeatureExtractor, AutoModel
|
|
| 59 |
import librosa
|
| 60 |
|
| 61 |
# Load the model and feature extractor
|
| 62 |
-
model =
|
| 63 |
feature_extractor = AutoFeatureExtractor.from_pretrained("DBD-research-group/Bird-MAE-Base", trust_remote_code=True)
|
| 64 |
model.eval()
|
| 65 |
|
|
|
|
| 59 |
import librosa
|
| 60 |
|
| 61 |
# Load the model and feature extractor
|
| 62 |
+
model = AutoModel.from_pretrained("DBD-research-group/Bird-MAE-Base",trust_remote_code=True)
|
| 63 |
feature_extractor = AutoFeatureExtractor.from_pretrained("DBD-research-group/Bird-MAE-Base", trust_remote_code=True)
|
| 64 |
model.eval()
|
| 65 |
|