Google Analytics, Vercel Web Analytics, Leadsy and the TikTok Pixel stay off until you accept. The help chat starts once you have chosen. The scheduling button starts once you have chosen. Read our Privacy Policy.

Skip to content
StellarFirmStellarFirm
Mission manual
Esc

Type a word to search every page. Try , or .

Module 06 · Integrations

Hugging Face

Let the Coder search models, datasets, Spaces, and papers on the Hugging Face Hub, and read one repository. Read only.

View as Markdown
On this page

Hugging Face hosts models, datasets, Spaces, and papers. Once you connect it, your assistants can search the Hub and read one repository, including the private repositories a read token can see.

Which assistants use it#

What assistants can do#

Hugging Face connects through the Hub's own hosted connector, and StellarFirm offers only its read abilities.

AbilityHow it runs
Search models, datasets, Spaces, and papersReads on its own
Read a repository's details and its filesReads on its own
Read the account the token belongs toReads on its own
Start a Job, create or change a repository, upload files, or call a SpaceNever run through this connection

Setup#

  1. In Hugging Face, open Settings, then Access Tokens, and create a fine-grained token that can read the repositories this assistant should see. A read token is enough, so leave the Jobs and write permissions off. It starts with hf_.
  2. Open Integrations in StellarFirm and pick Hugging Face.
  3. Paste the token, switch on the live option, and press Connect.

Permissions#

  • Nothing here waits for an Approve because nothing here changes data.
  • Public Hub search can answer without a token. The token is what lets an assistant see private repositories and which account is signed in.
  • A fine-grained token without the Jobs permission is the safest choice when you only want reads, since a token that can start Jobs could be used for paid compute elsewhere.
  • Revoke the token in Hugging Face whenever you want to cut access.

Good to know#

  • This connection reads the Hub. To use a model you trained, add it in Settings, Models, as your own model or from Hugging Face.
  • Starting a paid Job and uploading to the Hub are never run through this connection. StellarFirm assistants have no GPU, so the Coder writes the project and a RUN.md, and you start the real run on your own machine or your own provider account. If you have given a Coder's own computer a Hugging Face token, a Job it tries to start waits for your Approve as a spend, and an upload waits as a publish.
  • Never paste a token into the chat or a file in your repository.

Prompts to try#

PromptFind a model

Coder, search the Hub for a text model that can read a long document, and tell me which one to try first, with a link to its page.