{"record":{"id":"a659ce96a58c1868","repo":"tensorflow/models","slug":"s-does-not-exist","errorCode":null,"errorMessage":"%s does not exist.","messagePattern":"(.+?) does not exist\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/nlp/finetuning/glue/run_glue.py","lineNumber":98,"sourceCode":"    'WNLI': 'cls_accuracy',\n}\n\nAX_CLASS_NAMES = ['contradiction', 'entailment', 'neutral']\nCOLA_CLASS_NAMES = ['0', '1']\nMNLI_CLASS_NAMES = ['contradiction', 'entailment', 'neutral']\nMRPC_CLASS_NAMES = ['0', '1']\nQNLI_CLASS_NAMES = ['entailment', 'not_entailment']\nQQP_CLASS_NAMES = ['0', '1']\nRTE_CLASS_NAMES = ['entailment', 'not_entailment']\nSST_2_CLASS_NAMES = ['0', '1']\nWNLI_CLASS_NAMES = ['0', '1']\n\n\ndef _override_exp_config_by_file(exp_config, exp_config_files):\n  \"\"\"Overrides an `ExperimentConfig` object by files.\"\"\"\n  for exp_config_file in exp_config_files:\n    if not tf.io.gfile.exists(exp_config_file):\n      raise ValueError('%s does not exist.' % exp_config_file)\n    params_dict.override_params_dict(\n        exp_config, exp_config_file, is_strict=True)\n\n  return exp_config\n\n\ndef _override_exp_config_by_flags(exp_config, input_meta_data):\n  \"\"\"Overrides an `ExperimentConfig` object by flags.\"\"\"\n  if FLAGS.task_name in ('AX', 'COLA',):\n    override_task_cfg_fn = functools.partial(\n        binary_helper.override_sentence_prediction_task_config,\n        num_classes=input_meta_data['num_labels'],\n        metric_type='matthews_corrcoef')\n  elif FLAGS.task_name in ('MNLI', 'QNLI', 'RTE', 'SST-2',\n                           'WNLI'):\n    override_task_cfg_fn = functools.partial(\n        binary_helper.override_sentence_prediction_task_config,\n        num_classes=input_meta_data['num_labels'])","sourceCodeStart":80,"sourceCodeEnd":116,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/nlp/finetuning/glue/run_glue.py#L80-L116","documentation":"Error \"%s does not exist.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/nlp/finetuning/glue/run_glue.py:98 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e006f5f0d534913e49c1f1dae87364039fa607e2","analyzedAt":"2026-08-24T14:09:15.576Z","schemaVersion":2},"datasetVersion":"2026-08-24T17:17:21.512Z"}