AI Stress Testing
To run RIME on NLP data, execute the RIME CLI using the rime-engine run-nlp
command and specify the runtime parameters using the --config-path
argument. Below is an overview of the supported configuration arguments for the runtime config.
Template
{
"run_name": "Run Name", (REQUIRED)
"data_info": {...}, (REQUIRED)
"model_info": {...}, (REQUIRED)
"model_task": "Task Name", (REQUIRED)
"data_profiling_info": {...},
"tests_config_path": "path/to/tests/config",
"tests_config": {...},
"prediction_info": {...},
"random_seed": null,
}
Arguments
run_name
: string, requiredThe name under which your run will appear in the UI.
data_info
: DataInfo, requiredConfiguration for the datasources to use. For a reference on how to configure a datasource, see Data Configuration.
model_info
: ModelInfo, requiredConfiguration for the model to use. For a reference on how to configure a model, see NLP Model Configuration. If you are not providing a model, this should be
null
.model_task
: string, requiredSpecification of the model task. Currently, the supported values are
"Text Classification"
,"Named Entity Recognition"
, and"Natural Language Inference"
.data_profiling_info
: DataProfilingInfo, default =DataProfilingInfo()
Specification of how to profile and interpret the data. For a guide on how to specify this info, see Data Profiling Configuration.
NOTE: this argument can also not be provided, in which all the defaults will be used.
tests_config_path
: string ornull
, default =null
Path to a TestSuiteConfig JSON file. If both
tests_config_path
andtest_config
arenull
RIME will use the default TestSuiteConfig() for the specified model task.NOTE: Only one of
tests_config_path
ORtest_config
should be specified.tests_config
: TestSuiteConfig ornull
, default =null
Specification of which tests to run and what test parameters to use. If both
tests_config_path
andtests_config
arenull
RIME will use the default TestSuiteConfig().NOTE: Only one of
tests_config_path
ORtests_config
should be specified.prediction_info
: PredictionInfo ornull
, default =null
Specification of how to handle model predictions for this run. For a guide on how to specify this info, see NLP Prediction Configuration. NOTE: this argument can also not be provided, in which case the default configuration is used.
random_seed
: int ornull
, default =null
The random seed to use for the run.