Add Github link to model card

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +12 -11
README.md CHANGED
@@ -1,20 +1,20 @@
1
  ---
2
- library_name: transformers
3
- tags:
4
- - Bias Detection
5
- - Text Classification
6
  language:
7
  - en
8
- Author:
9
- - Himel Ghosh
10
  license: apache-2.0
11
- datasets:
12
- - mediabiasgroup/BABE
13
  metrics:
14
  - f1
15
- base_model:
16
- - FacebookAI/roberta-base
17
  pipeline_tag: text-classification
 
 
 
 
 
18
  ---
19
 
20
  ## Citation
@@ -41,7 +41,7 @@ The model predicts whether a given sentence contains biased language (LABEL_1) o
41
  It is intended for applications in media bias analysis, content moderation, and social computing research.
42
 
43
  - Example usage with Hugging Face’s pipeline:
44
- ```
45
  from transformers import pipeline
46
 
47
  classifier = pipeline("text-classification", model="himel7/bias-detector", tokenizer="roberta-base")
@@ -74,6 +74,7 @@ This is the model card of a 🤗 transformers model that has been pushed on the
74
  - **Developed by:** Himel Ghosh
75
  - **Language(s) (NLP):** Python
76
  - **Finetuned from model:** roberta-base
 
77
 
78
 
79
  ## Uses
 
1
  ---
2
+ base_model:
3
+ - FacebookAI/roberta-base
4
+ datasets:
5
+ - mediabiasgroup/BABE
6
  language:
7
  - en
8
+ library_name: transformers
 
9
  license: apache-2.0
 
 
10
  metrics:
11
  - f1
 
 
12
  pipeline_tag: text-classification
13
+ tags:
14
+ - Bias Detection
15
+ - Text Classification
16
+ Author:
17
+ - Himel Ghosh
18
  ---
19
 
20
  ## Citation
 
41
  It is intended for applications in media bias analysis, content moderation, and social computing research.
42
 
43
  - Example usage with Hugging Face’s pipeline:
44
+ ```python
45
  from transformers import pipeline
46
 
47
  classifier = pipeline("text-classification", model="himel7/bias-detector", tokenizer="roberta-base")
 
74
  - **Developed by:** Himel Ghosh
75
  - **Language(s) (NLP):** Python
76
  - **Finetuned from model:** roberta-base
77
+ - **Code:** [Link to Github Repo - UPDATE THIS LINK]
78
 
79
 
80
  ## Uses