Add English models
Browse files- README.md +4 -1
- ggml-large-v3-turbo-q8_0.bin +3 -0
- punct-en/config.json +58 -0
- punct-en/model.safetensors +3 -0
- punct-en/vocab.txt +0 -0
README.md
CHANGED
|
@@ -3,6 +3,7 @@ license: other
|
|
| 3 |
license_name: mixed
|
| 4 |
language:
|
| 5 |
- da
|
|
|
|
| 6 |
tags:
|
| 7 |
- whisper.cpp
|
| 8 |
- ggml
|
|
@@ -18,10 +19,12 @@ The model files that the [Eckermann](https://github.com/bhark/eckermann) dictati
|
|
| 18 |
| `ggml-edda-v0.2-q8_0.bin` | Edda v0.2 Danish speech recognition, converted to GGML and quantized to q8_0 | [danish-foundation-models/edda-v0.2](https://huggingface.co/danish-foundation-models/edda-v0.2) at `698f8d0`, by the Alexandra Institute in the CoRal project. Based on [openai/whisper-large-v3-turbo](https://huggingface.co/openai/whisper-large-v3-turbo) (MIT) | Apache 2.0 |
|
| 19 |
| `ggml-silero-v6.2.0.bin` | Silero VAD v6.2.0, unchanged | [ggml-org/whisper-vad](https://huggingface.co/ggml-org/whisper-vad), from [snakers4/silero-vad](https://github.com/snakers4/silero-vad) | MIT |
|
| 20 |
| `punct-da/` | Danish punctuation and casing restoration, weights as f16 safetensors | [Alvenir/bert-punct-restoration-da](https://huggingface.co/Alvenir/bert-punct-restoration-da) at `922d302`. Based on [Maltehb/danish-bert-botxo](https://huggingface.co/Maltehb/danish-bert-botxo) by BotXO (CC BY 4.0) | Apache 2.0 |
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## How the files were made
|
| 23 |
|
| 24 |
- Edda: `models/convert-h5-to-ggml.py` from [whisper.cpp](https://github.com/ggml-org/whisper.cpp) at `231638a`, then `whisper-quantize` with `q8_0`.
|
| 25 |
-
- punct-da: [`bench/punct_model.py`](https://github.com/bhark/eckermann/blob/main/bench/punct_model.py) in the Eckermann repo.
|
| 26 |
|
| 27 |
The licenses of the original models apply to these copies.
|
|
|
|
| 3 |
license_name: mixed
|
| 4 |
language:
|
| 5 |
- da
|
| 6 |
+
- en
|
| 7 |
tags:
|
| 8 |
- whisper.cpp
|
| 9 |
- ggml
|
|
|
|
| 19 |
| `ggml-edda-v0.2-q8_0.bin` | Edda v0.2 Danish speech recognition, converted to GGML and quantized to q8_0 | [danish-foundation-models/edda-v0.2](https://huggingface.co/danish-foundation-models/edda-v0.2) at `698f8d0`, by the Alexandra Institute in the CoRal project. Based on [openai/whisper-large-v3-turbo](https://huggingface.co/openai/whisper-large-v3-turbo) (MIT) | Apache 2.0 |
|
| 20 |
| `ggml-silero-v6.2.0.bin` | Silero VAD v6.2.0, unchanged | [ggml-org/whisper-vad](https://huggingface.co/ggml-org/whisper-vad), from [snakers4/silero-vad](https://github.com/snakers4/silero-vad) | MIT |
|
| 21 |
| `punct-da/` | Danish punctuation and casing restoration, weights as f16 safetensors | [Alvenir/bert-punct-restoration-da](https://huggingface.co/Alvenir/bert-punct-restoration-da) at `922d302`. Based on [Maltehb/danish-bert-botxo](https://huggingface.co/Maltehb/danish-bert-botxo) by BotXO (CC BY 4.0) | Apache 2.0 |
|
| 22 |
+
| `ggml-large-v3-turbo-q8_0.bin` | Whisper large-v3-turbo for English, GGML q8_0, unchanged | [ggerganov/whisper.cpp](https://huggingface.co/ggerganov/whisper.cpp) at `5359861`, from [openai/whisper-large-v3-turbo](https://huggingface.co/openai/whisper-large-v3-turbo) | MIT |
|
| 23 |
+
| `punct-en/` | English punctuation and casing restoration, weights as f16 safetensors | [felflare/bert-restore-punctuation](https://huggingface.co/felflare/bert-restore-punctuation) at `954108a`. Based on [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) (Apache 2.0) | MIT |
|
| 24 |
|
| 25 |
## How the files were made
|
| 26 |
|
| 27 |
- Edda: `models/convert-h5-to-ggml.py` from [whisper.cpp](https://github.com/ggml-org/whisper.cpp) at `231638a`, then `whisper-quantize` with `q8_0`.
|
| 28 |
+
- punct-da and punct-en: [`bench/punct_model.py`](https://github.com/bhark/eckermann/blob/main/bench/punct_model.py) in the Eckermann repo.
|
| 29 |
|
| 30 |
The licenses of the original models apply to these copies.
|
ggml-large-v3-turbo-q8_0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:317eb69c11673c9de1e1f0d459b253999804ec71ac4c23c17ecf5fbe24e259a1
|
| 3 |
+
size 874188075
|
punct-en/config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "bert-base-uncased",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"gradient_checkpointing": false,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "OU",
|
| 13 |
+
"1": "OO",
|
| 14 |
+
"2": ".O",
|
| 15 |
+
"3": "!O",
|
| 16 |
+
"4": ",O",
|
| 17 |
+
"5": ".U",
|
| 18 |
+
"6": "!U",
|
| 19 |
+
"7": ",U",
|
| 20 |
+
"8": ":O",
|
| 21 |
+
"9": ";O",
|
| 22 |
+
"10": ":U",
|
| 23 |
+
"11": "'O",
|
| 24 |
+
"12": "-O",
|
| 25 |
+
"13": "?O",
|
| 26 |
+
"14": "?U"
|
| 27 |
+
},
|
| 28 |
+
"initializer_range": 0.02,
|
| 29 |
+
"intermediate_size": 3072,
|
| 30 |
+
"label2id": {
|
| 31 |
+
"OU": 0,
|
| 32 |
+
"OO": 1,
|
| 33 |
+
".O": 2,
|
| 34 |
+
"!O": 3,
|
| 35 |
+
",O": 4,
|
| 36 |
+
".U": 5,
|
| 37 |
+
"!U": 6,
|
| 38 |
+
",U": 7,
|
| 39 |
+
":O": 8,
|
| 40 |
+
";O": 9,
|
| 41 |
+
":U": 10,
|
| 42 |
+
"'O": 11,
|
| 43 |
+
"-O": 12,
|
| 44 |
+
"?O": 13,
|
| 45 |
+
"?U": 14
|
| 46 |
+
},
|
| 47 |
+
"layer_norm_eps": 1e-12,
|
| 48 |
+
"max_position_embeddings": 512,
|
| 49 |
+
"model_type": "bert",
|
| 50 |
+
"num_attention_heads": 12,
|
| 51 |
+
"num_hidden_layers": 12,
|
| 52 |
+
"pad_token_id": 0,
|
| 53 |
+
"position_embedding_type": "absolute",
|
| 54 |
+
"transformers_version": "4.6.0",
|
| 55 |
+
"type_vocab_size": 2,
|
| 56 |
+
"use_cache": true,
|
| 57 |
+
"vocab_size": 30522
|
| 58 |
+
}
|
punct-en/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65aa41f7ce487063656dbda4b3e78bc54680bae2d91c254d78e6c02545a1256a
|
| 3 |
+
size 217829558
|
punct-en/vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|