Skip to content

Commit e713fad

Browse files
committed
config: add datasets url
Signed-off-by: caozhuozi <[email protected]>
1 parent e68cd26 commit e713fad

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/config.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ The following terms are used in this section:
5959

6060
A URL to get the source code or resources needed to build or understand the model's implementation.
6161

62+
- **datasetsURL** _array of string_, OPTIONAL
63+
64+
A list of links or references to datasets that the model was trained upon.
65+
6266
- **revision** _string_, OPTIONAL
6367

6468
The source control revision identifier for the model.
@@ -163,6 +167,7 @@ Here is an example model artifact configuration JSON document:
163167
"description": "xyz is a large language model.",
164168
"docURL": "https://www.xyz.com/get-started/",
165169
"sourceURL": "https://github.com/xyz/xyz3",
170+
"datasetsURL": ["https://www.xyz.com/datasets/"],
166171
"revision": "1234567890",
167172
"licenses": [
168173
"Apache-2.0"

specs-go/v1/config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ type ModelDescriptor struct {
7373
// The URL to get source code for building the model
7474
SourceURL string `json:"sourceURL,omitempty"`
7575

76+
// The URLs to reference to datasets that the model was trained upon.
77+
DatasetsURL []string `json:"datasetsURL,omitempty"`
78+
7679
// The version of the packaged software
7780
Version string `json:"version,omitempty"`
7881

0 commit comments

Comments
 (0)