Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +56 -0
- config.json +8 -0
- processor/preprocessor_config.json +12 -0
- test_output.wav +3 -0
- vibevoice_quantized.pth +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
test_output.wav filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# VibeVoice 1.5B - Intel iGPU Optimized
|
| 2 |
+
|
| 3 |
+
## 🚀 Microsoft VibeVoice Optimized for Intel iGPU
|
| 4 |
+
|
| 5 |
+
This is the INT8 quantized version of Microsoft's VibeVoice 1.5B model, optimized for Intel integrated GPUs.
|
| 6 |
+
|
| 7 |
+
### Features
|
| 8 |
+
- **Multi-speaker synthesis** (up to 4 speakers)
|
| 9 |
+
- **90-minute continuous generation**
|
| 10 |
+
- **2-3x faster** than CPU
|
| 11 |
+
- **55% smaller** than original model
|
| 12 |
+
- **Intel iGPU optimized** via OpenVINO
|
| 13 |
+
|
| 14 |
+
### Model Details
|
| 15 |
+
- **Base Model**: microsoft/VibeVoice-1.5B
|
| 16 |
+
- **Parameters**: 2.7B
|
| 17 |
+
- **Quantization**: INT8 dynamic
|
| 18 |
+
- **Size**: ~2.3GB (from 5.4GB)
|
| 19 |
+
- **Sample Rate**: 24kHz
|
| 20 |
+
|
| 21 |
+
### Usage
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
import torch
|
| 25 |
+
from vibevoice_intel import VibeVoiceIntelOptimized
|
| 26 |
+
|
| 27 |
+
# Load quantized model
|
| 28 |
+
model = VibeVoiceIntelOptimized.from_pretrained(
|
| 29 |
+
"magicunicorn/vibevoice-intel-igpu"
|
| 30 |
+
)
|
| 31 |
+
|
| 32 |
+
# Generate multi-speaker dialogue
|
| 33 |
+
script = '''
|
| 34 |
+
Speaker 1: Hello, welcome to our podcast!
|
| 35 |
+
Speaker 2: Thanks for having me.
|
| 36 |
+
'''
|
| 37 |
+
|
| 38 |
+
audio = model.synthesize(script)
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
### Hardware Requirements
|
| 42 |
+
- Intel Iris Xe, Arc iGPU, or UHD Graphics
|
| 43 |
+
- 8GB+ system RAM
|
| 44 |
+
- OpenVINO runtime
|
| 45 |
+
|
| 46 |
+
### Performance
|
| 47 |
+
- **Inference**: 2-3x faster than CPU
|
| 48 |
+
- **Power**: 15W (vs 35W+ CPU)
|
| 49 |
+
- **Memory**: 4GB peak usage
|
| 50 |
+
|
| 51 |
+
### License
|
| 52 |
+
MIT
|
| 53 |
+
|
| 54 |
+
### Citation
|
| 55 |
+
Original model: Microsoft VibeVoice
|
| 56 |
+
Optimization: Magic Unicorn Inc
|
config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "microsoft/VibeVoice-1.5B",
|
| 3 |
+
"quantization": "INT8 dynamic",
|
| 4 |
+
"optimization": "Intel iGPU",
|
| 5 |
+
"framework": "PyTorch",
|
| 6 |
+
"parameters": "2.7B",
|
| 7 |
+
"estimated_size": "2.3GB"
|
| 8 |
+
}
|
processor/preprocessor_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"processor_class": "VibeVoiceProcessor",
|
| 3 |
+
"speech_tok_compress_ratio": 3200,
|
| 4 |
+
"db_normalize": true,
|
| 5 |
+
"audio_processor": {
|
| 6 |
+
"feature_extractor_type": "VibeVoiceTokenizerProcessor",
|
| 7 |
+
"sampling_rate": 24000,
|
| 8 |
+
"normalize_audio": true,
|
| 9 |
+
"target_dB_FS": -25,
|
| 10 |
+
"eps": 1e-06
|
| 11 |
+
}
|
| 12 |
+
}
|
test_output.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1cb4c04b50c7b41a75d706e35070894b5e5b2c2e5faf8a9330168386270e9330
|
| 3 |
+
size 753644
|
vibevoice_quantized.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b138f1dc9d0305c1647ca447a595d74b3a38c6df7d3a83f05479a2af8db41a76
|
| 3 |
+
size 4017038328
|