Skip to content

Commit

Permalink
Moved *.json files for MQNLI notebook into tutorial_data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirZur committed Mar 16, 2024
1 parent 92c00f1 commit 3fb81b1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tutorials/advanced_tutorials/MQNLI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
" def __hash__(self):\n",
" return hash(frozenset(self))\n",
"\n",
"with open('q_projectivity.json') as f:\n",
"with open('tutorial_data/mqnli_q_projectivity.json') as f:\n",
" determiner_signatures = json.load(f)\n",
" determiner_signatures = Hashabledict({\n",
" q1: Hashabledict({\n",
Expand All @@ -145,16 +145,16 @@
" for q1 in determiner_signatures\n",
" })\n",
"\n",
"with open('neg_signature.json') as f:\n",
"with open('tutorial_data/mqnli_neg_signature.json') as f:\n",
" negation_signature = Hashabledict(json.load(f))\n",
"\n",
"with open('empty_signature.json') as f:\n",
"with open('tutorial_data/mqnli_empty_signature.json') as f:\n",
" emptystring_signature = Hashabledict(json.load(f))\n",
"\n",
"with open('cont_signature.json') as f:\n",
"with open('tutorial_data/mqnli_cont_signature.json') as f:\n",
" compose_contradiction_signature = Hashabledict(json.load(f))\n",
"\n",
"with open('neg_cont_signature.json') as f:\n",
"with open('tutorial_data/mqnli_neg_cont_signature.json') as f:\n",
" compose_neg_contradiction_signature = Hashabledict(json.load(f))"
]
},
Expand Down

0 comments on commit 3fb81b1

Please sign in to comment.