diff --git a/docs/api/google/generativeai/create_tuned_model.md b/docs/api/google/generativeai/create_tuned_model.md index c12179164..3cf40835f 100644 --- a/docs/api/google/generativeai/create_tuned_model.md +++ b/docs/api/google/generativeai/create_tuned_model.md @@ -74,107 +74,117 @@ palm.generate_text(f"tunedModels/{my_id}", prompt="...")
source_model
training_data
protos.Dataset
, or
-* An `Iterable` of:
- *protos.TuningExample
,
- * `{'text_input': text_input, 'output': output}` dicts
- * `(text_input, output)` tuples.
-* A `Mapping` of `Iterable[str]` - use `input_key` and `output_key` to choose which
- columns to use as the input/output
-* A csv file (will be read with `pd.read_csv` and handles as a `Mapping`
+protos.Dataset
, or Iterable
of:
+ protos.TuningExample
,{'text_input': text_input, 'output': output}
dicts(text_input, output)
tuples.Mapping
of Iterable[str]
- use input_key
and output_key
to choose which
+ columns to use as the input/outputpd.read_csv
and handles as a Mapping
above). This can be:
- * A local path as a `str` or `pathlib.Path`.
- * A url for a csv file.
- * The url of a Google Sheets file.
-* A JSON file - Its contents will be handled either as an `Iterable` or `Mapping`
+ str
or pathlib.Path
.Iterable
or Mapping
above. This can be:
- * A local path as a `str` or `pathlib.Path`.
+ str
or pathlib.Path
.id
tunedModels/{id}
. Must be unique.
display_name
description
temperature
types.Model
for details.
top_p
types.Model
for details.
+The default top_p
for the model, see types.Model
for details.
top_k
types.Model
for details.
+The default top_k
for the model, see types.Model
for details.
epoch_count
batch_size
learning_rate
client
request_options
google.api_core.operation.Operation