File size: 1,430 Bytes
e3ab549
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://huggingface.co/LSW142857/OPSD/raw/main/schema/artifact.schema.json",
  "title": "OPSD checkpoint artifact pointer",
  "type": "object",
  "required": [
    "schema_version",
    "pi_level",
    "teacher_prompt_mode",
    "source_iteration",
    "completed_updates",
    "status",
    "artifact_type",
    "repo_id",
    "revision",
    "public",
    "directly_loadable"
  ],
  "properties": {
    "schema_version": {"const": 1},
    "pi_level": {"enum": ["strong", "medium", "weak"]},
    "teacher_prompt_mode": {"enum": ["first_user", "trailing_user"]},
    "source_iteration": {"type": "integer", "minimum": 0},
    "source_iteration_is_zero_indexed": {"const": true},
    "completed_updates": {"type": "integer", "minimum": 1},
    "status": {"enum": ["available", "training", "planned"]},
    "artifact_type": {
      "enum": ["merged_full_model", "unmerged_lora_plus_full_mtp_split_bundle"]
    },
    "repo_id": {"type": "string", "pattern": "^[^/]+/[^/]+$"},
    "revision": {"type": "string", "pattern": "^[0-9a-f]{40}$"},
    "public": {"type": "boolean"},
    "directly_loadable": {"type": "boolean"},
    "path_in_repo": {"type": "string"},
    "supplemental_adapter_repo": {"type": "string"},
    "includes": {"type": "object"},
    "integrity_files": {"type": "array", "items": {"type": "string"}}
  },
  "additionalProperties": true
}