Huggingface.js documentation

الواجهة: JobVolume

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

الواجهة: 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

تركيب للقراءة فقط (يُفرض كقيمة صحيحة للمستودعات، والافتراضي هو القيمة الخاطئة للحاويات)

معرّف في

packages/hub/src/types/api/api-jobs.ts:20


مراجعة

• Optional revision: string

مراجعة Git (للمستودعات فقط، القيمة الافتراضية هي “main”)

معرّف في

packages/hub/src/types/api/api-jobs.ts:18


المصدر

• المصدر: 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