Simply join our Slack and ask Cursor to compile a model, providing a link to the Huggingface repo:
Our compiler agent is powered by Agent Skills that provide detailed instructions on how to write and compile Huggingface models.
The agent will spend anywhere from a few minutes to a few hours writing the required Python inference code for the model, compiling it, and testing that it works:
Once compiled, you can run the compiled model anywhere:
Copy
import { Muna } from "muna"// 💥 Create your Muna clientconst openai = new Muna({ accessKey: "..." }).beta.openai;// 🔥 Make a predictionconst transcription = await openai.audio.transcriptions.create({ model: "moonshine/moonshine-base", file: audioFile});// 🚀 Use the resultsconsole.log(transcription.text);