diff --git a/llments/eval/factscore/atomic_facts.py b/llments/eval/factscore/atomic_facts.py index 5d0f252..d19fe6c 100644 --- a/llments/eval/factscore/atomic_facts.py +++ b/llments/eval/factscore/atomic_facts.py @@ -8,7 +8,7 @@ from rank_bm25 import BM25Okapi import os from nltk.tokenize import sent_tokenize -from typing import List, Tuple, Optional, Any, Set, cast +from typing import List, Tuple, Optional, Any, Set, Sequence, cast from factscore.openai_lm import OpenAIModel