Huggingface.js documentation

Interface: SafetensorsIndexJson

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: SafetensorsIndexJson

Properties

dtype

Optional dtype: string

Defined in

packages/hub/src/lib/parse-safetensors-metadata.ts:71


metadata

Optional metadata: { total_parameters?: string | number } & Record\<string, string>

Defined in

packages/hub/src/lib/parse-safetensors-metadata.ts:73


weight _ map

weight_map: Record\<string, string>

Defined in

packages/hub/src/lib/parse-safetensors-metadata.ts:75

< > Update on GitHub