[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
test[clari8] 01 accessing general model
"Accessing general model"
| model obj |
model := Clarifai sharedInstance generalModel.
#( modelId name
createdAt createdDate
output version appId
) do: [:selector|
self print: selector,': '
,(model perform: selector) toString
].
obj := model output configuration.
#( closedEnvironment conceptsMutuallyExclusive
existingModelId hyperParameters
language maxConcepts minScore
selectedConcepts
) do: [:selector| self print: selector,': ' ,(obj perform: selector) toString ].
obj := model version.
#( status activeConceptCount
createdAt createdDate
evaluationMetrics
) do: [:selector| self print: selector,': ' ,(obj perform: selector) toString ].