Model Database's logo
Join the Model Database community

and get access to the augmented documentation experience

to get started

Interface: BaseArgs

Properties

accessToken

Optional accessToken: string

The access token to use. Without it, you’ll get rate-limited quickly.

Can be created for free in hf.co/settings/token

Defined in

inference/src/types.ts:69


model

Optional model: string

The model to use. Can be a full URL for HF inference endpoints.

If not specified, will call huggingface.co/api/tasks to get the default model for the task.

Defined in

inference/src/types.ts:75