anotherjesse
/
hf-ckpt-import
- Public
- 63 runs
- GitHub
Run anotherjesse/hf-ckpt-import with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
repo_id |
string
|
HF repo id: username/template
|
|
ckpt_file |
string
|
full path of ckpt file in repo
|
|
force_float16 |
boolean
|
True
|
ensure float16 for speed
|
revision |
string
|
main
|
HF repo revision
|
{
"type": "object",
"title": "Input",
"required": [
"repo_id",
"ckpt_file"
],
"properties": {
"repo_id": {
"type": "string",
"title": "Repo Id",
"x-order": 0,
"description": "HF repo id: username/template"
},
"revision": {
"type": "string",
"title": "Revision",
"default": "main",
"x-order": 3,
"description": "HF repo revision"
},
"ckpt_file": {
"type": "string",
"title": "Ckpt File",
"x-order": 1,
"description": "full path of ckpt file in repo"
},
"force_float16": {
"type": "boolean",
"title": "Force Float16",
"default": true,
"x-order": 2,
"description": "ensure float16 for speed"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}