default diarization backend in now sortformer
This commit is contained in:
parent
ce781831ee
commit
5258305745
3 changed files with 3 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ The package includes an HTML/JavaScript implementation [here](https://github.com
|
||||||
| Diarization options | Description | Default |
|
| Diarization options | Description | Default |
|
||||||
|-----------|-------------|---------|
|
|-----------|-------------|---------|
|
||||||
| `--diarization` | Enable speaker identification | `False` |
|
| `--diarization` | Enable speaker identification | `False` |
|
||||||
| `--diarization-backend` | `diart` or `sortformer` | `diart` |
|
| `--diarization-backend` | `diart` or `sortformer` | `sortformer` |
|
||||||
| `--punctuation-split` | Use punctuation to improve speaker boundaries | `True` |
|
| `--punctuation-split` | Use punctuation to improve speaker boundaries | `True` |
|
||||||
| `--segmentation-model` | Hugging Face model ID for Diart segmentation model. [Available models](https://github.com/juanmc2005/diart/tree/main?tab=readme-ov-file#pre-trained-models) | `pyannote/segmentation-3.0` |
|
| `--segmentation-model` | Hugging Face model ID for Diart segmentation model. [Available models](https://github.com/juanmc2005/diart/tree/main?tab=readme-ov-file#pre-trained-models) | `pyannote/segmentation-3.0` |
|
||||||
| `--embedding-model` | Hugging Face model ID for Diart embedding model. [Available models](https://github.com/juanmc2005/diart/tree/main?tab=readme-ov-file#pre-trained-models) | `speechbrain/spkrec-ecapa-voxceleb` |
|
| `--embedding-model` | Hugging Face model ID for Diart embedding model. [Available models](https://github.com/juanmc2005/diart/tree/main?tab=readme-ov-file#pre-trained-models) | `speechbrain/spkrec-ecapa-voxceleb` |
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ class TranscriptionEngine:
|
||||||
"static_init_prompt": None,
|
"static_init_prompt": None,
|
||||||
"max_context_tokens": None,
|
"max_context_tokens": None,
|
||||||
"model_path": './base.pt',
|
"model_path": './base.pt',
|
||||||
"diarization_backend": "diart",
|
"diarization_backend": "sortformer",
|
||||||
# diart params:
|
# diart params:
|
||||||
"segmentation_model": "pyannote/segmentation-3.0",
|
"segmentation_model": "pyannote/segmentation-3.0",
|
||||||
"embedding_model": "pyannote/embedding",
|
"embedding_model": "pyannote/embedding",
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ def parse_args():
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--diarization-backend",
|
"--diarization-backend",
|
||||||
type=str,
|
type=str,
|
||||||
default="diart",
|
default="sortformer",
|
||||||
choices=["sortformer", "diart"],
|
choices=["sortformer", "diart"],
|
||||||
help="The diarization backend to use.",
|
help="The diarization backend to use.",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue