mwirth7 commited on
Commit
16a7103
·
verified ·
1 Parent(s): 0dbd4be

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -4,7 +4,9 @@
4
 
5
  ```python
6
 
7
- from transformers import AutoModelForSequenceClassification
 
 
8
 
9
  model = AutoModelForSequenceClassification.from_pretrained("DBD-research-group/BirdMAE-XCL", trust_remote_code=True, num_labels=9736)
10
 
 
4
 
5
  ```python
6
 
7
+ from transformers import AutoModelForSequenceClassification, AutoFeatureExtractor
8
+
9
+ fe = AutoFeatureExtractor.from_pretrained("DBD-research-group/BirdMAE-XCL", trust_remote_code=True) # "DBD-research-group/Bird-MAE-Base" also works
10
 
11
  model = AutoModelForSequenceClassification.from_pretrained("DBD-research-group/BirdMAE-XCL", trust_remote_code=True, num_labels=9736)
12