yzhuang commited on
Commit
28e4741
·
verified ·
1 Parent(s): a70afaf

End of training

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +57 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: clefourrier/graphormer-base-pcqm4mv2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: graph-classification
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # graph-classification
15
+
16
+ This model is a fine-tuned version of [clefourrier/graphormer-base-pcqm4mv2](https://huggingface.co/clefourrier/graphormer-base-pcqm4mv2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.4349
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - distributed_type: multi-GPU
42
+ - num_devices: 8
43
+ - total_train_batch_size: 64
44
+ - total_eval_batch_size: 64
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 0.46 | 1.0 | 515 | 0.3197 |
54
+ | 0.3875 | 2.0 | 1030 | 0.2661 |
55
+ | 0.348 | 3.0 | 1545 | 0.2706 |
56
+ | 0.3096 | 4.0 | 2060 | 0.2712 |
57
+ | 0.2819 | 5.0 | 2575 | 0.2830 |
58
+ | 0.2414 | 6.0 | 3090 | 0.3111 |
59
+ | 0.2024 | 7.0 | 3605 | 0.3633 |
60
+ | 0.1843 | 8.0 | 4120 | 0.4180 |
61
+ | 0.1467 | 9.0 | 4635 | 0.4040 |
62
+ | 0.1364 | 10.0 | 5150 | 0.4349 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.43.3
68
+ - Pytorch 2.1.2+cu121
69
+ - Datasets 2.20.0
70
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "clefourrier/graphormer-base-pcqm4mv2",
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.43.3",
56
+ "vdim": null
57
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:187d8aa3ca511a26de0cb8a2414b3567a8af914298c344effc8d14e340f82918
3
+ size 190738260
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eeb6fe7a61c49e458464a413acdca3d573bd5c7773b9194affe18dc1594593e
3
+ size 5176