mapama247 commited on
Commit
62dd987
·
1 Parent(s): 1ced4b7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +152 -0
README.md CHANGED
@@ -1,3 +1,155 @@
1
  ---
 
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: ca
3
  license: apache-2.0
4
+ tags:
5
+ - "catalan"
6
+ - "masked-lm"
7
+ - "distilroberta"
8
+ - "CaText"
9
+ - "Catalan Textual Corpus"
10
+ widget:
11
+ - text: "El Català és una llengua molt <mask>."
12
+ - text: "Salvador Dalí va viure a <mask>."
13
+ - text: "La Costa Brava té les millors <mask> d'Espanya."
14
+ - text: "El cacaolat és un batut de <mask>."
15
+ - text: "<mask> és la capital de la Garrotxa."
16
+ - text: "Vaig al <mask> a buscar bolets."
17
+ - text: "Antoni Gaudí vas ser un <mask> molt important per la ciutat."
18
+ - text: "Catalunya és una referència en <mask> a nivell europeu."
19
  ---
20
+
21
+ # [TODO: MODEL_NAME]
22
+
23
+ ## Table of Contents
24
+ <details>
25
+ <summary>Click to expand</summary>
26
+
27
+ - [Model description](#model-description)
28
+ - [Intended uses and limitations](#intended-use)
29
+ - [How to use](#how-to-use)
30
+ - [Limitations and bias](#limitations-and-bias)
31
+ - [Training](#training)
32
+ - [Evaluation](#evaluation)
33
+ - [Additional information](#additional-information)
34
+ - [Author](#author)
35
+ - [Contact information](#contact-information)
36
+ - [Copyright](#copyright)
37
+ - [Licensing information](#licensing-information)
38
+ - [Funding](#funding)
39
+ - [Citing information](#citing-information)
40
+ - [Disclaimer](#disclaimer)
41
+
42
+ </details>
43
+
44
+ ## Overview
45
+ - **Architecture:** [TODO: roberta-base/roberta-large/bart...]
46
+ - **Language:** [TODO: Catalan/Spanish...]
47
+ - **Task:** [TODO: Text Classification / Extractive QA...]
48
+ - **Data:** [TODO: BNE/Tecla/Teca/Pharmaconer...]
49
+
50
+
51
+ ## Model description
52
+
53
+ [TODO: Brief description of the model]
54
+
55
+
56
+ ## Intended uses and limitations
57
+
58
+ [TODO: Mention the tasks it can perform]
59
+
60
+
61
+ ## How to use
62
+
63
+ ```python
64
+ from transformers import AutoModel, AutoTokenizer, pipeline
65
+ from datasets import load_dataset
66
+ [TODO: Add minimal code here]
67
+ ```
68
+
69
+ ## Limitations and bias
70
+
71
+ At the time of submission, no measures have been taken to estimate the bias embedded in the model. However, we are well aware that our models may be biased since the corpora have been collected using crawling techniques on multiple web sources. We intend to conduct research in these areas in the future, and if completed, this model card will be updated.
72
+
73
+ ## Training
74
+
75
+ ### Training data
76
+
77
+ The training corpus consists of several corpora gathered from web crawling and public corpora.
78
+
79
+ | Corpus | Size in GB |
80
+ |-------------------------|------------|
81
+ | Catalan Crawling | 13.00 |
82
+ | Wikipedia | 1.10 |
83
+ | DOGC | 0.78 |
84
+ | Catalan Open Subtitles | 0.02 |
85
+ | Catalan Oscar | 4.00 |
86
+ | CaWaC | 3.60 |
87
+ | Cat. General Crawling | 2.50 |
88
+ | Cat. Goverment Crawling | 0.24 |
89
+ | ACN | 0.42 |
90
+ | Padicat | 0.63 |
91
+ | RacoCatalá | 8.10 |
92
+ | Nació Digital | 0.42 |
93
+ | Vilaweb | 0.06 |
94
+ | Tweets | 0.02 |
95
+
96
+ ### Training procedure
97
+
98
+ [TODO]
99
+
100
+ ## Evaluation
101
+
102
+ ### Variable and metrics
103
+
104
+ [TODO]
105
+
106
+ ### Evaluation results
107
+
108
+ | Task | NER (F1) | POS (F1) | STS-ca (Comb) | TeCla (Acc.) | TEca (Acc.) | VilaQuAD (F1/EM)| ViquiQuAD (F1/EM) | CatalanQA (F1/EM) | XQuAD-ca <sup>1</sup> (F1/EM) |
109
+ | ------------|:-------------:| -----:|:------|:------|:-------|:------|:----|:----|:----|
110
+ | RoBERTa-large-ca-v2 | **89.82** | **99.02** | **83.41** | **75.46** | **83.61** | **89.34/75.50** | **89.20**/75.77 | **90.72/79.06** | **73.79**/55.34 |
111
+ | RoBERTa-base-ca-v2 | 89.29 | 98.96 | 79.07 | 74.26 | 83.14 | 87.74/72.58 | 88.72/**75.91** | 89.50/76.63 | 73.64/**55.42** |
112
+ | DistilRoBERTa-base-ca-v2| xx.xx | xx.xx | xx.xx | xx.xx | xx.xx | xx.xx/xx.xx | xx.xx/xx.xx | xx.xx/xx.xx | xx.xx/xx.xx |
113
+
114
+ <sup>1</sup> : Trained on CatalanQA, tested on XQuAD-ca.
115
+
116
+
117
+ ## Additional Information
118
+
119
+ ### Authors
120
+
121
+ Text Mining Unit (TeMU) at the Barcelona Supercomputing Center (bsc-temu@bsc.es).
122
+
123
+ ### Contact information
124
+
125
+ For further information, send an email to aina@bsc.es.
126
+
127
+ ## Copyright
128
+
129
+ Copyright by the Text Mining Unit at Barcelona Supercomputing Center.
130
+
131
+ ### Licensing Information
132
+
133
+ This work is licensed under a [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
134
+
135
+ ### Funding
136
+
137
+ This work was funded by the [Departament de la Vicepresidència i de Polítiques Digitals i Territori de la Generalitat de Catalunya](https://politiquesdigitals.gencat.cat/ca/inici/index.html#googtrans(ca|en) within the framework of [Projecte AINA](https://politiquesdigitals.gencat.cat/ca/economia/catalonia-ai/aina).
138
+
139
+ ### Citation Information
140
+
141
+ ```bibtex
142
+ [TODO: add bibtext citation here]
143
+ ```
144
+
145
+ ### Disclaimer
146
+
147
+ <details>
148
+ <summary>Click to expand</summary>
149
+
150
+ The models published in this repository are intended for a generalist purpose and are available to third parties. These models may have bias and/or any other undesirable distortions.
151
+
152
+ When third parties, deploy or provide systems and/or services to other parties using any of these models (or using systems based on these models) or become users of the models, they should note that it is their responsibility to mitigate the risks arising from their use and, in any event, to comply with applicable regulations, including regulations regarding the use of Artificial Intelligence.
153
+
154
+ In no event shall the owner and creator of the models (BSC – Barcelona Supercomputing Center) be liable for any results arising from the use made by third parties of these models.
155
+ </details>