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` +source_model The name of the model to tune. -`training_data` +training_data The dataset to tune the model on. This must be either: -* A 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` +