rrroby commited on
Commit
bc71d91
·
verified ·
1 Parent(s): 125fecf

Updated README.md

Browse files
Files changed (1) hide show
  1. README.md +50 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 📄 Identifying Disability-Insensitive Language in Scholarly Works
2
+
3
+ Refer to the code repository here: [GitHub - Insensitive-Lang-Detection](https://github.com/RobyRoshna/Insensitive-Lang-Detection/tree/main)
4
+
5
+ ---
6
+
7
+ ## Overview
8
+ This is a fine-tuned BERT model designed to detect potentially insensitive or non-inclusive language relating to disability, specifically in academic and scholarly writing.
9
+
10
+ The model helps promote more inclusive and respectful communication, aligning with social models of disability and various international guidelines.
11
+
12
+ ---
13
+
14
+ ## Intended Use
15
+ - Academic editors and reviewers who want to check abstracts and papers for disability-insensitive language.
16
+ - Researchers studying accessibility, inclusive design, or language bias.
17
+ - Automated writing support tools focused on scholarly communication.
18
+
19
+ ---
20
+
21
+ ## Model Details
22
+ - **Architecture**: BERT-base (uncased)
23
+ - **Fine-tuned on**: Sentences from ASSETS conference papers (1994–2024) and organizational documents (ADA National Network, UN guidelines).
24
+ - **Labels**:
25
+ - `0`: Not insensitive
26
+ - `1`: Insensitive
27
+
28
+ ---
29
+
30
+ ## Training Data
31
+ - Extracted and manually annotated sentences referencing disability-related terms.
32
+ - Supported with data augmentation using OpenAI GPT-4o to balance underrepresented phrases.
33
+
34
+ ---
35
+
36
+ ## How to Use
37
+
38
+ ```python
39
+ from transformers import BertForSequenceClassification, BertTokenizer
40
+
41
+ model = BertForSequenceClassification.from_pretrained("rrroby/insensitive-language-bert")
42
+ tokenizer = BertTokenizer.from_pretrained("rrroby/insensitive-language-bert")
43
+
44
+ text = "This participant was wheelchair-bound and..."
45
+ inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True, max_length=512)
46
+ outputs = model(**inputs)
47
+ logits = outputs.logits
48
+ predicted_class = logits.argmax(-1).item()
49
+
50
+ print("Predicted class:", predicted_class)