mudler commited on
Commit
03d8eb8
·
verified ·
1 Parent(s): 31b083d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: it
3
+ license: mit
4
+ tags:
5
+ - whisper
6
+ - automatic-speech-recognition
7
+ - italian
8
+ - localai
9
+ datasets:
10
+ - mozilla-foundation/common_voice_25_0
11
+ base_model: openai/whisper-base
12
+ pipeline_tag: automatic-speech-recognition
13
+ ---
14
+
15
+ # whisper-base-it
16
+
17
+ Fine-tuned [openai/whisper-base](https://huggingface.co/openai/whisper-base) for Italian automatic speech recognition (ASR).
18
+
19
+ **Author:** Ettore Di Giacinto
20
+
21
+ Brought to you by the [LocalAI](https://github.com/mudler/LocalAI) team. This model can be used directly with [LocalAI](https://localai.io).
22
+
23
+ ## Training Details
24
+
25
+ - **Base model:** openai/whisper-base
26
+ - **Dataset:** Common Voice 25.0 Italian (173k train, 15k dev, 15k test)
27
+ - **Steps:** 10,000
28
+ - **Precision:** bf16
29
+
30
+ ## Usage
31
+
32
+ ### Transformers
33
+
34
+ \`\`\`python
35
+ from transformers import pipeline
36
+ pipe = pipeline("automatic-speech-recognition", model="LocalAI-io/whisper-base-it")
37
+ result = pipe("audio.mp3", generate_kwargs={"language": "it", "task": "transcribe"})
38
+ print(result["text"])
39
+ \`\`\`
40
+
41
+ ### CTranslate2 / faster-whisper (INT8, optimized for CPU)
42
+
43
+ See: [LocalAI-io/whisper-base-it-ct2-int8](https://huggingface.co/LocalAI-io/whisper-base-it-ct2-int8)
44
+
45
+ ## Links
46
+
47
+ - **CTranslate2 INT8:** [LocalAI-io/whisper-base-it-ct2-int8](https://huggingface.co/LocalAI-io/whisper-base-it-ct2-int8)
48
+ - **Code:** [github.com/localai-org/whisper-it](https://github.com/localai-org/whisper-it)
49
+ - **LocalAI:** [github.com/mudler/LocalAI](https://github.com/mudler/LocalAI)