Skip to content

Commit 3fd9ce4

Browse files
authored
Merge pull request #136 from MigoXLab/dev
v1.9
2 parents 0c31ada + 548e0b9 commit 3fd9ce4

File tree

125 files changed

+3507
-1517
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+3507
-1517
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"input_path": "test/data/test_local_json.json",
3+
"log_level": "DEBUG",
4+
"dataset": {
5+
"source": "local",
6+
"format": "json",
7+
"field": {
8+
"content": "prediction"
9+
}
10+
},
11+
"executor": {
12+
"rule_list": ["RuleSpecialCharacter", "RuleWatermark"]
13+
},
14+
"evaluator": {
15+
"rule_config": {
16+
"RuleSpecialCharacter": {
17+
"pattern": "[�^□]|\\{\\/U\\}"
18+
},
19+
"RuleWatermark": {
20+
"key_list": ["谢邀", "Architecture of dingo"]
21+
}
22+
}
23+
}
24+
}

.github/env/hf_json.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"input_path": "chupei/format-json",
3+
"dataset": {
4+
"source": "hugging_face",
5+
"format": "json",
6+
"field": {
7+
"prompt": "origin_prompt",
8+
"content": "prediction"
9+
}
10+
},
11+
"executor": {
12+
"eval_group": "default"
13+
}
14+
}

.github/env/hf_jsonl.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"input_path": "chupei/format-jsonl",
3+
"dataset": {
4+
"source": "hugging_face",
5+
"format": "jsonl",
6+
"field": {
7+
"content": "content"
8+
}
9+
},
10+
"executor": {
11+
"eval_group": "default"
12+
}
13+
}

.github/env/hf_listjson.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"input_path": "chupei/format-listjson",
3+
"dataset": {
4+
"source": "hugging_face",
5+
"format": "listjson",
6+
"field": {
7+
"prompt": "instruction",
8+
"content": "output"
9+
}
10+
},
11+
"executor": {
12+
"eval_group": "default"
13+
}
14+
}

.github/env/hf_plaintext.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"input_path": "chupei/format-text",
3+
"dataset": {
4+
"source": "hugging_face",
5+
"format": "plaintext",
6+
"field": {
7+
"content": "text"
8+
}
9+
},
10+
"executor": {
11+
"eval_group": "default"
12+
}
13+
}

.github/env/local_json.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"input_path": "test/data/test_local_json.json",
3+
"dataset": {
4+
"source": "local",
5+
"format": "json",
6+
"field": {
7+
"content": "prediction"
8+
}
9+
},
10+
"executor": {
11+
"eval_group": "default"
12+
}
13+
}

.github/env/local_jsonl.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"input_path": "test/data/test_local_jsonl.jsonl",
3+
"dataset": {
4+
"source": "local",
5+
"format": "jsonl",
6+
"field": {
7+
"content": "content"
8+
}
9+
},
10+
"executor": {
11+
"eval_group": "default"
12+
}
13+
}

.github/env/local_listjson.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"input_path": "test/data/test_local_listjson.json",
3+
"dataset": {
4+
"source": "local",
5+
"format": "listjson",
6+
"field": {
7+
"content": "output"
8+
}
9+
},
10+
"executor": {
11+
"eval_group": "default"
12+
}
13+
}

.github/env/local_plaintext.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"input_path": "test/data/test_local_plaintext.txt",
3+
"dataset": {
4+
"source": "local",
5+
"format": "plaintext"
6+
},
7+
"executor": {
8+
"eval_group": "default"
9+
}
10+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"input_path": "test/data/test_local_plaintext.txt",
3+
"dataset": {
4+
"source": "local",
5+
"format": "plaintext"
6+
},
7+
"executor": {
8+
"eval_group": "default",
9+
"result_save": {
10+
"bad": true
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)