File size: 1,216 Bytes
68c07c1
 
 
fcd708e
 
68c07c1
 
fcd708e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
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
45
46
---
license: mit
pipeline_tag: automatic-speech-recognition
base_model:
- ggerganov/whisper.cpp
---

# Whisper Models for Lopatnov.Translate

This repository contains Whisper models for the [Lopatnov.Translate](https://github.com/lopatnov/translate) service. 
These files are mirrors of the original models from the [ggerganov/whisper.cpp](https://huggingface.co/ggerganov/whisper.cpp) repository. 

## Configuration

To configure model for the service, please modify `appsettings.json`:

### Example configuration:

```json
{
  "Models": {
    "whisper-small": {
        "Type": "Whisper",
        "Path": "../../models/audio-to-text/whisper.cpp/ggml-small.bin"
    },
  
    // or
  
    "whisper-medium": {
      "Type": "Whisper",
      "Path": "../../models/audio-to-text/whisper.cpp/ggml-medium.bin"
    }
  },

  "Translation": {
    "AudioToText": "whisper-small"   // use the name of the model configuration above
  }
}
```

*Note: Make sure the `Path` correctly points to the location of your downloaded `.bin` files relative to application.*

## Documentation

For advanced configuration options, visit the [Official Documentation](https://github.com/lopatnov/translate/blob/main/docs/models.md#whisper).