guyhadad01 commited on
Commit
25bef25
1 Parent(s): 35feeed

Upload GraphormerForGraphClassification

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