clefourrier HF staff commited on
Commit
02933b5
1 Parent(s): 7af0954

Upload GraphormerForGraphClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.1,
3
+ "activation_fn": "gelu",
4
+ "apply_graphormer_init": true,
5
+ "architectures": [
6
+ "GraphormerForGraphClassification"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bias": true,
10
+ "bos_token_id": 1,
11
+ "dropout": 0.0,
12
+ "edge_type": "multi_hop",
13
+ "embed_scale": null,
14
+ "embedding_dim": 768,
15
+ "encoder_normalize_before": true,
16
+ "eos_token_id": 2,
17
+ "export": false,
18
+ "ffn_embedding_dim": 768,
19
+ "freeze_embeddings": false,
20
+ "hidden_size": 768,
21
+ "id2label": {
22
+ "0": "LABEL_0"
23
+ },
24
+ "init_fn": null,
25
+ "kdim": null,
26
+ "label2id": {
27
+ "LABEL_0": 0
28
+ },
29
+ "layerdrop": 0.0,
30
+ "max_nodes": 512,
31
+ "model_type": "graphormer",
32
+ "multi_hop_max_dist": 5,
33
+ "no_token_positional_embeddings": false,
34
+ "num_atoms": 4608,
35
+ "num_attention_heads": 32,
36
+ "num_edge_dis": 128,
37
+ "num_edges": 1536,
38
+ "num_in_degree": 512,
39
+ "num_layers": 12,
40
+ "num_out_degree": 512,
41
+ "num_spatial": 512,
42
+ "num_trans_layers_to_freeze": 0,
43
+ "pad_token_id": 0,
44
+ "pre_layernorm": false,
45
+ "q_noise": 0.0,
46
+ "qn_block_size": 8,
47
+ "self_attention": true,
48
+ "share_input_output_embed": false,
49
+ "spatial_pos_max": 1024,
50
+ "torch_dtype": "float32",
51
+ "traceable": false,
52
+ "transformers_version": "4.26.0.dev0",
53
+ "vdim": null
54
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d636207c28c3fa9b05bd0107c78f5e4d7768cefec2fd3489172ba3940041342
3
+ size 190778957