LauraGPT commited on
Commit
7ef6caf
·
unverified ·
1 Parent(s): e8260dc

docs: link tested any-to-any pipeline and state ASR task boundary

Browse files

Signed-off-by: LauraGPT <18321252+LauraGPT@users.noreply.github.com>

Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -103,6 +103,19 @@ Hotwords are hints, not an enforced vocabulary. In the paired Chinese sample che
103
 
104
  `language` accepts Chinese, English, and Japanese as ISO codes, full English names, or the checkpoint Chinese names (`中文`, `英文`, `日文`). Keep batch inputs and decoded outputs in order; use `processor_kwargs={"text_kwargs": {"padding": True}}` together with the other processor options for different-length batches. Reject empty batches before calling the processor. An upstream `IndexError` for `audio=[]` was observed in the historical `fc501` source environment; that observation is not a new 5.17.0 test result.
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  ## CUDA with the canonical CLI
107
 
108
  The [isolated CUDA recipe](https://github.com/QwenAudio/Fun-ASR/tree/main/examples/transformers#cuda-an-isolated-tested-recipe)
 
103
 
104
  `language` accepts Chinese, English, and Japanese as ISO codes, full English names, or the checkpoint Chinese names (`中文`, `英文`, `日文`). Keep batch inputs and decoded outputs in order; use `processor_kwargs={"text_kwargs": {"padding": True}}` together with the other processor options for different-length batches. Reject empty batches before calling the processor. An upstream `IndexError` for `audio=[]` was observed in the historical `fc501` source environment; that observation is not a new 5.17.0 test result.
105
 
106
+ ## Using the pipeline API
107
+
108
+ Use the explicitly selected `any-to-any` task with structured audio/language
109
+ messages: the [runnable pipeline example](https://github.com/QwenAudio/Fun-ASR/tree/main/examples/transformers#use-the-transformers-pipeline-api)
110
+ was executed on Transformers 5.17.0, torch 2.10.0+cpu and the pinned public English
111
+ sample. It returns transcription text without the input conversation.
112
+
113
+ The standard `automatic-speech-recognition` pipeline is a different processing
114
+ route: our 5.17.0 test fails with a floating-point token-index error for this
115
+ checkpoint. Do not substitute that task or rely on automatic task inference.
116
+ This pipeline check is CPU single-file only, not GPU/batch, accuracy or capacity
117
+ validation. The native processor/generate quickstart above remains supported.
118
+
119
  ## CUDA with the canonical CLI
120
 
121
  The [isolated CUDA recipe](https://github.com/QwenAudio/Fun-ASR/tree/main/examples/transformers#cuda-an-isolated-tested-recipe)