anotherjesse / whisper-updated

test of replicate.com/openai/whisper updated with more recent ubuntu/cudann

  • Public
  • 291 runs
  • T4
  • GitHub
  • Paper
  • License

Input

Run this model in Node.js with one line of code:

npx create-replicate --model=anotherjesse/whisper-updated
or set up a project from scratch
npm install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import and set up the client:
import Replicate from "replicate";

const replicate = new Replicate({
  auth: process.env.REPLICATE_API_TOKEN,
});

Run anotherjesse/whisper-updated using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

const output = await replicate.run(
  "anotherjesse/whisper-updated:96d86907c51f2944dcd240c6b1b22ca86f10ae66ee6f0b623c76bdf343ab80b2",
  {
    input: {
      model: "base",
      format: "text",
      translate: false
    }
  }
);
console.log(output);

To learn more, take a look at the guide on getting started with Node.js.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.023 to run on Replicate, or 43 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 104 seconds. The predict time for this model varies significantly based on the inputs.

Readme

This is a TEST of building https://replicate.com/openai/whisper with a newer version of ubuntu & ffmpeg & cudnn…

See https://replicate.com/openai/whisper to learn more about this model.

See https://github.com/chenxwh/cog-whisper/issues/2 for details of why I built this.

There are NO changes to the code in chenxwh’s port to replicate. The change is to the tool cog which generates the model that is run on replicate. This should support newer m4a and mp4 files generated by Apple products


This model will be deleted after determining how to send a PR to https://github.com/chenxwh/cog-whisper to support more recent FFMPEG