Run this model with HF Jobs

Run minishlab/potion-base-8M on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/minishlab/potion-base-8M. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/minishlab/potion-base-8M on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

docs: Add FastEmbed usage example

#7
by anush008 - opened

Hi! This PR adds a short example of running potion-base-8M with FastEmbed, a lightweight, fast, Python library built for embedding generation.

FastEmbed has supported the potion models since v0.9.1. It loads model.safetensors straight from this repo, so it uses the same weights as model2vec.

I tested the snippet with fastembed==0.9.1. The embeddings match model2vec (cosine similarity 1.0).

anush008 changed pull request title from Add FastEmbed usage example to docs: Add FastEmbed usage example
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment