Update yaml.py
Browse files
yaml.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
# 定义模型卡元数据
|
4 |
-
model_card_metadata = {
|
5 |
"license": "apache-2.0",
|
6 |
"language": ["en"],
|
7 |
"metrics": ["accuracy", "bertscore"],
|
@@ -40,5 +38,3 @@ model_card_metadata = {
|
|
40 |
}
|
41 |
}
|
42 |
|
43 |
-
# 打印模型卡元数据
|
44 |
-
print(yaml.dump(model_card_metadata, default_flow_style=False))
|
|
|
1 |
+
model_card_metadata =
|
2 |
+
{
|
|
|
|
|
3 |
"license": "apache-2.0",
|
4 |
"language": ["en"],
|
5 |
"metrics": ["accuracy", "bertscore"],
|
|
|
38 |
}
|
39 |
}
|
40 |
|
|
|
|