eubinecto
commited on
Commit
•
cfa482d
1
Parent(s):
db59338
implemented a working fetcher
Browse files- .gitignore +5 -0
- README.md +7 -0
- config.yaml +0 -0
- explore/explore_fetch_wisdom2def.py +15 -0
- idiomify/__init__.py +0 -0
- idiomify/fetchers.py +30 -0
- idiomify/models.py +9 -0
- idiomify/paths.py +16 -0
- main_infer.py +0 -0
- main_train.py +0 -0
- requirements.txt +68 -0
- wandb/latest-run +1 -0
- wandb/run-20220120_131057-39a70no5/files/conda-environment.yaml +82 -0
- wandb/run-20220120_131057-39a70no5/files/config.yaml +21 -0
- wandb/run-20220120_131057-39a70no5/files/diff.patch +77 -0
- wandb/run-20220120_131057-39a70no5/files/requirements.txt +62 -0
- wandb/run-20220120_131057-39a70no5/files/wandb-metadata.json +31 -0
- wandb/run-20220120_131057-39a70no5/files/wandb-summary.json +1 -0
- wandb/run-20220120_131057-39a70no5/run-39a70no5.wandb +0 -0
- wandb/run-20220120_131124-isjyx9fs/files/conda-environment.yaml +82 -0
- wandb/run-20220120_131124-isjyx9fs/files/config.yaml +21 -0
- wandb/run-20220120_131124-isjyx9fs/files/diff.patch +77 -0
- wandb/run-20220120_131124-isjyx9fs/files/requirements.txt +62 -0
- wandb/run-20220120_131124-isjyx9fs/files/wandb-metadata.json +31 -0
- wandb/run-20220120_131124-isjyx9fs/files/wandb-summary.json +1 -0
- wandb/run-20220120_131124-isjyx9fs/run-isjyx9fs.wandb +0 -0
.gitignore
CHANGED
@@ -127,3 +127,8 @@ dmypy.json
|
|
127 |
|
128 |
# Pyre type checker
|
129 |
.pyre/
|
|
|
|
|
|
|
|
|
|
|
|
127 |
|
128 |
# Pyre type checker
|
129 |
.pyre/
|
130 |
+
|
131 |
+
artifacts
|
132 |
+
wandb
|
133 |
+
.idea
|
134 |
+
|
README.md
CHANGED
@@ -1,2 +1,9 @@
|
|
1 |
# idiomify-demo
|
2 |
Cross-lingual reverse dictionary of English idioms
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# idiomify-demo
|
2 |
Cross-lingual reverse dictionary of English idioms
|
3 |
+
|
4 |
+
|
5 |
+
## Requirements
|
6 |
+
- wandb
|
7 |
+
- pytorch-lightning
|
8 |
+
- transformers
|
9 |
+
- pandas
|
config.yaml
ADDED
File without changes
|
explore/explore_fetch_wisdom2def.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from idiomify.fetchers import fetch_wisdom2def
|
2 |
+
|
3 |
+
|
4 |
+
def main():
|
5 |
+
df = fetch_wisdom2def("c")
|
6 |
+
for idx, row in df.iterrows():
|
7 |
+
print(row[0], row[1])
|
8 |
+
|
9 |
+
df = fetch_wisdom2def("d")
|
10 |
+
for idx, row in df.iterrows():
|
11 |
+
print(row[0], row[1])
|
12 |
+
|
13 |
+
|
14 |
+
if __name__ == '__main__':
|
15 |
+
main()
|
idiomify/__init__.py
ADDED
File without changes
|
idiomify/fetchers.py
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import wandb
|
2 |
+
import pandas as pd
|
3 |
+
from transformers import BertTokenizer
|
4 |
+
from idiomify.models import Alpha, Gamma
|
5 |
+
from idiomify.paths import wisdom2def_dir
|
6 |
+
|
7 |
+
|
8 |
+
# dataset
|
9 |
+
def fetch_wisdom2def(ver: str) -> pd.DataFrame:
|
10 |
+
artifact = wandb.Api().artifact(f"eubinecto/idiomify-demo/wisdom2def:{ver}", type="dataset")
|
11 |
+
artifact_path = wisdom2def_dir(ver)
|
12 |
+
artifact.download(root=str(artifact_path))
|
13 |
+
tsv_path = artifact_path / "all.tsv"
|
14 |
+
df = pd.read_csv(str(tsv_path), delimiter="\t")
|
15 |
+
return df
|
16 |
+
|
17 |
+
|
18 |
+
# models
|
19 |
+
def fetch_alpha(ver: str) -> Alpha:
|
20 |
+
pass
|
21 |
+
|
22 |
+
|
23 |
+
def fetch_gamma(ver: str) -> Gamma:
|
24 |
+
pass
|
25 |
+
|
26 |
+
|
27 |
+
def fetch_config() -> dict:
|
28 |
+
pass
|
29 |
+
|
30 |
+
|
idiomify/models.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
class Alpha:
|
4 |
+
pass
|
5 |
+
|
6 |
+
|
7 |
+
class Gamma:
|
8 |
+
pass
|
9 |
+
|
idiomify/paths.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from pathlib import Path
|
2 |
+
|
3 |
+
ROOT_DIR = Path(__file__).resolve().parent.parent
|
4 |
+
ARTIFACTS_DIR = ROOT_DIR / "artifacts"
|
5 |
+
|
6 |
+
|
7 |
+
def wisdom2def_dir(ver: str) -> Path:
|
8 |
+
return ARTIFACTS_DIR / f"wisdom2def_{ver}"
|
9 |
+
|
10 |
+
|
11 |
+
def alpha_dir(ver: str) -> Path:
|
12 |
+
return ARTIFACTS_DIR / f"alpha_{ver}"
|
13 |
+
|
14 |
+
|
15 |
+
def gamma_dir(ver: str) -> Path:
|
16 |
+
return ARTIFACTS_DIR / f"beta_{ver}"
|
main_infer.py
ADDED
File without changes
|
main_train.py
ADDED
File without changes
|
requirements.txt
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
absl-py==1.0.0
|
2 |
+
aiohttp==3.8.1
|
3 |
+
aiosignal==1.2.0
|
4 |
+
async-timeout==4.0.2
|
5 |
+
attrs==21.4.0
|
6 |
+
cachetools==4.2.4
|
7 |
+
certifi==2021.10.8
|
8 |
+
charset-normalizer==2.0.10
|
9 |
+
click==8.0.3
|
10 |
+
configparser==5.2.0
|
11 |
+
docker-pycreds==0.4.0
|
12 |
+
filelock==3.4.2
|
13 |
+
frozenlist==1.3.0
|
14 |
+
fsspec==2022.1.0
|
15 |
+
future==0.18.2
|
16 |
+
gitdb==4.0.9
|
17 |
+
GitPython==3.1.26
|
18 |
+
google-auth==2.3.3
|
19 |
+
google-auth-oauthlib==0.4.6
|
20 |
+
grpcio==1.43.0
|
21 |
+
huggingface-hub==0.4.0
|
22 |
+
idna==3.3
|
23 |
+
importlib-metadata==4.10.1
|
24 |
+
joblib==1.1.0
|
25 |
+
Markdown==3.3.6
|
26 |
+
multidict==5.2.0
|
27 |
+
numpy==1.22.1
|
28 |
+
oauthlib==3.1.1
|
29 |
+
packaging==21.3
|
30 |
+
pathtools==0.1.2
|
31 |
+
promise==2.3
|
32 |
+
protobuf==3.19.3
|
33 |
+
psutil==5.9.0
|
34 |
+
pyasn1==0.4.8
|
35 |
+
pyasn1-modules==0.2.8
|
36 |
+
pyDeprecate==0.3.1
|
37 |
+
pyparsing==3.0.6
|
38 |
+
python-dateutil==2.8.2
|
39 |
+
pytorch-lightning==1.5.8
|
40 |
+
PyYAML==6.0
|
41 |
+
regex==2022.1.18
|
42 |
+
requests==2.27.1
|
43 |
+
requests-oauthlib==1.3.0
|
44 |
+
rsa==4.8
|
45 |
+
sacremoses==0.0.47
|
46 |
+
sentry-sdk==1.5.2
|
47 |
+
shortuuid==1.0.8
|
48 |
+
six==1.16.0
|
49 |
+
smmap==5.0.0
|
50 |
+
subprocess32==3.5.4
|
51 |
+
tensorboard==2.7.0
|
52 |
+
tensorboard-data-server==0.6.1
|
53 |
+
tensorboard-plugin-wit==1.8.1
|
54 |
+
termcolor==1.1.0
|
55 |
+
tokenizers==0.10.3
|
56 |
+
torch==1.10.1
|
57 |
+
torchmetrics==0.7.0
|
58 |
+
tqdm==4.62.3
|
59 |
+
transformers==4.15.0
|
60 |
+
typing_extensions==4.0.1
|
61 |
+
urllib3==1.26.8
|
62 |
+
wandb==0.12.9
|
63 |
+
Werkzeug==2.0.2
|
64 |
+
yarl==1.7.2
|
65 |
+
yaspin==2.1.0
|
66 |
+
zipp==3.7.0
|
67 |
+
|
68 |
+
pandas~=1.3.5
|
wandb/latest-run
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
run-20220120_133013-zhqz22ma
|
wandb/run-20220120_131057-39a70no5/files/conda-environment.yaml
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: idiomify-demo
|
2 |
+
channels:
|
3 |
+
- conda-forge
|
4 |
+
dependencies:
|
5 |
+
- bzip2=1.0.8=h3422bc3_4
|
6 |
+
- ca-certificates=2021.10.8=h4653dfc_0
|
7 |
+
- libffi=3.4.2=h3422bc3_5
|
8 |
+
- libzlib=1.2.11=hee7b306_1013
|
9 |
+
- ncurses=6.3=hc470f4d_0
|
10 |
+
- openssl=3.0.0=h3422bc3_2
|
11 |
+
- pip=21.3.1=pyhd8ed1ab_0
|
12 |
+
- python=3.9.9=h43b31ca_0_cpython
|
13 |
+
- python_abi=3.9=2_cp39
|
14 |
+
- readline=8.1=hedafd6a_0
|
15 |
+
- setuptools=60.5.0=py39h2804cbe_0
|
16 |
+
- sqlite=3.37.0=h72a2b83_0
|
17 |
+
- tk=8.6.11=he1e0b03_1
|
18 |
+
- tzdata=2021e=he74cb21_0
|
19 |
+
- wheel=0.37.1=pyhd8ed1ab_0
|
20 |
+
- xz=5.2.5=h642e427_1
|
21 |
+
- zlib=1.2.11=hee7b306_1013
|
22 |
+
- pip:
|
23 |
+
- absl-py==1.0.0
|
24 |
+
- aiohttp==3.8.1
|
25 |
+
- aiosignal==1.2.0
|
26 |
+
- async-timeout==4.0.2
|
27 |
+
- attrs==21.4.0
|
28 |
+
- cachetools==4.2.4
|
29 |
+
- certifi==2021.10.8
|
30 |
+
- charset-normalizer==2.0.10
|
31 |
+
- click==8.0.3
|
32 |
+
- configparser==5.2.0
|
33 |
+
- docker-pycreds==0.4.0
|
34 |
+
- frozenlist==1.3.0
|
35 |
+
- fsspec==2022.1.0
|
36 |
+
- future==0.18.2
|
37 |
+
- gitdb==4.0.9
|
38 |
+
- gitpython==3.1.26
|
39 |
+
- google-auth==2.3.3
|
40 |
+
- google-auth-oauthlib==0.4.6
|
41 |
+
- grpcio==1.43.0
|
42 |
+
- idna==3.3
|
43 |
+
- importlib-metadata==4.10.1
|
44 |
+
- markdown==3.3.6
|
45 |
+
- multidict==5.2.0
|
46 |
+
- numpy==1.22.1
|
47 |
+
- oauthlib==3.1.1
|
48 |
+
- packaging==21.3
|
49 |
+
- pathtools==0.1.2
|
50 |
+
- promise==2.3
|
51 |
+
- protobuf==3.19.3
|
52 |
+
- psutil==5.9.0
|
53 |
+
- pyasn1==0.4.8
|
54 |
+
- pyasn1-modules==0.2.8
|
55 |
+
- pydeprecate==0.3.1
|
56 |
+
- pyparsing==3.0.6
|
57 |
+
- python-dateutil==2.8.2
|
58 |
+
- pytorch-lightning==1.5.8
|
59 |
+
- pyyaml==6.0
|
60 |
+
- requests==2.27.1
|
61 |
+
- requests-oauthlib==1.3.0
|
62 |
+
- rsa==4.8
|
63 |
+
- sentry-sdk==1.5.2
|
64 |
+
- shortuuid==1.0.8
|
65 |
+
- six==1.16.0
|
66 |
+
- smmap==5.0.0
|
67 |
+
- subprocess32==3.5.4
|
68 |
+
- tensorboard==2.7.0
|
69 |
+
- tensorboard-data-server==0.6.1
|
70 |
+
- tensorboard-plugin-wit==1.8.1
|
71 |
+
- termcolor==1.1.0
|
72 |
+
- torch==1.10.1
|
73 |
+
- torchmetrics==0.7.0
|
74 |
+
- tqdm==4.62.3
|
75 |
+
- typing-extensions==4.0.1
|
76 |
+
- urllib3==1.26.8
|
77 |
+
- wandb==0.12.9
|
78 |
+
- werkzeug==2.0.2
|
79 |
+
- yarl==1.7.2
|
80 |
+
- yaspin==2.1.0
|
81 |
+
- zipp==3.7.0
|
82 |
+
prefix: /opt/homebrew/Caskroom/miniforge/base/envs/idiomify-demo
|
wandb/run-20220120_131057-39a70no5/files/config.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
wandb_version: 1
|
2 |
+
|
3 |
+
_wandb:
|
4 |
+
desc: null
|
5 |
+
value:
|
6 |
+
cli_version: 0.12.9
|
7 |
+
is_jupyter_run: false
|
8 |
+
is_kaggle_kernel: false
|
9 |
+
python_version: 3.9.9
|
10 |
+
start_time: 1642651857
|
11 |
+
t:
|
12 |
+
3:
|
13 |
+
- 16
|
14 |
+
4: 3.9.9
|
15 |
+
5: 0.12.9
|
16 |
+
8:
|
17 |
+
- 4
|
18 |
+
- 5
|
19 |
+
path:
|
20 |
+
desc: null
|
21 |
+
value: artifacts/wisdom2def_c.tsv
|
wandb/run-20220120_131057-39a70no5/files/diff.patch
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/README.md b/README.md
|
2 |
+
index f7b5541..167966c 100644
|
3 |
+
--- a/README.md
|
4 |
+
+++ b/README.md
|
5 |
+
@@ -1,2 +1,7 @@
|
6 |
+
# idiomify-demo
|
7 |
+
Cross-lingual reverse dictionary of English idioms
|
8 |
+
+
|
9 |
+
+
|
10 |
+
+## Requirements
|
11 |
+
+- wandb
|
12 |
+
+- pytorch-lightning
|
13 |
+
|
14 |
+
diff --git a/artifacts/wisdom2def_c.tsv b/artifacts/wisdom2def_c.tsv
|
15 |
+
new file mode 100644
|
16 |
+
index 0000000..324d169
|
17 |
+
--- /dev/null
|
18 |
+
+++ b/artifacts/wisdom2def_c.tsv
|
19 |
+
@@ -0,0 +1,25 @@
|
20 |
+
+beat around the bush To fail to come to the important point about something
|
21 |
+
+beat around the bush To speak vaguely or euphemistically so as to avoid talkingdirectly about an unpleasant or sensitive topic
|
22 |
+
+beat around the bush Indirection in word or deed
|
23 |
+
+beat around the bush to shilly-shally
|
24 |
+
+beat around the bush to approach something in a roundabout way
|
25 |
+
+backhanded compliment An insulting or negative comment disguised as praise.
|
26 |
+
+backhanded compliment an unintended or ambiguous compliment.
|
27 |
+
+backhanded compliment a remark which seems to be praising someone or something but which could also be understood as criticism
|
28 |
+
+backhanded compliment a remark that seems to say something pleasant about a person but could also be an insult
|
29 |
+
+backhanded compliment a remark that seems to express admiration but could also be understood as an insult
|
30 |
+
+steer clear of To avoid someone or something.
|
31 |
+
+steer clear of Stay away from
|
32 |
+
+steer clear of take care to avoid or keep away from
|
33 |
+
+steer clear of to avoid someone or something that seems unpleasant, dangerous, or likely to cause problems
|
34 |
+
+steer clear of deliberately avoid someone
|
35 |
+
+dish it out To voice harsh thoughts, criticisms, or insults.
|
36 |
+
+dish it out To gossip about someone or something
|
37 |
+
+dish it out To give something, or to tell something such as information or your opinions
|
38 |
+
+dish it out someone easily criticizes other people but does not like it when other people criticize him or her
|
39 |
+
+dish it out to criticize other people
|
40 |
+
+make headway make progress with something that you are trying to achieve.
|
41 |
+
+make headway make progress, especially when this is slow or difficult
|
42 |
+
+make headway To advance.
|
43 |
+
+make headway to move forward or make progress
|
44 |
+
+make headway to begin to succeed
|
45 |
+
|
46 |
+
diff --git a/artifacts/wisdom2def_d.tsv b/artifacts/wisdom2def_d.tsv
|
47 |
+
new file mode 100644
|
48 |
+
index 0000000..74549d8
|
49 |
+
--- /dev/null
|
50 |
+
+++ b/artifacts/wisdom2def_d.tsv
|
51 |
+
@@ -0,0 +1,25 @@
|
52 |
+
+beat around the bush 어떤 것에 대해 중요한 요점을 찾지 못하는 것
|
53 |
+
+beat around the bush 불쾌하거나 민감한 주제에 대해 직접적으로 이야기하는 것을 피하기 위해 모호하거나 완곡하게 말한다.
|
54 |
+
+beat around the bush 단어나 태도가 우회적이다
|
55 |
+
+beat around the bush 우물쭈물하다
|
56 |
+
+beat around the bush 우회적으로 접근하다
|
57 |
+
+backhanded compliment 칭찬으로 가장한 모욕적이거나 부정적인 논평
|
58 |
+
+backhanded compliment 의도하지 않거나 애매한 칭찬
|
59 |
+
+backhanded compliment 누군가를 칭찬하는 것 같지만 비판으로도 이해될 수 있는 말
|
60 |
+
+backhanded compliment 남을 기쁘게 하는 말 같지만 모욕이 될 수도 있는 말
|
61 |
+
+backhanded compliment 감탄하는 듯 하면서도 모욕으로 이해될 수 있는 말
|
62 |
+
+steer clear of 누군가나 뭔가를 피하다
|
63 |
+
+steer clear of 떨어져 지내다
|
64 |
+
+steer clear of 피하거나 멀리하도록 주의하다
|
65 |
+
+steer clear of 불쾌하거나 위험하거나 문제를 일으킬 것 같은 사람이나 물건을 피하다
|
66 |
+
+steer clear of 일부러 피하다
|
67 |
+
+dish it out 가혹한 생각, 비판, 또는 모욕의 목소리를 내는 것.
|
68 |
+
+dish it out 누군가 또는 무언가에 대해 험담하는 것
|
69 |
+
+dish it out 어떤 것을 주거나 정보나 당신의 의견과 같은 것을 말하는 것
|
70 |
+
+dish it out 다른 사람을 쉽게 비판하지만 다른 사람이 자신을 비판할때는 좋아하지 않음
|
71 |
+
+dish it out 다른 사람을 비판하다
|
72 |
+
+make headway 성취하고자 하는 어떤 것에 진척이 생기다
|
73 |
+
+make headway 특히 이것이 느리거나 어려울 때, 진전을 이루다.
|
74 |
+
+make headway 전진하다
|
75 |
+
+make headway 앞으로 나아가거나 진전을 이루다
|
76 |
+
+make headway 성공하기 시작하다
|
77 |
+
|
wandb/run-20220120_131057-39a70no5/files/requirements.txt
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
absl-py==1.0.0
|
2 |
+
aiohttp==3.8.1
|
3 |
+
aiosignal==1.2.0
|
4 |
+
async-timeout==4.0.2
|
5 |
+
attrs==21.4.0
|
6 |
+
cachetools==4.2.4
|
7 |
+
certifi==2021.10.8
|
8 |
+
charset-normalizer==2.0.10
|
9 |
+
click==8.0.3
|
10 |
+
configparser==5.2.0
|
11 |
+
docker-pycreds==0.4.0
|
12 |
+
frozenlist==1.3.0
|
13 |
+
fsspec==2022.1.0
|
14 |
+
future==0.18.2
|
15 |
+
gitdb==4.0.9
|
16 |
+
gitpython==3.1.26
|
17 |
+
google-auth-oauthlib==0.4.6
|
18 |
+
google-auth==2.3.3
|
19 |
+
grpcio==1.43.0
|
20 |
+
idna==3.3
|
21 |
+
importlib-metadata==4.10.1
|
22 |
+
markdown==3.3.6
|
23 |
+
multidict==5.2.0
|
24 |
+
numpy==1.22.1
|
25 |
+
oauthlib==3.1.1
|
26 |
+
packaging==21.3
|
27 |
+
pathtools==0.1.2
|
28 |
+
pip==21.3.1
|
29 |
+
promise==2.3
|
30 |
+
protobuf==3.19.3
|
31 |
+
psutil==5.9.0
|
32 |
+
pyasn1-modules==0.2.8
|
33 |
+
pyasn1==0.4.8
|
34 |
+
pydeprecate==0.3.1
|
35 |
+
pyparsing==3.0.6
|
36 |
+
python-dateutil==2.8.2
|
37 |
+
pytorch-lightning==1.5.8
|
38 |
+
pyyaml==6.0
|
39 |
+
requests-oauthlib==1.3.0
|
40 |
+
requests==2.27.1
|
41 |
+
rsa==4.8
|
42 |
+
sentry-sdk==1.5.2
|
43 |
+
setuptools==60.5.0
|
44 |
+
shortuuid==1.0.8
|
45 |
+
six==1.16.0
|
46 |
+
smmap==5.0.0
|
47 |
+
subprocess32==3.5.4
|
48 |
+
tensorboard-data-server==0.6.1
|
49 |
+
tensorboard-plugin-wit==1.8.1
|
50 |
+
tensorboard==2.7.0
|
51 |
+
termcolor==1.1.0
|
52 |
+
torch==1.10.1
|
53 |
+
torchmetrics==0.7.0
|
54 |
+
tqdm==4.62.3
|
55 |
+
typing-extensions==4.0.1
|
56 |
+
urllib3==1.26.8
|
57 |
+
wandb==0.12.9
|
58 |
+
werkzeug==2.0.2
|
59 |
+
wheel==0.37.1
|
60 |
+
yarl==1.7.2
|
61 |
+
yaspin==2.1.0
|
62 |
+
zipp==3.7.0
|
wandb/run-20220120_131057-39a70no5/files/wandb-metadata.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"os": "macOS-12.1-arm64-arm-64bit",
|
3 |
+
"python": "3.9.9",
|
4 |
+
"heartbeatAt": "2022-01-20T04:10:57.955060",
|
5 |
+
"startedAt": "2022-01-20T04:10:57.174003",
|
6 |
+
"docker": null,
|
7 |
+
"cpu_count": 8,
|
8 |
+
"cuda": null,
|
9 |
+
"args": [
|
10 |
+
"artifact",
|
11 |
+
"put",
|
12 |
+
"artifacts/wisdom2def_c.tsv",
|
13 |
+
"-n",
|
14 |
+
"wisdom2def",
|
15 |
+
"-t",
|
16 |
+
"dataset",
|
17 |
+
"-a",
|
18 |
+
"c"
|
19 |
+
],
|
20 |
+
"state": "running",
|
21 |
+
"program": "/opt/homebrew/Caskroom/miniforge/base/envs/idiomify-demo/bin/wandb",
|
22 |
+
"git": {
|
23 |
+
"remote": "https://github.com/eubinecto/idiomify-demo.git",
|
24 |
+
"commit": "db5933850fd03c3e44c527c7aa110880a26d8499"
|
25 |
+
},
|
26 |
+
"email": "eubinecto",
|
27 |
+
"root": "/Users/eubinecto/Desktop/Projects/Toy/idiomify-demo",
|
28 |
+
"host": "Eu-Bins-MacBook-Air.local",
|
29 |
+
"username": "eubinecto",
|
30 |
+
"executable": "/opt/homebrew/Caskroom/miniforge/base/envs/idiomify-demo/bin/python3.9"
|
31 |
+
}
|
wandb/run-20220120_131057-39a70no5/files/wandb-summary.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"_wandb": {"runtime": 4}}
|
wandb/run-20220120_131057-39a70no5/run-39a70no5.wandb
ADDED
Binary file (991 Bytes). View file
|
|
wandb/run-20220120_131124-isjyx9fs/files/conda-environment.yaml
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: idiomify-demo
|
2 |
+
channels:
|
3 |
+
- conda-forge
|
4 |
+
dependencies:
|
5 |
+
- bzip2=1.0.8=h3422bc3_4
|
6 |
+
- ca-certificates=2021.10.8=h4653dfc_0
|
7 |
+
- libffi=3.4.2=h3422bc3_5
|
8 |
+
- libzlib=1.2.11=hee7b306_1013
|
9 |
+
- ncurses=6.3=hc470f4d_0
|
10 |
+
- openssl=3.0.0=h3422bc3_2
|
11 |
+
- pip=21.3.1=pyhd8ed1ab_0
|
12 |
+
- python=3.9.9=h43b31ca_0_cpython
|
13 |
+
- python_abi=3.9=2_cp39
|
14 |
+
- readline=8.1=hedafd6a_0
|
15 |
+
- setuptools=60.5.0=py39h2804cbe_0
|
16 |
+
- sqlite=3.37.0=h72a2b83_0
|
17 |
+
- tk=8.6.11=he1e0b03_1
|
18 |
+
- tzdata=2021e=he74cb21_0
|
19 |
+
- wheel=0.37.1=pyhd8ed1ab_0
|
20 |
+
- xz=5.2.5=h642e427_1
|
21 |
+
- zlib=1.2.11=hee7b306_1013
|
22 |
+
- pip:
|
23 |
+
- absl-py==1.0.0
|
24 |
+
- aiohttp==3.8.1
|
25 |
+
- aiosignal==1.2.0
|
26 |
+
- async-timeout==4.0.2
|
27 |
+
- attrs==21.4.0
|
28 |
+
- cachetools==4.2.4
|
29 |
+
- certifi==2021.10.8
|
30 |
+
- charset-normalizer==2.0.10
|
31 |
+
- click==8.0.3
|
32 |
+
- configparser==5.2.0
|
33 |
+
- docker-pycreds==0.4.0
|
34 |
+
- frozenlist==1.3.0
|
35 |
+
- fsspec==2022.1.0
|
36 |
+
- future==0.18.2
|
37 |
+
- gitdb==4.0.9
|
38 |
+
- gitpython==3.1.26
|
39 |
+
- google-auth==2.3.3
|
40 |
+
- google-auth-oauthlib==0.4.6
|
41 |
+
- grpcio==1.43.0
|
42 |
+
- idna==3.3
|
43 |
+
- importlib-metadata==4.10.1
|
44 |
+
- markdown==3.3.6
|
45 |
+
- multidict==5.2.0
|
46 |
+
- numpy==1.22.1
|
47 |
+
- oauthlib==3.1.1
|
48 |
+
- packaging==21.3
|
49 |
+
- pathtools==0.1.2
|
50 |
+
- promise==2.3
|
51 |
+
- protobuf==3.19.3
|
52 |
+
- psutil==5.9.0
|
53 |
+
- pyasn1==0.4.8
|
54 |
+
- pyasn1-modules==0.2.8
|
55 |
+
- pydeprecate==0.3.1
|
56 |
+
- pyparsing==3.0.6
|
57 |
+
- python-dateutil==2.8.2
|
58 |
+
- pytorch-lightning==1.5.8
|
59 |
+
- pyyaml==6.0
|
60 |
+
- requests==2.27.1
|
61 |
+
- requests-oauthlib==1.3.0
|
62 |
+
- rsa==4.8
|
63 |
+
- sentry-sdk==1.5.2
|
64 |
+
- shortuuid==1.0.8
|
65 |
+
- six==1.16.0
|
66 |
+
- smmap==5.0.0
|
67 |
+
- subprocess32==3.5.4
|
68 |
+
- tensorboard==2.7.0
|
69 |
+
- tensorboard-data-server==0.6.1
|
70 |
+
- tensorboard-plugin-wit==1.8.1
|
71 |
+
- termcolor==1.1.0
|
72 |
+
- torch==1.10.1
|
73 |
+
- torchmetrics==0.7.0
|
74 |
+
- tqdm==4.62.3
|
75 |
+
- typing-extensions==4.0.1
|
76 |
+
- urllib3==1.26.8
|
77 |
+
- wandb==0.12.9
|
78 |
+
- werkzeug==2.0.2
|
79 |
+
- yarl==1.7.2
|
80 |
+
- yaspin==2.1.0
|
81 |
+
- zipp==3.7.0
|
82 |
+
prefix: /opt/homebrew/Caskroom/miniforge/base/envs/idiomify-demo
|
wandb/run-20220120_131124-isjyx9fs/files/config.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
wandb_version: 1
|
2 |
+
|
3 |
+
_wandb:
|
4 |
+
desc: null
|
5 |
+
value:
|
6 |
+
cli_version: 0.12.9
|
7 |
+
is_jupyter_run: false
|
8 |
+
is_kaggle_kernel: false
|
9 |
+
python_version: 3.9.9
|
10 |
+
start_time: 1642651884
|
11 |
+
t:
|
12 |
+
3:
|
13 |
+
- 16
|
14 |
+
4: 3.9.9
|
15 |
+
5: 0.12.9
|
16 |
+
8:
|
17 |
+
- 4
|
18 |
+
- 5
|
19 |
+
path:
|
20 |
+
desc: null
|
21 |
+
value: artifacts/wisdom2def_d.tsv
|
wandb/run-20220120_131124-isjyx9fs/files/diff.patch
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/README.md b/README.md
|
2 |
+
index f7b5541..167966c 100644
|
3 |
+
--- a/README.md
|
4 |
+
+++ b/README.md
|
5 |
+
@@ -1,2 +1,7 @@
|
6 |
+
# idiomify-demo
|
7 |
+
Cross-lingual reverse dictionary of English idioms
|
8 |
+
+
|
9 |
+
+
|
10 |
+
+## Requirements
|
11 |
+
+- wandb
|
12 |
+
+- pytorch-lightning
|
13 |
+
|
14 |
+
diff --git a/artifacts/wisdom2def_c.tsv b/artifacts/wisdom2def_c.tsv
|
15 |
+
new file mode 100644
|
16 |
+
index 0000000..324d169
|
17 |
+
--- /dev/null
|
18 |
+
+++ b/artifacts/wisdom2def_c.tsv
|
19 |
+
@@ -0,0 +1,25 @@
|
20 |
+
+beat around the bush To fail to come to the important point about something
|
21 |
+
+beat around the bush To speak vaguely or euphemistically so as to avoid talkingdirectly about an unpleasant or sensitive topic
|
22 |
+
+beat around the bush Indirection in word or deed
|
23 |
+
+beat around the bush to shilly-shally
|
24 |
+
+beat around the bush to approach something in a roundabout way
|
25 |
+
+backhanded compliment An insulting or negative comment disguised as praise.
|
26 |
+
+backhanded compliment an unintended or ambiguous compliment.
|
27 |
+
+backhanded compliment a remark which seems to be praising someone or something but which could also be understood as criticism
|
28 |
+
+backhanded compliment a remark that seems to say something pleasant about a person but could also be an insult
|
29 |
+
+backhanded compliment a remark that seems to express admiration but could also be understood as an insult
|
30 |
+
+steer clear of To avoid someone or something.
|
31 |
+
+steer clear of Stay away from
|
32 |
+
+steer clear of take care to avoid or keep away from
|
33 |
+
+steer clear of to avoid someone or something that seems unpleasant, dangerous, or likely to cause problems
|
34 |
+
+steer clear of deliberately avoid someone
|
35 |
+
+dish it out To voice harsh thoughts, criticisms, or insults.
|
36 |
+
+dish it out To gossip about someone or something
|
37 |
+
+dish it out To give something, or to tell something such as information or your opinions
|
38 |
+
+dish it out someone easily criticizes other people but does not like it when other people criticize him or her
|
39 |
+
+dish it out to criticize other people
|
40 |
+
+make headway make progress with something that you are trying to achieve.
|
41 |
+
+make headway make progress, especially when this is slow or difficult
|
42 |
+
+make headway To advance.
|
43 |
+
+make headway to move forward or make progress
|
44 |
+
+make headway to begin to succeed
|
45 |
+
|
46 |
+
diff --git a/artifacts/wisdom2def_d.tsv b/artifacts/wisdom2def_d.tsv
|
47 |
+
new file mode 100644
|
48 |
+
index 0000000..74549d8
|
49 |
+
--- /dev/null
|
50 |
+
+++ b/artifacts/wisdom2def_d.tsv
|
51 |
+
@@ -0,0 +1,25 @@
|
52 |
+
+beat around the bush 어떤 것에 대해 중요한 요점을 찾지 못하는 것
|
53 |
+
+beat around the bush 불쾌하거나 민감한 주제에 대해 직접적으로 이야기하는 것을 피하기 위해 모호하거나 완곡하게 말한다.
|
54 |
+
+beat around the bush 단어나 태도가 우회적이다
|
55 |
+
+beat around the bush 우물쭈물하다
|
56 |
+
+beat around the bush 우회적으로 접근하다
|
57 |
+
+backhanded compliment 칭찬으로 가장한 모욕적이거나 부정적인 논평
|
58 |
+
+backhanded compliment 의도하지 않거나 애매한 칭찬
|
59 |
+
+backhanded compliment 누군가를 칭찬하는 것 같지만 비판으로도 이해될 수 있는 말
|
60 |
+
+backhanded compliment 남을 기쁘게 하는 말 같지만 모욕이 될 수도 있는 말
|
61 |
+
+backhanded compliment 감탄하는 듯 하면서도 모욕으로 이해될 수 있는 말
|
62 |
+
+steer clear of 누군가나 뭔가를 피하다
|
63 |
+
+steer clear of 떨어져 지내다
|
64 |
+
+steer clear of 피하거나 멀리하도록 주의하다
|
65 |
+
+steer clear of 불쾌하거나 위험하거나 문제를 일으킬 것 같은 사람이나 물건을 피하다
|
66 |
+
+steer clear of 일부러 피하다
|
67 |
+
+dish it out 가혹한 생각, 비판, 또는 모욕의 목소리를 내는 것.
|
68 |
+
+dish it out 누군가 또는 무언가에 대해 험담하는 것
|
69 |
+
+dish it out 어떤 것을 주거나 정보나 당신의 의견과 같은 것을 말하는 것
|
70 |
+
+dish it out 다른 사람을 쉽게 비판하지만 다른 사람이 자신을 비판할때는 좋아하지 않음
|
71 |
+
+dish it out 다른 사람을 비판하다
|
72 |
+
+make headway 성취하고자 하는 어떤 것에 진척이 생기다
|
73 |
+
+make headway 특히 이것이 느리거나 어려울 때, 진전을 이루다.
|
74 |
+
+make headway 전진하다
|
75 |
+
+make headway 앞으로 나아가거나 진전을 이루다
|
76 |
+
+make headway 성공하기 시작하다
|
77 |
+
|
wandb/run-20220120_131124-isjyx9fs/files/requirements.txt
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
absl-py==1.0.0
|
2 |
+
aiohttp==3.8.1
|
3 |
+
aiosignal==1.2.0
|
4 |
+
async-timeout==4.0.2
|
5 |
+
attrs==21.4.0
|
6 |
+
cachetools==4.2.4
|
7 |
+
certifi==2021.10.8
|
8 |
+
charset-normalizer==2.0.10
|
9 |
+
click==8.0.3
|
10 |
+
configparser==5.2.0
|
11 |
+
docker-pycreds==0.4.0
|
12 |
+
frozenlist==1.3.0
|
13 |
+
fsspec==2022.1.0
|
14 |
+
future==0.18.2
|
15 |
+
gitdb==4.0.9
|
16 |
+
gitpython==3.1.26
|
17 |
+
google-auth-oauthlib==0.4.6
|
18 |
+
google-auth==2.3.3
|
19 |
+
grpcio==1.43.0
|
20 |
+
idna==3.3
|
21 |
+
importlib-metadata==4.10.1
|
22 |
+
markdown==3.3.6
|
23 |
+
multidict==5.2.0
|
24 |
+
numpy==1.22.1
|
25 |
+
oauthlib==3.1.1
|
26 |
+
packaging==21.3
|
27 |
+
pathtools==0.1.2
|
28 |
+
pip==21.3.1
|
29 |
+
promise==2.3
|
30 |
+
protobuf==3.19.3
|
31 |
+
psutil==5.9.0
|
32 |
+
pyasn1-modules==0.2.8
|
33 |
+
pyasn1==0.4.8
|
34 |
+
pydeprecate==0.3.1
|
35 |
+
pyparsing==3.0.6
|
36 |
+
python-dateutil==2.8.2
|
37 |
+
pytorch-lightning==1.5.8
|
38 |
+
pyyaml==6.0
|
39 |
+
requests-oauthlib==1.3.0
|
40 |
+
requests==2.27.1
|
41 |
+
rsa==4.8
|
42 |
+
sentry-sdk==1.5.2
|
43 |
+
setuptools==60.5.0
|
44 |
+
shortuuid==1.0.8
|
45 |
+
six==1.16.0
|
46 |
+
smmap==5.0.0
|
47 |
+
subprocess32==3.5.4
|
48 |
+
tensorboard-data-server==0.6.1
|
49 |
+
tensorboard-plugin-wit==1.8.1
|
50 |
+
tensorboard==2.7.0
|
51 |
+
termcolor==1.1.0
|
52 |
+
torch==1.10.1
|
53 |
+
torchmetrics==0.7.0
|
54 |
+
tqdm==4.62.3
|
55 |
+
typing-extensions==4.0.1
|
56 |
+
urllib3==1.26.8
|
57 |
+
wandb==0.12.9
|
58 |
+
werkzeug==2.0.2
|
59 |
+
wheel==0.37.1
|
60 |
+
yarl==1.7.2
|
61 |
+
yaspin==2.1.0
|
62 |
+
zipp==3.7.0
|
wandb/run-20220120_131124-isjyx9fs/files/wandb-metadata.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"os": "macOS-12.1-arm64-arm-64bit",
|
3 |
+
"python": "3.9.9",
|
4 |
+
"heartbeatAt": "2022-01-20T04:11:25.393449",
|
5 |
+
"startedAt": "2022-01-20T04:11:24.663767",
|
6 |
+
"docker": null,
|
7 |
+
"cpu_count": 8,
|
8 |
+
"cuda": null,
|
9 |
+
"args": [
|
10 |
+
"artifact",
|
11 |
+
"put",
|
12 |
+
"artifacts/wisdom2def_d.tsv",
|
13 |
+
"-n",
|
14 |
+
"wisdom2def",
|
15 |
+
"-t",
|
16 |
+
"dataset",
|
17 |
+
"-a",
|
18 |
+
"d"
|
19 |
+
],
|
20 |
+
"state": "running",
|
21 |
+
"program": "/opt/homebrew/Caskroom/miniforge/base/envs/idiomify-demo/bin/wandb",
|
22 |
+
"git": {
|
23 |
+
"remote": "https://github.com/eubinecto/idiomify-demo.git",
|
24 |
+
"commit": "db5933850fd03c3e44c527c7aa110880a26d8499"
|
25 |
+
},
|
26 |
+
"email": "eubinecto",
|
27 |
+
"root": "/Users/eubinecto/Desktop/Projects/Toy/idiomify-demo",
|
28 |
+
"host": "Eu-Bins-MacBook-Air.local",
|
29 |
+
"username": "eubinecto",
|
30 |
+
"executable": "/opt/homebrew/Caskroom/miniforge/base/envs/idiomify-demo/bin/python3.9"
|
31 |
+
}
|
wandb/run-20220120_131124-isjyx9fs/files/wandb-summary.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"_wandb": {"runtime": 4}}
|
wandb/run-20220120_131124-isjyx9fs/run-isjyx9fs.wandb
ADDED
Binary file (990 Bytes). View file
|
|