File tree Expand file tree Collapse file tree 2 files changed +4
-22
lines changed Expand file tree Collapse file tree 2 files changed +4
-22
lines changed Original file line number Diff line number Diff line change @@ -95,24 +95,14 @@ class AquaEvalReport(Serializable):
95
95
class Config :
96
96
extra = "ignore"
97
97
98
- class ModelParams (Serializable ):
99
- max_tokens : str = ""
100
- top_p : str = ""
101
- top_k : str = ""
102
- temperature : str = ""
103
- presence_penalty : Optional [float ] = 0.0
104
- frequency_penalty : Optional [float ] = 0.0
105
- stop : Optional [Union [str , List [str ]]] = Field (default_factory = list )
106
- model : Optional [str ] = "odsc-llm"
107
-
108
- class Config :
109
- extra = "allow"
110
-
111
- class AquaEvalParams (ModelParams ):
98
+ class AquaEvalParams (Serializable ):
112
99
shape : str = ""
113
100
dataset_path : str = ""
114
101
report_path : str = ""
115
102
103
+ class Config :
104
+ extra = "allow"
105
+
116
106
class AquaEvalMetric (Serializable ):
117
107
key : str
118
108
name : str
Original file line number Diff line number Diff line change @@ -506,17 +506,9 @@ def test_create_evaluation(
506
506
"lifecycle_state" : f"{ evaluation_job_run .lifecycle_state } " ,
507
507
"name" : f"{ evaluation_model .display_name } " ,
508
508
"parameters" : {
509
- "model" : "odsc-llm" ,
510
509
"dataset_path" : "" ,
511
- "frequency_penalty" : 0.0 ,
512
- "max_tokens" : "" ,
513
- "presence_penalty" : 0.0 ,
514
510
"report_path" : "" ,
515
511
"shape" : "" ,
516
- "stop" : [],
517
- "temperature" : "" ,
518
- "top_k" : "" ,
519
- "top_p" : "" ,
520
512
},
521
513
"source" : {
522
514
"id" : "ocid1.datasciencemodel.oc1.iad.<OCID>" ,
You can’t perform that action at this time.
0 commit comments