Upload TokenGTForGraphClassification
Browse files- config.json +67 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.1,
|
3 |
+
"activation_fn": "gelu",
|
4 |
+
"apply_graphormer_init": true,
|
5 |
+
"architectures": [
|
6 |
+
"TokenGTForGraphClassification"
|
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 |
+
"ffn_embedding_dim": 768,
|
18 |
+
"freeze_embeddings": false,
|
19 |
+
"init_fn": null,
|
20 |
+
"kdim": null,
|
21 |
+
"lap_node_id": true,
|
22 |
+
"lap_node_id_eig_dropout": 0.0,
|
23 |
+
"lap_node_id_k": 16,
|
24 |
+
"lap_node_id_sign_flip": true,
|
25 |
+
"layerdrop": 0.0,
|
26 |
+
"layernorm_style": "prenorm",
|
27 |
+
"max_nodes": 128,
|
28 |
+
"model_type": "tokengt",
|
29 |
+
"multi_hop_max_dist": 5,
|
30 |
+
"n_trans_layers_to_freeze": 0,
|
31 |
+
"no_token_positional_embeddings": false,
|
32 |
+
"num_atoms": 4608,
|
33 |
+
"num_attention_heads": 32,
|
34 |
+
"num_classes": 1,
|
35 |
+
"num_edge_dis": 128,
|
36 |
+
"num_edges": 1536,
|
37 |
+
"num_in_degree": 512,
|
38 |
+
"num_layers": 12,
|
39 |
+
"num_out_degree": 512,
|
40 |
+
"num_spatial": 512,
|
41 |
+
"orf_node_id": false,
|
42 |
+
"orf_node_id_dim": 64,
|
43 |
+
"pad_token_id": 0,
|
44 |
+
"performer": false,
|
45 |
+
"performer_auto_check_redraw": true,
|
46 |
+
"performer_feature_redraw_interval": 1000,
|
47 |
+
"performer_finetune": false,
|
48 |
+
"performer_generalized_attention": false,
|
49 |
+
"performer_nb_features": null,
|
50 |
+
"q_noise": 0.0,
|
51 |
+
"qn_block_size": 8,
|
52 |
+
"rand_node_id": false,
|
53 |
+
"rand_node_id_dim": 64,
|
54 |
+
"return_attention": false,
|
55 |
+
"self_attention": true,
|
56 |
+
"share_encoder_input_output_embed": false,
|
57 |
+
"share_input_output_embed": false,
|
58 |
+
"spatial_pos_max": 1024,
|
59 |
+
"stochastic_depth": false,
|
60 |
+
"tasks_weights": null,
|
61 |
+
"torch_dtype": "float32",
|
62 |
+
"traceable": false,
|
63 |
+
"transformers_version": "4.27.0.dev0",
|
64 |
+
"type_id": true,
|
65 |
+
"uses_fixed_gaussian_features": false,
|
66 |
+
"vdim": null
|
67 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb17e4c8a54bf606dbb1ec1a92e80a52b732d29484d29f2051983f940c287c07
|
3 |
+
size 194039189
|