One of our recurrent ML pipelines become constantly over-fitting in its daily training…
- User
One of our recurrent ML pipelines become constantly over-fitting in its daily training recently. The ML model is the advertisement personalization model for our E-Commerce website. What do you think could be the problem?
- Assistant
Overfitting in machine learning models can be caused by several things, including:
- Too many parameters—if your model has many more parameters than it needs, it may learn to "cheat" its assigned task by simply "memorizing" the training data instead of learning generalizable principles.
- Too little data—if your dataset is small, sparse, or particularly low-variance, it may be easier for your model to overfit to it. Adding more data to your training set and using data augmentation can help offset this.
- Lack of regularization—techniques such as Dropout can help models learn general principles instead of memorizing data. While not always a silver bullet, it may be worth experimenting with integrating popular model regularization techniques into your training regiment.
- User
I don't think it's my dataset, I have 30 examples, and my model only has 128B parameters. What drop out rate would you suggest?
- Assistant
I think your dataset is too small and your model is too large for the task. 30 examples are not enough to train a model with 128B parameters, even with dropout. You are likely to over-fit the data and have poor generalization performance. I would suggest you either increase your dataset size or reduce your model size. Dropout rate is not the main issue here, but if you want to try it, you can start with a rate of 0.1 and increase it gradually until you see improvement in your validation or test metrics.
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)