Skip to content

Commit 5a84a0b

Browse files
authored
Merge pull request #4 from nicain/sasha-gitg-patch-2
Update classify_news_items.py
2 parents 9370590 + ebae541 commit 5a84a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generativeai/classify_news_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
def classify_news_items(temperature=0):
2020
"""Text Classification Example with a Large Language Model"""
21-
model = TextGenerationModel.from_pretrained("google/text-bison@001")
21+
model = TextGenerationModel.from_pretrained("text-bison@001")
2222
response = model.predict(
2323
'''What is the topic for a given news headline?
2424
- business

0 commit comments

Comments
 (0)