Skip to content

Commit 2e996ad

Browse files
authored
Fixed GPTJ accuracy checker (#2093)
1 parent 32f9e84 commit 2e996ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

language/gpt-j/evaluation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def main():
5656
dataset_path = args.dataset_file
5757
metric = evaluate.load("rouge")
5858
nltk.download("punkt")
59+
nltk.download('punkt_tab')
5960

6061
tokenizer = AutoTokenizer.from_pretrained(
6162
model_name,

0 commit comments

Comments
 (0)