Huggingface.js documentation
Arayüz: RangeEditCacheEntry
@huggingface/inference
Inference Client KullanAPI referansı
Sınıflar
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Arayüzler
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerSeçeneklerTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Modüller
@huggingface/hub
Hub ile etkileşime girinAPI Referansı
Sınıflar
Arayüzler
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceKimlik BilgileriDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Arayüz: RangeEditCacheEntry
Özellikler
lastTermChunks
• lastTermChunks: { hash: string ; length: number }[]
Son terimin parçaları (hash + uzunluk)
Tanımlandığı yer
packages/hub/src/utils/rangeEdit.ts:29
openSubtree
• openSubtree: null | MerkleHashSubtreeJson
Son terim hariç tüm parçacıkların kısmi merkle durumu
(at_start: true, at_end: false); dosyanın tek bir terimi varsa null.
Tanımlandığı yer
packages/hub/src/utils/rangeEdit.ts:27
boyut
• boyut: number
Toplam dosya boyutu (bayt)
Tanımlandığı yer
packages/hub/src/utils/rangeEdit.ts:20
koşullar
• terimler: OriginalTerm & { rangeHash: string }[]
Dosyanın terimleri, sırasıyla, doğrulama aralığı özetleriyle
Tanımlandığı yer
packages/hub/src/utils/rangeEdit.ts:22
Update on GitHub