Skip to content

Commit

Permalink
Merge pull request #242 from clulab/kwalcock/ghanavectors
Browse files Browse the repository at this point in the history
Cache vectors for ghana
  • Loading branch information
kwalcock authored Mar 7, 2024
2 parents 87b2628 + 7ddde4d commit 03ae330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pwlwp/cache_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def doit(index, sentence):

if __name__ == "__main__":
sentence_transformer_name: str = "all-MiniLM-L6-v2"
input_file_name: str = "../corpora/causalBeliefSentences.tsv"
output_file_name: str = "../corpora/causalBeliefSentences.npy"
input_file_name: str = "../corpora/ghana-tsv/ghana-regulations.tsv"
output_file_name: str = "../corpora/ghana-tsv/ghana-regulations.npy"
# input_file_name, output_file_name = get_in_and_out()
data_frame = pandas.read_csv(input_file_name, sep="\t", encoding="utf-8", keep_default_na=False,
dtype={"file": str, "index": int, "sentence": str, "causal": bool, "belief": bool}
Expand Down

0 comments on commit 03ae330

Please sign in to comment.