Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pyannote
|
| 2 |
+
|
| 3 |
+
Run **Pyannote** optimized for **Qualcomm SnapDragon device's NPU** with [nexaSDK](https://sdk.nexa.ai).
|
| 4 |
+
|
| 5 |
+
## Quickstart
|
| 6 |
+
|
| 7 |
+
1. **Install NexaSDK** and create a free account at [sdk.nexa.ai](https://sdk.nexa.ai)
|
| 8 |
+
2. **Activate your device** with your access token:
|
| 9 |
+
|
| 10 |
+
```bash
|
| 11 |
+
nexa config set license '<access_token>'
|
| 12 |
+
```
|
| 13 |
+
3. Run the model on Qualcomm NPU in one line:
|
| 14 |
+
|
| 15 |
+
```bash
|
| 16 |
+
nexa infer NexaAI/Pyannote-NPU
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
- Input: Enter input audio path,
|
| 20 |
+
- Output: Returns speech diarization results, or report error if any required input cannot be found
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
## Model Description
|
| 24 |
+
**pyannote-audio (Community Version)** is an open-source **speech diarization** model designed for accurate speaker segmentation and labeling in audio streams.
|
| 25 |
+
Developed by the **Pyannote community**, it combines **audio processing**, **speaker embedding**, and **clustering** into a unified framework, enabling robust speech segmentation on local machines without cloud dependency.
|
| 26 |
+
|
| 27 |
+
## Features
|
| 28 |
+
- 🔊 **End-to-End Diarization Pipeline** — Automatically detects and labels who spoke when in an audio file.
|
| 29 |
+
- ⚡ **Lightweight & Efficient** — Optimized for real-time or batch processing on consumer hardware and GPUs.
|
| 30 |
+
- 🧠 **Speaker Embedding & Clustering** — Extracts rich speaker representations and groups them for identity separation.
|
| 31 |
+
- 🔧 **Customizable & Modular** — Easily integrates with PyTorch pipelines or modified components for research and prototyping.
|
| 32 |
+
- 🌍 **Community-Driven & Transparent** — Fully open and maintained by an active community of speech researchers and developers.
|
| 33 |
+
|
| 34 |
+
## Use Cases
|
| 35 |
+
- **Meeting Transcription**: Segment conversations by speaker for clearer transcripts.
|
| 36 |
+
- **Broadcast and Podcast Analysis**: Attribute voices and structure long-form audio content.
|
| 37 |
+
- **Call Center Analytics**: Separate agent and customer segments for interaction insights.
|
| 38 |
+
- **Research**: Test diarization algorithms or contribute new speaker models.
|
| 39 |
+
- **Voice Dataset Preparation**: Preprocess large audio datasets for training ASR or emotion recognition systems.
|
| 40 |
+
|
| 41 |
+
## Inputs and Outputs
|
| 42 |
+
**Input**
|
| 43 |
+
- Audio file or stream
|
| 44 |
+
|
| 45 |
+
**Output**
|
| 46 |
+
- Speaker-labeled time segments
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
## License
|
| 50 |
+
This repo is licensed under the **Creative Commons Attribution–NonCommercial 4.0 (CC BY-NC 4.0)** license, which allows use, sharing, and modification only for non-commercial purposes with proper attribution.
|
| 51 |
+
All NPU-related models, runtimes, and code in this project are protected under this non-commercial license and cannot be used in any commercial or revenue-generating applications.
|
| 52 |
+
Commercial licensing or enterprise usage requires a separate agreement.
|
| 53 |
+
For inquiries, please contact `dev@nexa.ai`.
|