mirror of
https://github.com/princeton-nlp/tree-of-thought-llm
synced 2024-11-16 05:24:05 +00:00
Update crosswords.py
This commit is contained in:
parent
b95e126391
commit
ab400345c5
@ -159,7 +159,7 @@ class MiniCrosswordsTask(Task):
|
||||
Input Example:
|
||||
Output Example:
|
||||
"""
|
||||
def __init__(self, file):
|
||||
def __init__(self, file='mini0505.json'):
|
||||
"""
|
||||
file: a csv file (fixed)
|
||||
"""
|
||||
@ -254,4 +254,4 @@ class MiniCrosswordsTask(Task):
|
||||
res = res.split('\n')[-1].strip()
|
||||
if res in count: count[res] += 1
|
||||
print(count)
|
||||
return count
|
||||
return count
|
||||
|
Loading…
Reference in New Issue
Block a user