jind11 / TextFooler

A Model for Natural Language Attack on Text Classification and Inference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to run cos_sim.py

ashwani-bhat opened this issue · comments

Hi.
I am trying to run comp_cos_sim_mat.py on the counter-fitted-vectors but I run into memory issues.
Is there any memory limit on that. I'm using google colab 12GB RAM.

So sorry for the late response. The cosine similarity score matrix takes about 30 GB of RAM, so 12 GB RAM is not enough and will cause the out of memory problem.