Run this model with HF Jobs
Run helena-balabin/pretrained_graphormer_vg_image_graphs on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/helena-balabin/pretrained_graphormer_vg_image_graphs. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/helena-balabin/pretrained_graphormer_vg_image_graphs on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use helena-balabin/pretrained_graphormer_vg_image_graphs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use helena-balabin/pretrained_graphormer_vg_image_graphs with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import GraphormerForEdgePrediction model = GraphormerForEdgePrediction.from_pretrained("helena-balabin/pretrained_graphormer_vg_image_graphs", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from helena-balabin/pretrained_graphormer_vg_image_graphs: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/helena-balabin/pretrained_graphormer_vg_image_graphs/resolve/main/config.json
- Command line
-
hf download hf://helena-balabin/pretrained_graphormer_vg_image_graphs/config.json
-
curl -L -o config.json https://huggingface.co/helena-balabin/pretrained_graphormer_vg_image_graphs/resolve/main/config.json
1.09 kB
| { | |
| "activation_dropout": 0.1, | |
| "activation_fn": "gelu", | |
| "apply_graphormer_init": false, | |
| "architectures": [ | |
| "GraphormerForEdgePrediction" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bias": true, | |
| "bos_token_id": 1, | |
| "dropout": 0.1, | |
| "edge_type": "multi_hop", | |
| "embed_scale": null, | |
| "embedding_dim": 512, | |
| "encoder_normalize_before": false, | |
| "eos_token_id": 2, | |
| "ffn_embedding_dim": 768, | |
| "freeze_embeddings": false, | |
| "hidden_size": 512, | |
| "kdim": null, | |
| "layerdrop": 0.0, | |
| "max_nodes": 512, | |
| "model_type": "graphormer", | |
| "multi_hop_max_dist": 5, | |
| "num_atoms": 4608, | |
| "num_attention_heads": 32, | |
| "num_classes": 1, | |
| "num_edge_dis": 128, | |
| "num_edges": 1536, | |
| "num_hidden_layers": 6, | |
| "num_in_degree": 512, | |
| "num_out_degree": 512, | |
| "num_spatial": 512, | |
| "num_trans_layers_to_freeze": 0, | |
| "pad_token_id": 0, | |
| "pre_layernorm": false, | |
| "q_noise": 0.0, | |
| "qn_block_size": 8, | |
| "self_attention": true, | |
| "share_input_output_embed": false, | |
| "spatial_pos_max": 1024, | |
| "torch_dtype": "float32", | |
| "traceable": false, | |
| "transformers_version": "4.45.2", | |
| "vdim": null | |
| } | |