Upload zpcodec/__init__.py with huggingface_hub
Browse files- zpcodec/__init__.py +15 -0
zpcodec/__init__.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
ZPCodec — Neural speech codec with packet-loss repair.
|
| 3 |
+
|
| 4 |
+
Quick start:
|
| 5 |
+
from zpcodec import ZPCodec
|
| 6 |
+
model = ZPCodec.from_pretrained("your-hf-username/zpcodec")
|
| 7 |
+
# or from a local file:
|
| 8 |
+
model = ZPCodec.from_pretrained("path/to/zpcodec_weights.pt")
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from .model import ZPCodec
|
| 12 |
+
from .GilbertElliot import GilbertElliottConfig, GilbertElliottSimulator
|
| 13 |
+
|
| 14 |
+
__version__ = "1.0.0"
|
| 15 |
+
__all__ = ["ZPCodec", "GilbertElliottConfig", "GilbertElliottSimulator"]
|