ybelkada HF staff commited on
Commit
8d5d33d
1 Parent(s): 06992e8

Upload BartForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +45 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-BartForConditionalGeneration",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "BartForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 0,
10
+ "classifier_dropout": 0.0,
11
+ "d_model": 16,
12
+ "decoder_attention_heads": 4,
13
+ "decoder_ffn_dim": 4,
14
+ "decoder_layerdrop": 0.0,
15
+ "decoder_layers": 2,
16
+ "decoder_start_token_id": 2,
17
+ "dropout": 0.1,
18
+ "encoder_attention_heads": 4,
19
+ "encoder_ffn_dim": 4,
20
+ "encoder_layerdrop": 0.0,
21
+ "encoder_layers": 2,
22
+ "eos_token_id": 2,
23
+ "forced_eos_token_id": null,
24
+ "id2label": {
25
+ "0": "LABEL_0",
26
+ "1": "LABEL_1",
27
+ "2": "LABEL_2"
28
+ },
29
+ "init_std": 0.02,
30
+ "is_encoder_decoder": true,
31
+ "label2id": {
32
+ "LABEL_0": 0,
33
+ "LABEL_1": 1,
34
+ "LABEL_2": 2
35
+ },
36
+ "max_position_embeddings": 100,
37
+ "model_type": "bart",
38
+ "num_hidden_layers": 2,
39
+ "pad_token_id": 1,
40
+ "scale_embedding": false,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.26.0.dev0",
43
+ "use_cache": true,
44
+ "vocab_size": 1024
45
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:078f6afcf904bdac5c1275123798bf6ef2331ed4421c20e1b4d7bb8353f4a36a
3
+ size 142213