File size: 2,720 Bytes
c81207b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
  "architectures": [
    "MolParserVisionEncoderDecoderModel"
  ],
  "auto_map": {
    "AutoConfig": "modeling_molparser_mobile.MolParserVisionEncoderDecoderConfig",
    "AutoModelForImageTextToText": "modeling_molparser_mobile.MolParserVisionEncoderDecoderModel"
  },
  "decoder": {
    "_name_or_path": "",
    "activation_dropout": 0.0,
    "activation_function": "gelu",
    "add_cross_attention": true,
    "architectures": null,
    "attention_dropout": 0.0,
    "bos_token_id": 0,
    "chunk_size_feed_forward": 0,
    "classifier_dropout": 0.0,
    "d_model": 192,
    "decoder_attention_heads": 4,
    "decoder_ffn_dim": 768,
    "decoder_layerdrop": 0.0,
    "decoder_layers": 6,
    "decoder_start_token_id": 2,
    "dropout": 0.1,
    "dtype": "float16",
    "encoder_attention_heads": 4,
    "encoder_ffn_dim": 768,
    "encoder_hidden_size": 192,
    "encoder_layerdrop": 0.0,
    "encoder_layers": 0,
    "eos_token_id": 2,
    "forced_eos_token_id": 2,
    "id2label": {
      "0": "LABEL_0",
      "1": "LABEL_1",
      "2": "LABEL_2"
    },
    "init_std": 0.02,
    "is_decoder": true,
    "is_encoder_decoder": false,
    "label2id": {
      "LABEL_0": 0,
      "LABEL_1": 1,
      "LABEL_2": 2
    },
    "max_position_embeddings": 1024,
    "model_type": "bart",
    "output_attentions": false,
    "output_hidden_states": false,
    "pad_token_id": 1,
    "problem_type": null,
    "return_dict": true,
    "scale_embedding": false,
    "tie_word_embeddings": true,
    "use_cache": true,
    "vocab_size": 385
  },
  "decoder_start_token_id": 0,
  "dtype": "float16",
  "encoder": {
    "_name_or_path": "",
    "architectures": null,
    "auto_map": {
      "AutoConfig": "modeling_molparser_mobile.CustomEncoderConfig",
      "AutoModel": "modeling_molparser_mobile.CustomTimmEncoder"
    },
    "chunk_size_feed_forward": 0,
    "dtype": "float16",
    "hidden_size": 192,
    "id2label": {
      "0": "LABEL_0",
      "1": "LABEL_1"
    },
    "initializer_range": 0.02,
    "is_encoder_decoder": false,
    "label2id": {
      "LABEL_0": 0,
      "LABEL_1": 1
    },
    "model_input_size": 224,
    "model_type": "custom_timm_encoder",
    "output_attentions": false,
    "output_hidden_states": false,
    "pixel_unshuffle": 1,
    "problem_type": null,
    "return_dict": true,
    "timm_model_name": "vit_tiny_r_s16_p8_224.augreg_in21k_ft_in1k",
    "timm_output_dim": 192,
    "timm_pretrained": false
  },
  "is_encoder_decoder": true,
  "model_type": "molparser_vision_encoder_decoder",
  "pad_token_id": 1,
  "tie_word_embeddings": false,
  "transformers_version": "5.4.0",
  "use_cache": true,
  "vocab_size": 385,
  "model_name": "MolParser Mobile",
  "torch_dtype": "float16"
}