forrestdavis / NLPScholar

Tools for training an NLP Scholar
GNU General Public License v3.0
5 stars 2 forks source link

[BUG/ERROR] #14

Closed Eliheakins closed 2 hours ago

Eliheakins commented 2 hours ago

Describe the bug

NLPscholar is expecting a lemma col for a MinimalPair exp

To Reproduce

Steps to reproduce the behavior: Run main.py with provided config file

Expected behavior

To run exp

Observed behavior

Reading from config.yaml Loading data from Hw2/aclImdb/test/PositiveTestSentid.txt... Traceback (most recent call last): File "/home/eheakins/NLPScholar/main.py", line 27, in exp.evaluate() File "/home/eheakins/NLPScholar/src/evaluations/MinimalPair.py", line 109, in evaluate self.columnCheck() File "/home/eheakins/NLPScholar/src/evaluations/Evaluation.py", line 47, in columnCheck assert need in columns, f"Missing {need} in {self.datafpath}" AssertionError: Missing lemma in Hw2/aclImdb/test/PositiveTestSentid.txt

Screenshots

If applicable, add screenshots to help explain your problem.

Setup (please complete the following information)

Additional context

Link to necessary files https://drive.google.com/drive/folders/1aUZxTzZMsyL44zdBBl33B-5aTexiyWVv?usp=drive_link

forrestdavis commented 2 hours ago

checkColumns should be checkFileColumns