huu-ontocord
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
|
|
|
|
5 |
- min(1.0, int(dat['copies'])/20 + dat['ratio']/10 + dat['alpha_frac']* 0.1 + 0.5*(1-dat['avg_score'])) if avg_score exists
|
6 |
- min(1.0, int(dat['copies'])/20 + dat['ratio']/10 + dat['alpha_frac']* 0.1) otherwise
|
7 |
|
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
5 |
+
Based on tomekkorbak/codeparrot-clean-train-v2-pep8. We create a combined score based on codeparrot data. All open source non-GPL code.
|
6 |
+
Score is computed as follows:
|
7 |
- min(1.0, int(dat['copies'])/20 + dat['ratio']/10 + dat['alpha_frac']* 0.1 + 0.5*(1-dat['avg_score'])) if avg_score exists
|
8 |
- min(1.0, int(dat['copies'])/20 + dat['ratio']/10 + dat['alpha_frac']* 0.1) otherwise
|
9 |
|