Sami92 commited on
Commit
186cb31
·
verified ·
1 Parent(s): effecf4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +216 -1
README.md CHANGED
@@ -9,4 +9,219 @@ tags:
9
  - politics
10
  - communication
11
  - public sphere
12
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  - politics
10
  - communication
11
  - public sphere
12
+ ---
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+ This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ ´´´python
80
+ from transformers import AutoTokenizer, AutoModelForTokenClassification
81
+ from transformers import pipeline
82
+
83
+ # Load pre-trained model and tokenizer
84
+ model_name = "your-model-name" # Replace with your model name
85
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
86
+ model = AutoModelForTokenClassification.from_pretrained(model_name)
87
+
88
+ # Create a NER pipeline
89
+ ner_pipeline = pipeline("ner", model=model, tokenizer=tokenizer)
90
+
91
+ # Sample text
92
+ text = "Barack Obama was born on August 4, 1961 in Honolulu, Hawaii."
93
+
94
+ # Perform NER
95
+ entities = ner_pipeline(text)
96
+
97
+ # Print detected entities
98
+ for entity in entities:
99
+ print(f"Entity: {entity['word']}, Type: {entity['entity']}, Score: {entity['score']:.4f}")
100
+
101
+
102
+ ´´´
103
+
104
+ ## Training Details
105
+
106
+ ### Training Data
107
+
108
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
109
+
110
+ [More Information Needed]
111
+
112
+ ### Training Procedure
113
+
114
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
115
+
116
+ #### Preprocessing [optional]
117
+
118
+ [More Information Needed]
119
+
120
+
121
+ #### Training Hyperparameters
122
+
123
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
124
+
125
+ #### Speeds, Sizes, Times [optional]
126
+
127
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ## Evaluation
132
+
133
+ <!-- This section describes the evaluation protocols and provides the results. -->
134
+
135
+ ### Testing Data, Factors & Metrics
136
+
137
+ #### Testing Data
138
+
139
+ <!-- This should link to a Dataset Card if possible. -->
140
+
141
+ [More Information Needed]
142
+
143
+ #### Factors
144
+
145
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
146
+
147
+ [More Information Needed]
148
+
149
+ #### Metrics
150
+
151
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
152
+
153
+ [More Information Needed]
154
+
155
+ ### Results
156
+
157
+ [More Information Needed]
158
+
159
+ #### Summary
160
+
161
+
162
+
163
+ ## Model Examination [optional]
164
+
165
+ <!-- Relevant interpretability work for the model goes here -->
166
+
167
+ [More Information Needed]
168
+
169
+ ## Environmental Impact
170
+
171
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
172
+
173
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
174
+
175
+ - **Hardware Type:** [More Information Needed]
176
+ - **Hours used:** [More Information Needed]
177
+ - **Cloud Provider:** [More Information Needed]
178
+ - **Compute Region:** [More Information Needed]
179
+ - **Carbon Emitted:** [More Information Needed]
180
+
181
+ ## Technical Specifications [optional]
182
+
183
+ ### Model Architecture and Objective
184
+
185
+ [More Information Needed]
186
+
187
+ ### Compute Infrastructure
188
+
189
+ [More Information Needed]
190
+
191
+ #### Hardware
192
+
193
+ [More Information Needed]
194
+
195
+ #### Software
196
+
197
+ [More Information Needed]
198
+
199
+ ## Citation [optional]
200
+
201
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
202
+
203
+ **BibTeX:**
204
+
205
+ [More Information Needed]
206
+
207
+ **APA:**
208
+
209
+ [More Information Needed]
210
+
211
+ ## Glossary [optional]
212
+
213
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
214
+
215
+ [More Information Needed]
216
+
217
+ ## More Information [optional]
218
+
219
+ [More Information Needed]
220
+
221
+ ## Model Card Authors [optional]
222
+
223
+ [More Information Needed]
224
+
225
+ ## Model Card Contact
226
+
227
+ [More Information Needed]