Update README.md
Browse files
README.md
CHANGED
|
@@ -1,49 +1,45 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
pipeline_tag: automatic-speech-recognition
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
| large-v3-turbo-q5_0 | 547 MiB | `e050f7970618a659205450ad97eb95a18d69c9ee` |
|
| 45 |
-
| large-v3-turbo-q8_0 | 834 MiB | `01bf15bedffe9f39d65c1b6ff9b687ea91f59e0e` |
|
| 46 |
-
|
| 47 |
-
For more information, visit:
|
| 48 |
-
|
| 49 |
-
https://github.com/ggerganov/whisper.cpp/tree/master/models
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
pipeline_tag: automatic-speech-recognition
|
| 4 |
+
base_model:
|
| 5 |
+
- ggerganov/whisper.cpp
|
| 6 |
---
|
| 7 |
|
| 8 |
+
# Whisper Models for Lopatnov.Translate
|
| 9 |
+
|
| 10 |
+
This repository contains Whisper models for the [Lopatnov.Translate](https://github.com/lopatnov/translate) service.
|
| 11 |
+
These files are mirrors of the original models from the [ggerganov/whisper.cpp](https://huggingface.co/ggerganov/whisper.cpp) repository.
|
| 12 |
+
|
| 13 |
+
## Configuration
|
| 14 |
+
|
| 15 |
+
To configure model for the service, please modify `appsettings.json`:
|
| 16 |
+
|
| 17 |
+
### Example configuration:
|
| 18 |
+
|
| 19 |
+
```json
|
| 20 |
+
{
|
| 21 |
+
"Models": {
|
| 22 |
+
"whisper-small": {
|
| 23 |
+
"Type": "Whisper",
|
| 24 |
+
"Path": "../../models/audio-to-text/whisper.cpp/ggml-small.bin"
|
| 25 |
+
},
|
| 26 |
+
|
| 27 |
+
// or
|
| 28 |
+
|
| 29 |
+
"whisper-medium": {
|
| 30 |
+
"Type": "Whisper",
|
| 31 |
+
"Path": "../../models/audio-to-text/whisper.cpp/ggml-medium.bin"
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
|
| 35 |
+
"Translation": {
|
| 36 |
+
"AudioToText": "whisper-small" // use the name of the model configuration above
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
*Note: Make sure the `Path` correctly points to the location of your downloaded `.bin` files relative to application.*
|
| 42 |
+
|
| 43 |
+
## Documentation
|
| 44 |
+
|
| 45 |
+
For advanced configuration options, visit the [Official Documentation](https://github.com/lopatnov/translate/blob/main/docs/models.md#whisper).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|