Update README.md
Browse files
    	
        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,  
     | 
| 45 | 
         
            -
            output = model(torch.randn(2, 128, 96))  # shape (2,  
     | 
| 46 | 
         
            -
            output = model(torch.randn(2, 1, 128, 96))  # shape (2,  
     | 
| 47 | 
         | 
| 48 | 
         
             
            # Additionally, you can load audio directly from a file:
         
     | 
| 49 | 
         
            -
            output = model.from_file('your_file.wav')  # shape (n_chunks,  
     | 
| 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 | 
         
             
            ```
         
     |