Update README.md
Browse files
README.md
CHANGED
|
@@ -31,6 +31,7 @@ Our hybrid model, **Myna-22M-Hybrid**, processes both 16x16 and 128x2 patches, a
|
|
| 31 |
To use Myna, install the necessary dependencies:
|
| 32 |
```bash
|
| 33 |
pip3 install -q nnAudio transformers torch
|
|
|
|
| 34 |
|
| 35 |
## Usage
|
| 36 |
```python
|
|
@@ -46,3 +47,4 @@ output = model(torch.randn(2, 1, 128, 96)) # shape (2, 384)
|
|
| 46 |
|
| 47 |
# Additionally, you can load audio directly from a file:
|
| 48 |
output = model.from_file('your_file.wav') # shape (n_chunks, 384)
|
|
|
|
|
|
| 31 |
To use Myna, install the necessary dependencies:
|
| 32 |
```bash
|
| 33 |
pip3 install -q nnAudio transformers torch
|
| 34 |
+
```
|
| 35 |
|
| 36 |
## Usage
|
| 37 |
```python
|
|
|
|
| 47 |
|
| 48 |
# Additionally, you can load audio directly from a file:
|
| 49 |
output = model.from_file('your_file.wav') # shape (n_chunks, 384)
|
| 50 |
+
```
|