GbeBenin/FFSTC-2
Viewer • Updated • 33.7k • 136 • 2
How to use malinali-app/whisper-small-fo-fr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="malinali-app/whisper-small-fo-fr") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("malinali-app/whisper-small-fo-fr")
model = AutoModelForSpeechSeq2Seq.from_pretrained("malinali-app/whisper-small-fo-fr", device_map="auto")Fine-tuned openai/whisper-small for
Fon (Fongbe) speech → French text (speech translation, not Fon ASR).
Prototype. Gated on pragmatic metrics (sentence embedding similarity + chrF) on held-out street-style clips. Not medical/legal grade. Expect misses on noise, codeswitching, and long utterances.
GbeBenin/FFSTC-2
(FFSTC 2: Extending the Fongbe to French Speech Translation Corpus).openai/whisper-small, Apache-2.0).| Direction | Supported |
|---|---|
| Fon audio → French text | Yes |
| Fon audio → Fon text | No |
| Other languages | No |
Decode with French forced decoder / language=fr, task=transcribe
(Whisper has no <|fon|> token; training used this setup).
Suggested generation kwargs (anti-hallucination):
dict(
language="fr",
task="transcribe",
num_beams=4,
length_penalty=0.8,
repetition_penalty=1.15,
no_repeat_ngram_size=3,
max_new_tokens=96,
)
2e-5, best checkpoint by MiniLM semantic similarity.Sherpa-onnx int8 graphs: malinali-app/whisper-small-fo-fr-onnx.
Please cite FFSTC-2 and Whisper if you use this model.