sebasgar commited on
Commit
7674979
·
verified ·
1 Parent(s): 43a5806

Updates to Auto classes

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -135,8 +135,8 @@ if HfFolder.get_token() is None:
135
 
136
 
137
  model_id = "audiblehealthai/hear-pytorch"
138
- model = HearModel.from_pretrained(model_id)
139
- fe = HearFeatureExtractor.from_pretrained(
140
  model_id
141
  )
142
 
@@ -215,8 +215,8 @@ if HfFolder.get_token() is None:
215
 
216
 
217
  model_id = "audiblehealthai/hear-pytorch"
218
- classifier = HearForAudioClassification.from_pretrained(model_id)
219
- fe = HearFeatureExtractor.from_pretrained(
220
  model_id
221
  )
222
 
 
135
 
136
 
137
  model_id = "audiblehealthai/hear-pytorch"
138
+ model = AutoModel.from_pretrained(model_id)
139
+ fe = AutoFeatureExtractor.from_pretrained(
140
  model_id
141
  )
142
 
 
215
 
216
 
217
  model_id = "audiblehealthai/hear-pytorch"
218
+ classifier = AutoModelForAudioClassification.from_pretrained(model_id)
219
+ fe = AutoFeatureExtractor.from_pretrained(
220
  model_id
221
  )
222