File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ def __repr__(self):
296296class TextGenerationModel (_LanguageModel ):
297297 """TextGenerationModel represents a general language model.
298298
299- Examples:
299+ Examples::
300300
301301 # Getting answers:
302302 model = TextGenerationModel.from_pretrained("text-bison@001")
@@ -383,7 +383,7 @@ def _batch_predict(
383383class _ChatModel (TextGenerationModel ):
384384 """ChatModel represents a language model that is capable of chat.
385385
386- Examples:
386+ Examples::
387387
388388 # Getting answers:
389389 model = ChatModel.from_pretrained("chat-bison@001")
@@ -488,7 +488,7 @@ def send_message(
488488class TextEmbeddingModel (_LanguageModel ):
489489 """TextEmbeddingModel converts text into a vector of floating-point numbers.
490490
491- Examples:
491+ Examples::
492492
493493 # Getting embedding:
494494 model = TextEmbeddingModel.from_pretrained("textembedding-gecko@001")
@@ -537,7 +537,7 @@ class InputOutputTextPair:
537537class ChatModel (_LanguageModel ):
538538 """ChatModel represents a language model that is capable of chat.
539539
540- Examples:
540+ Examples::
541541
542542 chat_model = ChatModel.from_pretrained("chat-bison@001")
543543
You can’t perform that action at this time.
0 commit comments