File tree 2 files changed +4
-5
lines changed 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,12 @@ public class CreatePipelineJobModelTuningSample {
33
33
public static void main (String [] args ) throws IOException {
34
34
// TODO(developer): Replace these variables before running the sample.
35
35
String project = "PROJECT" ;
36
- String location =
37
- "europe-west4" ; // Model tuning is only supported in europe-west4 for Public Preview
36
+ String location = "europe-west4" ; // europe-west4 and us-central1 are the supported regions
38
37
String pipelineJobDisplayName = "PIPELINE_JOB_DISPLAY_NAME" ;
39
38
String modelDisplayName = "MODEL_DISPLAY_NAME" ;
40
39
String outputDir = "OUTPUT_DIR" ;
41
40
String datasetUri = "DATASET_URI" ;
42
- int trainingSteps = 100 ;
41
+ int trainingSteps = 300 ;
43
42
44
43
createPipelineJobModelTuningSample (
45
44
project ,
@@ -88,7 +87,7 @@ public static void createPipelineJobModelTuningSample(
88
87
PipelineJob pipelineJob =
89
88
PipelineJob .newBuilder ()
90
89
.setTemplateUri (
91
- "https://us-kfp.pkg.dev/ml-pipeline/large-language-model-pipelines/tune-large-model/v1 .0.0" )
90
+ "https://us-kfp.pkg.dev/ml-pipeline/large-language-model-pipelines/tune-large-model/v2 .0.0" )
92
91
.setDisplayName (pipelineJobDisplayName )
93
92
.setRuntimeConfig (runtimeConfig )
94
93
.build ();
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public class CreatePipelineJobModelTuningSampleTest {
51
51
"gs://ucaip-samples-europe-west4/training_pipeline_output" ;
52
52
private static final String DATASET_URI =
53
53
"gs://cloud-samples-data/ai-platform/generative_ai/headline_classification.jsonl" ;
54
- private static final int TRAINING_STEPS = 100 ;
54
+ private static final int TRAINING_STEPS = 300 ;
55
55
private String pipelineJobName ;
56
56
private ByteArrayOutputStream bout ;
57
57
private PrintStream originalPrintStream ;
You can’t perform that action at this time.
0 commit comments