Huggingface.js documentation
接口:JobVolume
@huggingface/inference
使用 Inference ClientAPI 参考
类
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
接口
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLogger选项TextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
模块
@huggingface/hub
与 Hub 交互API 参考
类
接口
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySource凭据DatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
接口:JobVolume
属性
mountPath
• mountPath:string
容器内的挂载路径,例如“/data”
定义于
packages/hub/src/types/api/api-jobs.ts:16
path
• Optional 路径:string
要挂载的存储桶/仓库内的子文件夹前缀,例如“path/to/dir”
定义于
packages/hub/src/types/api/api-jobs.ts:22
readOnly
• Optional readOnly:boolean
只读挂载(对于仓库强制为 true,对于存储桶默认为 false)
定义于
packages/hub/src/types/api/api-jobs.ts:20
修订
• Optional revision:string
Git 修订版本(仅适用于仓库,默认为“main”)
定义于
packages/hub/src/types/api/api-jobs.ts:18
source
• source: RepoDesignation
源仓库,例如 “datasets/user/my-dataset”、“user/my-model” 或 { type: “dataset”, name: “user/my-dataset” }
定义于
packages/hub/src/types/api/api-jobs.ts:14
Update on GitHub