Xiameineedsgpu commited on
Commit
cd8530b
·
verified ·
1 Parent(s): e4671de

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: multilingual
3
+ license: apache-2.0
4
+ tags:
5
+ - political-bias
6
+ - bias-detection
7
+ - news-analysis
8
+ - xlm-roberta
9
+ pipeline_tag: text-classification
10
+ ---
11
+
12
+ # WorldVue Balanced Political Bias Detector
13
+
14
+ This model detects political bias in news articles across economic and social dimensions.
15
+
16
+ ## Model Description
17
+
18
+ - **Architecture**: mDeBERTa-v3-base (278M parameters)
19
+ - **Training Data**: 6,000 articles judged by GPT-4o-mini
20
+ - **Languages**: 100+ (multilingual)
21
+ - **Axes**:
22
+ - Economic: LEFT (-1) ← CENTER (0) → RIGHT (+1)
23
+ - Social: LIBERTARIAN (-1) ← CENTER (0) → AUTHORITARIAN (+1)
24
+
25
+ ## Signals Detected
26
+
27
+ **Economic (4 signals):**
28
+ 1. Economic Role of State
29
+ 2. Market & Business
30
+ 3. Taxation & Spending
31
+ 4. Labor & Trade
32
+
33
+ **Social (4 signals):**
34
+ 1. State Authority vs Liberty
35
+ 2. Cultural Identity
36
+ 3. Immigration & Borders
37
+ 4. Collective vs Individual
38
+
39
+ ## Usage
40
+
41
+ ```python
42
+ from transformers import AutoTokenizer, AutoModel
43
+ import torch
44
+ import torch.nn as nn
45
+
46
+ # Load model
47
+ tokenizer = AutoTokenizer.from_pretrained("Xiameineedsgpu/worldvue-balanced-bias-detector")
48
+ # ... (see example code below)
49
+ ```
50
+
51
+ ## Training Details
52
+
53
+ - **Test Loss**: 2.13
54
+ - **Political Articles**: 3,112
55
+ - **Non-Political Articles**: 2,888
56
+ - **Training Time**: ~1 hour on Google Colab (T4 GPU)
57
+
58
+ ## Example Outputs
59
+
60
+ | Article | Economic | Social | Label |
61
+ |---------|----------|--------|-------|
62
+ | Fox News - Immigration | +0.02 | +0.83 | CENTER / AUTHORITARIAN |
63
+ | Energy Transition | -0.24 | -0.23 | LEFT / LIBERTARIAN |
64
+ | UK PPE Scandal | +0.10 | +0.25 | RIGHT / AUTHORITARIAN |
65
+
66
+ ## License
67
+
68
+ Apache 2.0