Upload folder using huggingface_hub
Browse files- README.md +16 -0
- config.json +13 -0
- weights.npz +3 -0
    	
        README.md
    ADDED
    
    | @@ -0,0 +1,16 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            library_name: mlx
         | 
| 3 | 
            +
            ---
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            # whisper-tiny.en-mlx-fp32
         | 
| 6 | 
            +
            This model was converted to MLX format from [`tiny.en`]().
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            ## Use with mlx
         | 
| 9 | 
            +
            ```bash
         | 
| 10 | 
            +
            git clone https://github.com/ml-explore/mlx-examples.git
         | 
| 11 | 
            +
            cd mlx-examples/whisper/
         | 
| 12 | 
            +
            pip install -r requirements.txt
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            >> import whisper
         | 
| 15 | 
            +
            >> whisper.transcribe("FILE_NAME")
         | 
| 16 | 
            +
            ```
         | 
    	
        config.json
    ADDED
    
    | @@ -0,0 +1,13 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
                "n_mels": 80,
         | 
| 3 | 
            +
                "n_audio_ctx": 1500,
         | 
| 4 | 
            +
                "n_audio_state": 384,
         | 
| 5 | 
            +
                "n_audio_head": 6,
         | 
| 6 | 
            +
                "n_audio_layer": 4,
         | 
| 7 | 
            +
                "n_vocab": 51864,
         | 
| 8 | 
            +
                "n_text_ctx": 448,
         | 
| 9 | 
            +
                "n_text_state": 384,
         | 
| 10 | 
            +
                "n_text_head": 6,
         | 
| 11 | 
            +
                "n_text_layer": 4,
         | 
| 12 | 
            +
                "model_type": "whisper"
         | 
| 13 | 
            +
            }
         | 
    	
        weights.npz
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:f7c703ac71d7ec163a7d8f9990ad5f1933b22c7cf663430d6405d70d2f40fae4
         | 
| 3 | 
            +
            size 148786316
         | 
