Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juanestban/whisper-tnode
https://github.com/juanestban/whisper-tnode
cli ts typescript whisper whisper-cpp whisper-ia whisper-node whisper-node-ts
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/juanestban/whisper-tnode
- Owner: Juanestban
- Created: 2023-10-21T18:24:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-27T21:40:19.000Z (about 1 year ago)
- Last Synced: 2024-12-16T03:43:45.625Z (26 days ago)
- Topics: cli, ts, typescript, whisper, whisper-cpp, whisper-ia, whisper-node, whisper-node-ts
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/whisper-tnode
- Size: 341 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# whisper-tnode
> ⚠ Warining: You will need have installed make command
## Install `make` command
if you be on **Windows**, go [here](https://gnuwin32.sourceforge.net/packages/make.htm) and follow steps for install and can use `make` command
if you are on **Linux** or **Mac**, you can use `apt-get` / `apt` (Linux) or `brew` (Mac)
## getting started
Install
```sh
npm install -D whisper-tnode
``````sh
yarn add -D whisper-tnode
``````sh
pnpm add -D whisper-tnode
```## How to download model
By default without model flag, this will take `base` model whisper
```sh
pnpm whisper-tnode download
```### flags
- `--almute` or `-a` for silent all log when be downloading and compiling the whisper model cpp
- `--model` or `-m`
**log:**
```
| Model | Disk | RAM |
|-----------|--------|---------|
| tiny | 75 MB | ~390 MB |
| tiny.en | 75 MB | ~390 MB |
| base | 142 MB | ~500 MB |
| base.en | 142 MB | ~500 MB |
| small | 466 MB | ~1.0 GB |
| small.en | 466 MB | ~1.0 GB |
| medium | 1.5 GB | ~2.6 GB |
| medium.en | 1.5 GB | ~2.6 GB |
| large-v1 | 2.9 GB | ~4.7 GB |
| large | 2.9 GB | ~4.7 GB |
```