Training in french language is it possible ? #1364
-
|
I am french, and for learning and fun purpose I am trying to make a streaming instant translate program that : FunASR looks promising for my project but it seems to be only english/chinese friendly. Do you have any will to add french or can I help somehow by training a model ? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Here are some good audio samples to practice french: https://afrancesados.com/frases-em-frances/ |
Beta Was this translation helpful? Give feedback.
-
|
Yes - for French ASR today, you can start with an existing model instead of training one from scratch. The answer is different from when this question was opened in 2024. Current FunASR can run Qwen3-ASR-0.6B / 1.7B, whose published language table explicitly includes French ( pip install -U funasr "qwen-asr==0.0.6" "transformers==4.57.6" acceleratefrom funasr import AutoModel
model = AutoModel(
model="Qwen/Qwen3-ASR-0.6B",
hub="hf",
device="cuda:0",
dtype="bf16",
)
result = model.generate(input="french.wav", language="fr")
print(result[0]["text"])
# Omit language="fr" if you want automatic language detection.This follows FunASR's current Qwen3-ASR example. Reproduced French checkI verified this with FunASR The model was loaded from a pinned local Qwen3-ASR-0.6B snapshot on an H100, and all IPv4/IPv6 connections were blocked after imports. Both runs completed with zero network attempts, so the result was not produced by a remote API. Streaming microphone inputThe current repository also contains a native incremental WebSocket server built on pip install -U "qwen-asr[vllm]==0.0.6" "transformers==4.57.6" websockets numpy
cd examples/industrial_data_pretraining/qwen3_asr
python serve_qwen3_asr_ws.py \
--model Qwen/Qwen3-ASR-0.6B \
--port 10095 \
--gpu-memory-utilization 0.8The client sends 16 kHz mono little-endian One important product boundary: incremental ASR does not decide automatically that the speaker's turn has ended. The example uses explicit Your complete application would therefore be: Qwen3-ASR handles transcription, not translation or TTS, so those remain separate stages. About training or fine-tuningThe current FunASR Qwen3-ASR integration is inference-only: its training The most useful contribution first would be a reproducible French evaluation: test Qwen3-ASR on your microphone/domain, then report failing samples (with redistribution permission), expected transcripts, model version, and whether the error occurs offline or in streaming mode. That gives us actionable evidence for French quality improvements without asking you to build a new model unnecessarily. |
Beta Was this translation helpful? Give feedback.
Yes - for French ASR today, you can start with an existing model instead of training one from scratch. The answer is different from when this question was opened in 2024.
Current FunASR can run Qwen3-ASR-0.6B / 1.7B, whose published language table explicitly includes French (
fr) and supports both offline and streaming inference. A minimal offline example is: