Skip to content

Commit

Permalink
Small doc fix (#1695)
Browse files Browse the repository at this point in the history
  • Loading branch information
LawrenceFulton authored Dec 15, 2023
1 parent fc9a51a commit 1285f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting_started/representation/llm.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ much better results with a `flan-T5` like model:
from transformers import pipeline
from bertopic.representation import TextGeneration

prompt = "I have a topic described by the following keywords: [KEYWORDS]. Based on the previous keywords, what is this topic about?""
prompt = "I have a topic described by the following keywords: [KEYWORDS]. Based on the previous keywords, what is this topic about?"

# Create your representation model
generator = pipeline('text2text-generation', model='google/flan-t5-base')
Expand Down

0 comments on commit 1285f54

Please sign in to comment.