seenuvasanfoss commited on
Commit
a627773
1 Parent(s): f53b345

updated main dash board

Browse files
Files changed (1) hide show
  1. README.md +219 -0
README.md CHANGED
@@ -1,3 +1,222 @@
1
  ---
2
  license: gpl-2.0
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: gpl-2.0
3
+ pipeline_tag: question-answering
4
  ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+ 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).
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** seenuvasan T
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** Deberta
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ from transformers import DebertaV2Tokenizer, DebertaV2ForQuestionAnswering
45
+
46
+ model_path = "fine_tuned_deberta_question_answering"
47
+
48
+
49
+ model = DebertaV2ForQuestionAnswering.from_pretrained(model_path,ignore_mismatched_sizes=True)
50
+
51
+
52
+ tokenizer = DebertaV2Tokenizer.from_pretrained(model_path)
53
+
54
+
55
+ nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
56
+ QA_input = {
57
+ 'question': 'What is DeBERTa?',
58
+ 'context': 'The DeBERTa model is a powerful language understanding model.'
59
+ }
60
+ res = nlp(QA_input)
61
+ print(res)
62
+
63
+
64
+
65
+ [More Information Needed]
66
+
67
+ ### Downstream Use [optional]
68
+
69
+
70
+
71
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
72
+
73
+ [More Information Needed]
74
+
75
+ ### Out-of-Scope Use
76
+
77
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
78
+
79
+ [More Information Needed]
80
+
81
+ ## Bias, Risks, and Limitations
82
+
83
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
84
+
85
+ [More Information Needed]
86
+
87
+ ### Recommendations
88
+
89
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
90
+
91
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
92
+
93
+ ## How to Get Started with the Model
94
+
95
+ Use the code below to get started with the model.
96
+
97
+ [More Information Needed]
98
+
99
+ ## Training Details
100
+
101
+ ### Training Data
102
+
103
+ <!-- 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. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ### Training Procedure
108
+
109
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
110
+
111
+ #### Preprocessing [optional]
112
+
113
+ [More Information Needed]
114
+
115
+
116
+ #### Training Hyperparameters
117
+
118
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
119
+
120
+ #### Speeds, Sizes, Times [optional]
121
+
122
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
123
+
124
+ [More Information Needed]
125
+
126
+ ## Evaluation
127
+
128
+ <!-- This section describes the evaluation protocols and provides the results. -->
129
+
130
+ ### Testing Data, Factors & Metrics
131
+
132
+ #### Testing Data
133
+
134
+ <!-- This should link to a Dataset Card if possible. -->
135
+
136
+ [More Information Needed]
137
+
138
+ #### Factors
139
+
140
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
141
+
142
+ [More Information Needed]
143
+
144
+ #### Metrics
145
+
146
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
147
+
148
+ [More Information Needed]
149
+
150
+ ### Results
151
+
152
+ [More Information Needed]
153
+
154
+ #### Summary
155
+
156
+
157
+
158
+ ## Model Examination [optional]
159
+
160
+ <!-- Relevant interpretability work for the model goes here -->
161
+
162
+ [More Information Needed]
163
+
164
+ ## Environmental Impact
165
+
166
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
167
+
168
+ 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).
169
+
170
+ - **Hardware Type:** [More Information Needed]
171
+ - **Hours used:** [More Information Needed]
172
+ - **Cloud Provider:** [More Information Needed]
173
+ - **Compute Region:** [More Information Needed]
174
+ - **Carbon Emitted:** [More Information Needed]
175
+
176
+ ## Technical Specifications [optional]
177
+
178
+ ### Model Architecture and Objective
179
+
180
+ [More Information Needed]
181
+
182
+ ### Compute Infrastructure
183
+
184
+ [More Information Needed]
185
+
186
+ #### Hardware
187
+
188
+ [More Information Needed]
189
+
190
+ #### Software
191
+
192
+ [More Information Needed]
193
+
194
+ ## Citation [optional]
195
+
196
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
197
+
198
+ **BibTeX:**
199
+
200
+ [More Information Needed]
201
+
202
+ **APA:**
203
+
204
+ [More Information Needed]
205
+
206
+ ## Glossary [optional]
207
+
208
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
209
+
210
+ [More Information Needed]
211
+
212
+ ## More Information [optional]
213
+
214
+ [More Information Needed]
215
+
216
+ ## Model Card Authors [optional]
217
+
218
+ [More Information Needed]
219
+
220
+ ## Model Card Contact
221
+
222
+ [More Information Needed]