All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.launchableinc.openai.fine_tuning.FineTuningJobRequest Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package com.launchableinc.openai.fine_tuning;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;


/**
 * Request to create a fine tuning job
 * https://platform.openai.com/docs/api-reference/fine-tuning/create
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class FineTuningJobRequest {

	/**
	 * The ID of an uploaded file that contains training data.
	 */
	@NonNull
	@JsonProperty("training_file")
	String trainingFile;

	/**
	 * The ID of an uploaded file that contains validation data. Optional.
	 */
	@JsonProperty("validation_file")
	String validationFile;

	/**
	 * The name of the model to fine-tune.
	 */
	@NonNull
	String model;

	/**
	 * The hyperparameters used for the fine-tuning job.
	 */
	Hyperparameters hyperparameters;

	/**
	 * A string of up to 40 characters that will be added to your fine-tuned model name.
	 */
	String suffix;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy