Upload folder using huggingface_hub
Browse files
__pycache__/base_info.cpython-312.pyc
ADDED
|
Binary file (31.7 kB). View file
|
|
|
data_format_prepare.py
CHANGED
|
@@ -4,7 +4,7 @@ import json
|
|
| 4 |
|
| 5 |
|
| 6 |
# 替换 response 中的中文
|
| 7 |
-
def replace_keys(d, mapping):
|
| 8 |
if isinstance(d, dict):
|
| 9 |
# 替换字典中的键
|
| 10 |
return {mapping.get(k, k): replace_keys(v, mapping) for k, v in d.items()}
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
# 替换 response 中的中文
|
| 7 |
+
def replace_keys(d, mapping=cn_en_map):
|
| 8 |
if isinstance(d, dict):
|
| 9 |
# 替换字典中的键
|
| 10 |
return {mapping.get(k, k): replace_keys(v, mapping) for k, v in d.items()}
|
magic_mirror_data_test.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f21f1f56454a517f4f23bf9f79b80462436ba51be265272e7b2542d10ee002a
|
| 3 |
+
size 16167427
|
magic_mirror_data_train.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:608b3d29019886b7928a9da816a8a9befdd6f4929e497a968956331edae85271
|
| 3 |
+
size 302323382
|