Skip to content

Commit

Permalink
remove calibration error
Browse files Browse the repository at this point in the history
  • Loading branch information
bmosaicml committed Feb 2, 2024
1 parent a20877d commit 53da3ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions llmfoundry/models/hf/hf_causal_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ def __init__(self, om_model_config: Union[DictConfig,
InContextLearningLMAccuracy(),
InContextLearningMultipleChoiceAccuracy(),
InContextLearningQAAccuracy(),
InContextLearningCodeEvalAccuracy(),
InContextLearningLMExpectedCalibrationError(),
InContextLearningMCExpectedCalibrationError()
InContextLearningCodeEvalAccuracy()
]

# if we are passed a DictConfig, we need to instantiate the model
Expand Down
2 changes: 0 additions & 2 deletions llmfoundry/models/mpt/modeling_mpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,8 +1025,6 @@ def __init__(
InContextLearningMultipleChoiceAccuracy(),
InContextLearningQAAccuracy(),
InContextLearningCodeEvalAccuracy(),
InContextLearningLMExpectedCalibrationError(),
InContextLearningMCExpectedCalibrationError(),
]

super().__init__(
Expand Down

0 comments on commit 53da3ea

Please sign in to comment.