# Interface: SafetensorsIndexJson

## Properties

### dtype

• `Optional` **dtype**: `string`

#### Defined in[[dtype.defined-in]]

[packages/hub/src/lib/parse-safetensors-metadata.ts:78](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/parse-safetensors-metadata.ts#L78)

___

### metadata

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

#### Defined in[[metadata.defined-in]]

[packages/hub/src/lib/parse-safetensors-metadata.ts:80](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/parse-safetensors-metadata.ts#L80)

___

### weight\_map

• **weight\_map**: `Record`\<`string`, `string`\>

#### Defined in[[weightmap.defined-in]]

[packages/hub/src/lib/parse-safetensors-metadata.ts:82](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/parse-safetensors-metadata.ts#L82)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/hub/interfaces/SafetensorsIndexJson.md" />