We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9370590 + ebae541 commit 5a84a0bCopy full SHA for 5a84a0b
generativeai/classify_news_items.py
@@ -18,7 +18,7 @@
18
19
def classify_news_items(temperature=0):
20
"""Text Classification Example with a Large Language Model"""
21
- model = TextGenerationModel.from_pretrained("google/text-bison@001")
+ model = TextGenerationModel.from_pretrained("text-bison@001")
22
response = model.predict(
23
'''What is the topic for a given news headline?
24
- business
0 commit comments