Add Edda q8_0, Silero VAD and punct-da
Browse files- README.md +27 -0
- ggml-edda-v0.2-q8_0.bin +3 -0
- ggml-silero-v6.2.0.bin +3 -0
- punct-da/config.json +66 -0
- punct-da/model.safetensors +3 -0
- punct-da/vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: mixed
|
| 4 |
+
language:
|
| 5 |
+
- da
|
| 6 |
+
tags:
|
| 7 |
+
- whisper.cpp
|
| 8 |
+
- ggml
|
| 9 |
+
- punctuation
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Eckermann models
|
| 13 |
+
|
| 14 |
+
The model files that the [Eckermann](https://github.com/bhark/eckermann) dictation app downloads on first run. The app pins each file by commit and SHA-256.
|
| 15 |
+
|
| 16 |
+
| File | What it is | Source | License |
|
| 17 |
+
|---|---|---|---|
|
| 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.
|
ggml-edda-v0.2-q8_0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:976dd84ac3e4e209d8c77de921d6fd0e42b624470578cd897bef653a97e6b4b7
|
| 3 |
+
size 874188075
|
ggml-silero-v6.2.0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2aa269b785eeb53a82983a20501ddf7c1d9c48e33ab63a41391ac6c9f7fb6987
|
| 3 |
+
size 885098
|
punct-da/config.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "Maltehb/danish-bert-botxo",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"gradient_checkpointing": false,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout_prob": 0.1,
|
| 12 |
+
"hidden_size": 768,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "OU",
|
| 15 |
+
"1": "OO",
|
| 16 |
+
"2": ".O",
|
| 17 |
+
"3": "!O",
|
| 18 |
+
"4": ",O",
|
| 19 |
+
"5": ".U",
|
| 20 |
+
"6": "!U",
|
| 21 |
+
"7": ",U",
|
| 22 |
+
"8": ":O",
|
| 23 |
+
"9": ";O",
|
| 24 |
+
"10": ":U",
|
| 25 |
+
"11": "'O",
|
| 26 |
+
"12": "-O",
|
| 27 |
+
"13": "?O",
|
| 28 |
+
"14": "?U"
|
| 29 |
+
},
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"intermediate_size": 3072,
|
| 32 |
+
"label2id": {
|
| 33 |
+
"OU": 0,
|
| 34 |
+
"OO": 1,
|
| 35 |
+
".O": 2,
|
| 36 |
+
"!O": 3,
|
| 37 |
+
",O": 4,
|
| 38 |
+
".U": 5,
|
| 39 |
+
"!U": 6,
|
| 40 |
+
",U": 7,
|
| 41 |
+
":O": 8,
|
| 42 |
+
";O": 9,
|
| 43 |
+
":U": 10,
|
| 44 |
+
"'O": 11,
|
| 45 |
+
"-O": 12,
|
| 46 |
+
"?O": 13,
|
| 47 |
+
"?U": 14
|
| 48 |
+
},
|
| 49 |
+
"layer_norm_eps": 1e-12,
|
| 50 |
+
"max_position_embeddings": 512,
|
| 51 |
+
"model_type": "bert",
|
| 52 |
+
"num_attention_heads": 12,
|
| 53 |
+
"num_hidden_layers": 12,
|
| 54 |
+
"pad_token_id": 0,
|
| 55 |
+
"pooler_fc_size": 768,
|
| 56 |
+
"pooler_num_attention_heads": 12,
|
| 57 |
+
"pooler_num_fc_layers": 3,
|
| 58 |
+
"pooler_size_per_head": 128,
|
| 59 |
+
"pooler_type": "first_token_transform",
|
| 60 |
+
"position_embedding_type": "absolute",
|
| 61 |
+
"torch_dtype": "float32",
|
| 62 |
+
"transformers_version": "4.17.0",
|
| 63 |
+
"type_vocab_size": 2,
|
| 64 |
+
"use_cache": true,
|
| 65 |
+
"vocab_size": 32000
|
| 66 |
+
}
|
punct-da/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a7af679dcf1e8b53c6f1a917628f1c5237f89ece496bec12799acca7e128dd1
|
| 3 |
+
size 220099774
|
punct-da/vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|