unhallucinated-faster-whisper


Nameunhallucinated-faster-whisper JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/SYSTRAN/faster-whisper
SummaryFaster Whisper transcription with CTranslate2
upload_time2025-02-11 18:05:58
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords openai whisper speech ctranslate2 inference quantization transformer
VCS
bugtrack_url
requirements ctranslate2 huggingface_hub tokenizers onnxruntime av tqdm
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Unhallucinated Faster Whisper

### Install the package
```
pip install unhallucinated-faster-whisper
```
### Usage (Same as Faster Whisper)
```
from faster_whisper import WhisperModel 
model_size = "turbo"
model = WhisperModel(model_size, device="cpu")  
```

### Enabling the Unhallucination Feature 
Simply pass unhallucinated=True when transcribing
```
segments, info = model.transcribe("voice.mp3", unhallucinated=True)
```

### Model Compatibility

Compatible with all Whisper models.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SYSTRAN/faster-whisper",
    "name": "unhallucinated-faster-whisper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "openai whisper speech ctranslate2 inference quantization transformer",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/07/a9/0c409f5e34a0c6ea6e18d1d913041638a4362492876e4553ba14794f8dc6/unhallucinated_faster_whisper-0.0.3.tar.gz",
    "platform": null,
    "description": "\n# Unhallucinated Faster Whisper\n\n### Install the package\n```\npip install unhallucinated-faster-whisper\n```\n### Usage (Same as Faster Whisper)\n```\nfrom faster_whisper import WhisperModel \nmodel_size = \"turbo\"\nmodel = WhisperModel(model_size, device=\"cpu\")  \n```\n\n### Enabling the Unhallucination Feature \nSimply pass unhallucinated=True when transcribing\n```\nsegments, info = model.transcribe(\"voice.mp3\", unhallucinated=True)\n```\n\n### Model Compatibility\n\nCompatible with all Whisper models.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Faster Whisper transcription with CTranslate2",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/SYSTRAN/faster-whisper"
    },
    "split_keywords": [
        "openai",
        "whisper",
        "speech",
        "ctranslate2",
        "inference",
        "quantization",
        "transformer"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "07dd354d1a58243c9fca47e9f95d943e0ab4b0727aa6293dac3061b9f489d37c",
                "md5": "02acf861c9b22bce9a2dbe664653c7c4",
                "sha256": "1c3bde6523912bedd0097a751696c3bd8ea22cb9f48628ec27298897f58e3411"
            },
            "downloads": -1,
            "filename": "unhallucinated_faster_whisper-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "02acf861c9b22bce9a2dbe664653c7c4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 1205990,
            "upload_time": "2025-02-11T18:05:53",
            "upload_time_iso_8601": "2025-02-11T18:05:53.300573Z",
            "url": "https://files.pythonhosted.org/packages/07/dd/354d1a58243c9fca47e9f95d943e0ab4b0727aa6293dac3061b9f489d37c/unhallucinated_faster_whisper-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "07a90c409f5e34a0c6ea6e18d1d913041638a4362492876e4553ba14794f8dc6",
                "md5": "365a449bf789612ccb00355533180343",
                "sha256": "1758e43c31d6c0403f7d55adaec54a63009d46d10b44ebe300cf7aa6246abec9"
            },
            "downloads": -1,
            "filename": "unhallucinated_faster_whisper-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "365a449bf789612ccb00355533180343",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 1205888,
            "upload_time": "2025-02-11T18:05:58",
            "upload_time_iso_8601": "2025-02-11T18:05:58.115156Z",
            "url": "https://files.pythonhosted.org/packages/07/a9/0c409f5e34a0c6ea6e18d1d913041638a4362492876e4553ba14794f8dc6/unhallucinated_faster_whisper-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-11 18:05:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SYSTRAN",
    "github_project": "faster-whisper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "ctranslate2",
            "specs": [
                [
                    "<",
                    "5"
                ],
                [
                    ">=",
                    "4.0"
                ]
            ]
        },
        {
            "name": "huggingface_hub",
            "specs": [
                [
                    ">=",
                    "0.13"
                ]
            ]
        },
        {
            "name": "tokenizers",
            "specs": [
                [
                    "<",
                    "1"
                ],
                [
                    ">=",
                    "0.13"
                ]
            ]
        },
        {
            "name": "onnxruntime",
            "specs": [
                [
                    ">=",
                    "1.14"
                ],
                [
                    "<",
                    "2"
                ]
            ]
        },
        {
            "name": "av",
            "specs": [
                [
                    ">=",
                    "11"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": []
        }
    ],
    "lcname": "unhallucinated-faster-whisper"
}
        
Elapsed time: 0.89880s