Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
ad935f45
Unverified
Commit
ad935f45
authored
Sep 22, 2024
by
Mahesh Sathiamoorthy
Committed by
GitHub
Sep 21, 2024
Browse files
examples: use punkt_tab instead of punkt (#6907)
This was causing an error since we depend on punkt_tab.
parent
dbba7346
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/python-grounded-factuality-rag-check/main.py
examples/python-grounded-factuality-rag-check/main.py
+1
-1
No files found.
examples/python-grounded-factuality-rag-check/main.py
View file @
ad935f45
...
@@ -9,7 +9,7 @@ import nltk
...
@@ -9,7 +9,7 @@ import nltk
warnings
.
filterwarnings
(
warnings
.
filterwarnings
(
"ignore"
,
category
=
FutureWarning
,
module
=
"transformers.tokenization_utils_base"
"ignore"
,
category
=
FutureWarning
,
module
=
"transformers.tokenization_utils_base"
)
)
nltk
.
download
(
"punkt"
,
quiet
=
True
)
nltk
.
download
(
"punkt
_tab
"
,
quiet
=
True
)
def
getArticleText
(
url
):
def
getArticleText
(
url
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment