oriyonay commited on
Commit
f2c66dc
·
verified ·
1 Parent(s): 0091b3f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -41,10 +41,10 @@ from transformers import AutoModel
41
  model = AutoModel.from_pretrained('oriyonay/myna-85m')
42
 
43
  # Myna supports unbatched (2D) and batched (3D or 4D) inputs:
44
- output = model(torch.randn(128, 96)) # shape (1, 384)
45
- output = model(torch.randn(2, 128, 96)) # shape (2, 384)
46
- output = model(torch.randn(2, 1, 128, 96)) # shape (2, 384)
47
 
48
  # Additionally, you can load audio directly from a file:
49
- output = model.from_file('your_file.wav') # shape (n_chunks, 384)
50
  ```
 
41
  model = AutoModel.from_pretrained('oriyonay/myna-85m')
42
 
43
  # Myna supports unbatched (2D) and batched (3D or 4D) inputs:
44
+ output = model(torch.randn(128, 96)) # shape (1, 1536)
45
+ output = model(torch.randn(2, 128, 96)) # shape (2, 1536)
46
+ output = model(torch.randn(2, 1, 128, 96)) # shape (2, 1536)
47
 
48
  # Additionally, you can load audio directly from a file:
49
+ output = model.from_file('your_file.wav') # shape (n_chunks, 1536)
50
  ```