Sk1306 commited on
Commit
709c43c
·
verified ·
1 Parent(s): 9ea5a65

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Student Chat Toxicity Classifier
2
+ This model is a fine-tuned version of the s-nlp/roberta_toxicity_classifier and is designed to classify text-based messages in student conversations as toxic or non-toxic. It is specifically tailored to detect and flag malpractice suggestions, unethical advice, or any toxic communication while encouraging ethical and positive interactions among students.
3
+
4
+ Model Details
5
+ Language: English (en)
6
+ Base Model: s-nlp/roberta_toxicity_classifier
7
+ Task: Text Classification (Binary)
8
+ Class 0: Non-Toxic
9
+ Class 1: Toxic
10
+ Key Features:
11
+ Detects messages promoting cheating or malpractice.
12
+ Flags harmful or unethical advice in student chats.
13
+ Encourages ethical and constructive communication.
14
+ Training Details
15
+ Dataset: The model was fine-tuned on a custom dataset containing examples of student conversations labeled as toxic (malpractice suggestions, harmful advice) or non-toxic (positive and constructive communication).
16
+ Preprocessing:
17
+ Tokenization using RobertaTokenizer.
18
+ Truncation and padding applied for consistent input length (max_length=128).
19
+ Framework: Hugging Face's transformers library.
20
+ Optimizer: AdamW
21
+ Loss Function: CrossEntropyLoss
22
+ Epochs: 3 (adjusted for convergence)