what is the difference between under-fitting and over-fitting
- User
what is the difference between under-fitting and over-fitting
- Assistant
Underfitting and overfitting are problems that occur during the model training process.
Underfitting occurs when the model is too simple and cannot accurately capture the pattern in the training data. As a result, the model has poor performance on both the training data and new, unseen data. Underfitting is often caused by not having enough features or a lack of model complexity.
Overfitting occurs when a model has too many parameters relative to the number of observations in the training data, and it starts to memorize the training data instead of learning the underlying patterns. This leads to high training accuracy but poor generalization performance on unseen data
To prevent underfitting and overfitting, a balance needs to be struck between model complexity and the amount of training data. Techniques such as cross-validation, regularization, and early stopping can also help to prevent overfitting.
- User
Which metric is most important to look at to detect if over-fitting is taking place?
- Assistant
Which metric is best depends on the kind of task, e.g. whether it is a (binary) classification or generative task.
For a (binary) classification task a good choice is the -Score. It is calculated by , where recall is a measure for how well did the model find the positives and precision is a measure for how many positive predictions where correct. So a high recall would mean that many positives were correctly classified and a high precision would mean that only few of the negatives were classified as positives.
There are many more metrics like AUC (Area Under Curve), MSE (Mean SquaredError) and Categorical Crossentropy and you will have to try out what works best for you and your specific task.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →