Browse Source

examples: use punkt_tab instead of punkt (#6907)

This was causing an error since we depend on punkt_tab.
Mahesh Sathiamoorthy 7 months ago
parent
commit
ad935f45ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/python-grounded-factuality-rag-check/main.py

+ 1 - 1
examples/python-grounded-factuality-rag-check/main.py

@@ -9,7 +9,7 @@ import nltk
 warnings.filterwarnings(
     "ignore", category=FutureWarning, module="transformers.tokenization_utils_base"
 )
-nltk.download("punkt", quiet=True)
+nltk.download("punkt_tab", quiet=True)
 
 
 def getArticleText(url):