GaoangLau
commited on
Commit
•
11c76cc
1
Parent(s):
ab4564e
add test csv
Browse files
dev.csv
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:29b34420c3e8d27fe9286148442277fd7a7ee41c1234a4f295a559a4ed28d435
|
3 |
+
size 2901
|
dev.py
CHANGED
@@ -16,11 +16,6 @@ import pandas as pd
|
|
16 |
from rich import print
|
17 |
from typing import List, Union, Callable, Set, Dict, Tuple, Optional, Any
|
18 |
|
19 |
-
from pydantic import BaseModel
|
20 |
-
|
21 |
-
import asyncio
|
22 |
-
import aiohttp
|
23 |
-
import aioredis
|
24 |
from codefast.patterns.pipeline import Pipeline, BeeMaxin
|
25 |
# —--------------------------------------------
|
26 |
from datasets import load_dataset
|
@@ -62,6 +57,7 @@ class ToCsv(BeeMaxin):
|
|
62 |
df = pd.concat([df, newdf], axis=0)
|
63 |
df.to_csv('train.csv', index=False)
|
64 |
df.sample(10).to_csv('dev.csv', index=False)
|
|
|
65 |
|
66 |
|
67 |
if __name__ == '__main__':
|
|
|
16 |
from rich import print
|
17 |
from typing import List, Union, Callable, Set, Dict, Tuple, Optional, Any
|
18 |
|
|
|
|
|
|
|
|
|
|
|
19 |
from codefast.patterns.pipeline import Pipeline, BeeMaxin
|
20 |
# —--------------------------------------------
|
21 |
from datasets import load_dataset
|
|
|
57 |
df = pd.concat([df, newdf], axis=0)
|
58 |
df.to_csv('train.csv', index=False)
|
59 |
df.sample(10).to_csv('dev.csv', index=False)
|
60 |
+
df.sample(10).to_csv('test.csv', index=False)
|
61 |
|
62 |
|
63 |
if __name__ == '__main__':
|
test.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1777d2b806a3eb09af33bff4fb7e31a9cf311c7bfca47b96f1dba27b4559b6e
|
3 |
+
size 6218
|