LikoKiko commited on
Commit
0e7f17a
·
1 Parent(s): 3a8d54b
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -42,7 +42,7 @@ metrics:
42
  | **Precision** | 0.9812 |
43
  | **Recall** | 0.9835 |
44
 
45
- *Note: Best Threshold = 0.49*
46
 
47
  ### Training Graphs
48
 
@@ -83,7 +83,7 @@ def predict(text):
83
  return {
84
  "text": text,
85
  "score": round(score, 4),
86
- "is_toxic": score >= 0.49 # Threshold
87
  }
88
 
89
  # Example usage
 
42
  | **Precision** | 0.9812 |
43
  | **Recall** | 0.9835 |
44
 
45
+ *Note: Best Threshold = 0.17*
46
 
47
  ### Training Graphs
48
 
 
83
  return {
84
  "text": text,
85
  "score": round(score, 4),
86
+ "is_toxic": score >= 0.17 # Threshold
87
  }
88
 
89
  # Example usage