moussaKam commited on
Commit
240606d
1 Parent(s): 1bec405

initial commit

Browse files
Files changed (5) hide show
  1. README.md +24 -0
  2. config.json +53 -0
  3. pytorch_model.bin +3 -0
  4. sentencepiece.bpe.model +3 -0
  5. tokenizer.json +0 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - summarization
4
+
5
+ language:
6
+ - fr
7
+
8
+ widget:
9
+ - text: Citant les préoccupations de ses clients dénonçant des cas de censure après la suppression du compte de Trump, un fournisseur d'accès Internet de l'État de l'Idaho a décidé de bloquer Facebook et Twitter. La mesure ne concernera cependant que les clients mécontents de la politique de ces réseaux sociaux.
10
+ ---
11
+ ### Barthez model finetuned on orangeSum (abstract generation)
12
+
13
+ finetuning: examples/seq2seq (as of Feb 08 2021)
14
+
15
+ paper: https://arxiv.org/abs/2010.12321
16
+
17
+ ```
18
+ @article{eddine2020barthez,
19
+ title={BARThez: a Skilled Pretrained French Sequence-to-Sequence Model},
20
+ author={Eddine, Moussa Kamal and Tixier, Antoine J-P and Vazirgiannis, Michalis},
21
+ journal={arXiv preprint arXiv:2010.12321},
22
+ year={2020}
23
+ }
24
+ ```
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.1,
3
+ "activation_function": "gelu",
4
+ "add_bias_logits": false,
5
+ "add_final_layer_norm": true,
6
+ "architectures": [
7
+ "MBartForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.1,
10
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.1,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 768,
14
+ "decoder_attention_heads": 12,
15
+ "decoder_ffn_dim": 3072,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 2,
19
+ "do_blenderbot_90_layernorm": false,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 2,
27
+ "extra_pos_embeddings": 2,
28
+ "force_bos_token_to_be_generated": false,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1",
32
+ "2": "LABEL_2"
33
+ },
34
+ "init_std": 0.02,
35
+ "is_encoder_decoder": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_position_embeddings": 1024,
42
+ "model_type": "mbart",
43
+ "no_repeat_ngram_size": 3,
44
+ "normalize_before": true,
45
+ "normalize_embedding": true,
46
+ "num_beams": 4,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 1,
49
+ "scale_embedding": false,
50
+ "static_position_embeddings": false,
51
+ "vocab_size": 50002,
52
+ "tokenizer_class": "BarthezTokenizer"
53
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab62b0dc500d41d794f136e8e036441d32270ef57cf92b500f8142b396686cbb
3
+ size 557190519
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:582403da7cb525c4cac90b495e553cb766b818be71755e6bd885072a1067314a
3
+ size 1115393
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff