Huggingface.js documentation
인터페이스: RangeEditCacheEntry
@huggingface/inference
Inference Client 사용API 참조
클래스
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
인터페이스
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntry로거옵션TextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
모듈
@huggingface/hub
Hub와 상호작용하기API 참고
클래스
인터페이스
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySource자격 증명DatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
인터페이스: RangeEditCacheEntry
속성
lastTermChunks
• lastTermChunks: { hash: string ; length: number }[]
마지막 항의 청크(해시 + 길이)
정의 위치
packages/hub/src/utils/rangeEdit.ts:29
openSubtree
• openSubtree: null | MerkleHashSubtreeJson
마지막 term을 제외한 모든 chunk의 partial merkle state
(at_start: true, at_end: false); 파일에 term이 하나만 있는 경우 null.
정의 위치
packages/hub/src/utils/rangeEdit.ts:27
크기
• size: number
바이트 단위 총 파일 크기
정의 위치
packages/hub/src/utils/rangeEdit.ts:20
이용약관
• 조건: OriginalTerm & { rangeHash: string }[]
…
정의 위치
packages/hub/src/utils/rangeEdit.ts:22
Update on GitHub