Update README.md
Browse files
README.md
CHANGED
@@ -60,13 +60,13 @@ The classifier was trained on 500,000 pairs of code files and their scores from
|
|
60 |
We added a classification head with a single regression output to StarEncoder and trained the model for 20 epochs with a learning rate of 3e-4. During training, the embedding and encoder layers were frozen to focus on the classification head.
|
61 |
|
62 |
It achieves the following results on the evaluation set:
|
63 |
-
- Loss: 0.
|
64 |
-
- Precision: 0.
|
65 |
-
- Recall: 0.
|
66 |
-
- F1 Macro: 0.
|
67 |
-
- Accuracy: 0.
|
68 |
-
- F1 Binary Minimum3: 0.
|
69 |
-
- F1 Binary Minimum2: 0.
|
70 |
|
71 |
While the macro F1 scores across the 1-5 rating scale are relatively low due to the model's difficulty in distinguishing between higher-rated samples, the classifier performs well for our primary filtering task. When converting to binary classification, using a threshold of 2 achieves the F1 scores ranges between 0.8 and 0.9 for most Stack-Edu classifiers, whereas a threshold of 3 yields F1 scores between 0.5 and 0.8. With the Highest being Python, SQL, C, Rust and the lowest being TypeScript and PHP.
|
72 |
|
|
|
60 |
We added a classification head with a single regression output to StarEncoder and trained the model for 20 epochs with a learning rate of 3e-4. During training, the embedding and encoder layers were frozen to focus on the classification head.
|
61 |
|
62 |
It achieves the following results on the evaluation set:
|
63 |
+
- Loss: 0.3043
|
64 |
+
- Precision: 0.6007
|
65 |
+
- Recall: 0.5268
|
66 |
+
- F1 Macro: 0.5255
|
67 |
+
- Accuracy: 0.6694
|
68 |
+
- F1 Binary Minimum3: 0.8552
|
69 |
+
- F1 Binary Minimum2: 0.9316
|
70 |
|
71 |
While the macro F1 scores across the 1-5 rating scale are relatively low due to the model's difficulty in distinguishing between higher-rated samples, the classifier performs well for our primary filtering task. When converting to binary classification, using a threshold of 2 achieves the F1 scores ranges between 0.8 and 0.9 for most Stack-Edu classifiers, whereas a threshold of 3 yields F1 scores between 0.5 and 0.8. With the Highest being Python, SQL, C, Rust and the lowest being TypeScript and PHP.
|
72 |
|