sbcBI commited on
Commit
29f37b8
1 Parent(s): b0869d2

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -0
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ tags:
4
+ - exbert
5
+ license: apache-2.0
6
+ datasets:
7
+ - Confidential
8
+ ---
9
+ # BERT base model (uncased)
10
+
11
+ Pretrained model on English language using a masked language modeling (MLM) objective. It was introduced in
12
+ [this paper](https://arxiv.org/abs/1810.04805) and first released in
13
+ [this repository](https://github.com/google-research/bert). This model is uncased: it does not make a difference
14
+ between english and English.
15
+
16
+ ## Model description
17
+
18
+ BERT is a transformers model pretrained on a large corpus of English data in a self-supervised fashion. This means it
19
+ was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of
20
+ publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it
21
+ was pretrained with two objectives:
22
+
23
+ - Masked language modeling (MLM): taking a sentence, the model randomly masks 15% of the words in the input then run
24
+ the entire masked sentence through the model and has to predict the masked words. This is different from traditional
25
+ recurrent neural networks (RNNs) that usually see the words one after the other, or from autoregressive models like
26
+ GPT which internally mask the future tokens. It allows the model to learn a bidirectional representation of the
27
+ sentence.
28
+ - Next sentence prediction (NSP): the models concatenates two masked sentences as inputs during pretraining. Sometimes
29
+ they correspond to sentences that were next to each other in the original text, sometimes not. The model then has to
30
+ predict if the two sentences were following each other or not.
31
+
32
+ This way, the model learns an inner representation of the English language that can then be used to extract features
33
+ useful for downstream tasks: if you have a dataset of labeled sentences for instance, you can train a standard
34
+ classifier using the features produced by the BERT model as inputs.
35
+
36
+ ## Model description [xaqren/sentiment_analysis]
37
+
38
+ This is a fine-tuned downstream version of the bert-base-uncased model for sentiment analysis, this model is not intended for
39
+ further downstream fine-tuning for any other tasks. This model is trained on a classified dataset for text-classification.