transformers/docs/source
ARKA1112 d87ef00c31
Modify pipeline_tutorial.mdx (#22726)
generator(model="openai/whisper-large") always returns error. As the error says the generator expects an input, just like the .flac file above. Even the generator object has no parameters called model. While there are parameters which can be passed to generator like 'batch_size' but to pass a model i believe the the parameter has to be passed while instantiating the pipeline and not as a parameter to the instance.

I believe the correct term should be:

generator = pipeline(model="openai/whisper-large", device=0)
2023-04-12 15:20:25 +01:00
..
de Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
en Modify pipeline_tutorial.mdx (#22726) 2023-04-12 15:20:25 +01:00
es Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
fr Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
it Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
ja Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
ko 🌐 [i18n-KO] Translated pipeline_tutorial.mdx to Korean (#22508) 2023-04-07 11:27:59 -04:00
pt Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
zh Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
_config.py Adding evaluate to the list of libraries required in generated notebooks (#20850) 2022-12-21 14:04:08 +01:00