python-gfm 0.1.1__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_gfm-0.1.1 → python_gfm-0.1.3}/PKG-INFO +152 -152
- {python_gfm-0.1.1 → python_gfm-0.1.3}/pyproject.toml +1 -1
- {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/PKG-INFO +152 -152
- {python_gfm-0.1.1 → python_gfm-0.1.3}/setup.cfg +4 -4
- python_gfm-0.1.3/src/pygfm/__init__.py +15 -0
- python_gfm-0.1.3/src/pygfm/baseline_models/__init__.py +119 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/clip_graph.py +12 -4
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/simple_tokenizer.py +13 -2
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/runtime.py +49 -42
- python_gfm-0.1.1/src/pygfm/__init__.py +0 -17
- python_gfm-0.1.1/src/pygfm/baseline_models/__init__.py +0 -161
- {python_gfm-0.1.1 → python_gfm-0.1.3}/README.md +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/SOURCES.txt +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/dependency_links.txt +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/entry_points.txt +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/requires.txt +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/top_level.txt +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/ablation.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/classic_gnn/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/classic_gnn/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/classic_gnn/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/build_instruct_arxiv_ds.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/constants.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/conversation.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/eval/run_graphgpt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/eval/run_graphgpt_LP.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/eval/run_vicuna.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/GraphLlama.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/GraphLlama_pl.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/apply_delta.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/apply_lora.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/builder.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/compression.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/convert_fp16.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/clip_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/graph_transformer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/mpnn.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/simple_tokenizer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/make_delta.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/model_adapter.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/model_registry.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/monkey_patch_non_inplace.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/protocol/openai_api_protocol.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/api_provider.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/bard_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/cacheflow_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/cli.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/controller.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/controller_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_block_arena_anony.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_block_arena_named.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_css.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_patch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_web_server.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_web_server_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_web_server_multi.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/huggingface_api.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/inference.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/model_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/model_worker_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/basic_stats.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/clean_battle_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/elo_analysis.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/hf_space_leaderboard_app.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/monitor.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/openai_api_server.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/register_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/test_message.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/test_throughput.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/graphchat_trainer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/llama_flash_attn_monkey_patch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_light.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_lora.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_mem.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/build_instruct_arxiv_ds.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/constants.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/conversation.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/eval/run_graphgpt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/eval/run_graphgpt_LP.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/eval/run_vicuna.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/GraphLlama.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/GraphLlama_pl.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/apply_delta.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/apply_lora.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/builder.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/compression.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/convert_fp16.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/graph_transformer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/mpnn.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/make_delta.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/model_adapter.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/model_registry.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/monkey_patch_non_inplace.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/protocol/openai_api_protocol.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/api_provider.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/bard_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/cacheflow_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/cli.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/controller.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/controller_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_block_arena_anony.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_block_arena_named.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_css.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_patch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_web_server.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_web_server_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_web_server_multi.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/huggingface_api.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/inference.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/model_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/model_worker_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/basic_stats.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/clean_battle_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/elo_analysis.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/hf_space_leaderboard_app.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/monitor.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/openai_api_server.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/register_worker.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/test_message.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/test_throughput.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/graphchat_trainer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/llama_flash_attn_monkey_patch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_light.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_lora.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_mem.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/prompt_layers.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/eval/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/eval/run_icl.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/agent.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/conversation.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/graph_instruction_dataset.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/icl.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/llama_flash_attn_monkey_patch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/model.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/prompts.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/samplers.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/deepseek.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/fake_llm.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/gpt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/llama_icl.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/llm.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/smoke_llm.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/train/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/train/run_sft.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/cfg_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/iterables.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/logging.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/np_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/os_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/graph_tree.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/ppr.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/preprocess.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/pyg_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/textual_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/dict2xml.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/distributed.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/graph_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/hf_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/project/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/project/exp.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/prompt_layers.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/eval_pretrain.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/eval_pretrain_logit.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/eval_res.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/fixtures/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/fixtures/smoke_bundle.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/io_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/apply_delta.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/builder.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/consolidate.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/llaga_llama.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/llaga_mpt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/llaga_opt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/adapt_tokenizer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/attention.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/blocks.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/configuration_mpt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/custom_embedding.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/flash_attn_triton.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/hf_prefixlm_converter.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/meta_init_context.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/modeling_mpt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/norm.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/param_init_fns.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/llaga_arch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/make_delta.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/paths.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/pyg_dataset.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/llaga_trainer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/llama_flash_attn_monkey_patch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/train.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/train_mem.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/constants.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/conversation.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/data_process.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/multidomain_gfm.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/aug.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/discriminator.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/discriminator2.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/gcn.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/readout.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/LP.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/dgi.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/gcnlayers.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/graphcl.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/logreg.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/paths.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/utils/process.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/KG/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/KG/gen_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/chemmol/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/chemmol/gen_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/chemmol/gen_raw_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/ofa_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Cora/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Cora/gen_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Pubmed/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Pubmed/gen_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/arxiv/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/arxiv/gen_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/gen_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/wikics/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/wikics/gen_data.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/torch_io.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/fs_datamanager.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/data_template.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/metric.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/module_template.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/training.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/layer/pyg.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/loss.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/GNN.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/dgl.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/pyg.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/task_predictor.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/util_model.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/pooling.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/resolver.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/datasets.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/io.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/lightning_model.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/models/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/models/model.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/ofa_datasets.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/paths.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/run_cdm.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/task_constructor.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/rag_gfm/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/rag_gfm/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/data_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/gcn_surrogate.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/paths.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/pipeline/01_train_gcn_surrogate.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/pipeline/02_nettack_reports.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/pipeline/03_assemble_final.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/pipeline/04_random_perturb.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/pipeline/05_metattack_surrogate.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/pipeline/06_metattack_batch.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/community_detection/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/community_detection/pipeline/01_detect_communities.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/community_detection/pipeline/02_analyze_communities.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/lib/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/lib/config.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/models/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/models/down_model.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/models/moe.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/pipeline/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/pipeline/train_downstream.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/few_shot_gen/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/few_shot_gen/pipeline/01_generate_splits.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/node_feature_enhance/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/node_feature_enhance/pipeline/01_build_enhanced_x.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/paths.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/data_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/model.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/train_single.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/downprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/downprompt_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/preprompt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/cli/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/cli/sa2gfm.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/core/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/core/gnn_encoder.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/domain_alignment.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/downstream_data_gen/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/downstream_data_gen/generator.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/feature_handling.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/graph_construction.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/graph_type_variants.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/loss_calculation.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/rag_gfm/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/rag_gfm/corpus_builder.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/rag_gfm/motif_builder.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/backbone_models/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/backbone_models/gnn_encoder.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/default_ckpt.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/export_yaml.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/multigprompt_config.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/yaml_config.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/yaml_flat_to_argv.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/model_bases.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/ogb_preprocess.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/pyg_graph.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/text_embed.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/dev_llm_stub.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/hf_hub.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/openai_api.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/openai_client.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/cca_loss.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/domain_contrastive.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/domain_regularizer.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/gradient_reversal.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/info_nce_mi_matrix.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/loss_support.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/motif_contrastive_loss.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/negative_sampling.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/node_node_contrastive.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/pairwise_ranking.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/spectral_loss.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/task_head.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/__init__.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/core.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/dict2xml.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/distributed_compat.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/graph_utils.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/ppr.py +0 -0
- {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/runtime.py +0 -0
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: python-gfm
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: An AI copilot for graph data and models (Under active development).
|
|
5
|
-
Author-email: BUAA SKLCCSE <your.email@example.com>
|
|
6
|
-
License: Apache-2.0
|
|
7
|
-
Requires-Python: >=3.10
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
Requires-Dist: numpy>=1.20
|
|
10
|
-
Requires-Dist: pyyaml>=6
|
|
11
|
-
Provides-Extra: torch
|
|
12
|
-
Requires-Dist: torch>=2.0; extra == "torch"
|
|
13
|
-
Requires-Dist: torch-geometric>=2.3; extra == "torch"
|
|
14
|
-
Provides-Extra: dev
|
|
15
|
-
Requires-Dist: pytest; extra == "dev"
|
|
16
|
-
Requires-Dist: ruff; extra == "dev"
|
|
17
|
-
|
|
18
|
-
# pygfm
|
|
19
|
-
|
|
20
|
-
[PyPI version](https://pypi.org/project/pygfm/)
|
|
21
|
-
[Python](https://pypi.org/project/pygfm/)
|
|
22
|
-
[License](LICENSE)
|
|
23
|
-
|
|
24
|
-
A unified Python toolkit for **Graph Foundation Models (GFM)** research, integrating 19 baseline methods under a single package with shared utilities, standardized interfaces, and reproducible experiment pipelines.
|
|
25
|
-
|
|
26
|
-
Developed by **Beihang University, School of Computer Science and Engineering, ACT Lab, MAGIC GROUP**.
|
|
27
|
-
|
|
28
|
-
## Installation
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
pip install python-gfm
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Install with optional dependencies:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
pip install python-gfm[torch] # PyTorch + PyG
|
|
38
|
-
pip install python-gfm[dev] # pytest + ruff
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
For development (full checkout with experiment scripts):
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
git clone <repo-url> && cd pythongfm
|
|
45
|
-
pip install -e ".[torch,dev]"
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Quick Start
|
|
49
|
-
|
|
50
|
-
```python
|
|
51
|
-
import pygfm
|
|
52
|
-
|
|
53
|
-
print(pygfm.__version__)
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Package Structure
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
pygfm/
|
|
60
|
-
├── baseline_models/ # 19 GFM baseline implementations
|
|
61
|
-
├── public/ # Shared utilities, losses, backbone encoders
|
|
62
|
-
│ ├── backbone_models/
|
|
63
|
-
│ ├── utils/
|
|
64
|
-
│ ├── cli/
|
|
65
|
-
│ └── model_bases.py
|
|
66
|
-
├── private/ # Internal modules (core encoders, data generation)
|
|
67
|
-
└── cli/ # Console entrypoints
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## Supported Baselines
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| Category | Baselines |
|
|
74
|
-
| ------------------- | --------------------------------------------------------------- |
|
|
75
|
-
| Prompt-based GFM | MDGPT, SAMGPT, MDGFM, GraphPrompt, HGPrompt, MultiGPrompt, GCoT |
|
|
76
|
-
| Structure-aware | SA2GFM, Bridge, GraphKeeper, GraphMore, Graver, BIM-GFM |
|
|
77
|
-
| LLM-integrated | GraphGPT, GraphText, LLaGA, OneForAll |
|
|
78
|
-
| Retrieval-augmented | RAG-GFM |
|
|
79
|
-
| Classic | Classic GNN |
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## Running Experiments
|
|
83
|
-
|
|
84
|
-
Each baseline has its own experiment scripts under `scripts/<baseline>/`. Run from the repository root:
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
# Pre-training
|
|
88
|
-
python scripts/mdgpt/pretrain.py
|
|
89
|
-
|
|
90
|
-
# Downstream fine-tuning
|
|
91
|
-
python scripts/sa2gfm/downstream.py
|
|
92
|
-
|
|
93
|
-
# Full pipeline with config
|
|
94
|
-
python scripts/gcot/pretrain.py
|
|
95
|
-
python scripts/gcot/finetune.py
|
|
96
|
-
python scripts/gcot/finetune_graph.py
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
## Console Commands
|
|
100
|
-
|
|
101
|
-
After installation, the following CLI commands are available:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
| Command | Description |
|
|
105
|
-
| ----------------------- | ------------------------------------------- |
|
|
106
|
-
| `gfm-sa2gfm-pretrain` | SA2GFM contrastive pre-training (`-c` YAML) |
|
|
107
|
-
| `gfm-sa2gfm-downstream` | SA2GFM MoE downstream fine-tuning |
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
## Baseline Documentation
|
|
111
|
-
|
|
112
|
-
Detailed instructions for each baseline:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
| Baseline | Docs |
|
|
116
|
-
| ------------ | ------------------------------------------------------------------ |
|
|
117
|
-
| MDGPT | `[scripts/mdgpt/README.md](scripts/mdgpt/README.md)` |
|
|
118
|
-
| SA2GFM | `[scripts/sa2gfm/README.md](scripts/sa2gfm/README.md)` |
|
|
119
|
-
| MultiGPrompt | `[scripts/multigprompt/README.md](scripts/multigprompt/README.md)` |
|
|
120
|
-
| LLaGA | `[scripts/llaga/README.md](scripts/llaga/README.md)` |
|
|
121
|
-
| GraphText | `[scripts/graphtext/README.md](scripts/graphtext/README.md)` |
|
|
122
|
-
| GraphGPT | `[scripts/graphgpt/README.md](scripts/graphgpt/README.md)` |
|
|
123
|
-
| OneForAll | `[scripts/oneforall/README.md](scripts/oneforall/README.md)` |
|
|
124
|
-
| MDGFM | `[scripts/mdgfm/README.md](scripts/mdgfm/README.md)` |
|
|
125
|
-
| SAMGPT | `[scripts/samgpt/README.md](scripts/samgpt/README.md)` |
|
|
126
|
-
| GCoT | `[scripts/gcot/README.md](scripts/gcot/README.md)` |
|
|
127
|
-
| HGPrompt | `[scripts/hgprompt/README.md](scripts/hgprompt/README.md)` |
|
|
128
|
-
| GraphPrompt | `[scripts/graphprompt/README.md](scripts/graphprompt/README.md)` |
|
|
129
|
-
| Graver | `[scripts/graver/README.md](scripts/graver/README.md)` |
|
|
130
|
-
| GraphMore | `[scripts/graphmore/README.md](scripts/graphmore/README.md)` |
|
|
131
|
-
| Bridge | `[scripts/bridge/README.md](scripts/bridge/README.md)` |
|
|
132
|
-
| GraphKeeper | `[scripts/graphkeeper/README.md](scripts/graphkeeper/README.md)` |
|
|
133
|
-
| RAG-GFM | `[scripts/rag_gfm/README.md](scripts/rag_gfm/README.md)` |
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
## Configuration
|
|
137
|
-
|
|
138
|
-
Experiment configs are YAML files located at `scripts/<baseline>/configs/`. Pass them via `-c` flag or as positional arguments depending on the baseline.
|
|
139
|
-
|
|
140
|
-
**Important:** Do **not** commit API keys. For baselines that require LLM API access (e.g., GraphText), copy the example config and fill in your keys locally:
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
cp scripts/graphtext/config/user/env.yaml.example scripts/graphtext/config/user/env.yaml
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
## License
|
|
147
|
-
|
|
148
|
-
This project is licensed under the [Apache License 2.0](LICENSE).
|
|
149
|
-
|
|
150
|
-
## Team
|
|
151
|
-
|
|
152
|
-
**MAGIC GROUP** -- Beihang University, School of Computer Science and Engineering, ACT Lab.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: python-gfm
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: An AI copilot for graph data and models (Under active development).
|
|
5
|
+
Author-email: BUAA SKLCCSE <your.email@example.com>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: numpy>=1.20
|
|
10
|
+
Requires-Dist: pyyaml>=6
|
|
11
|
+
Provides-Extra: torch
|
|
12
|
+
Requires-Dist: torch>=2.0; extra == "torch"
|
|
13
|
+
Requires-Dist: torch-geometric>=2.3; extra == "torch"
|
|
14
|
+
Provides-Extra: dev
|
|
15
|
+
Requires-Dist: pytest; extra == "dev"
|
|
16
|
+
Requires-Dist: ruff; extra == "dev"
|
|
17
|
+
|
|
18
|
+
# pygfm
|
|
19
|
+
|
|
20
|
+
[PyPI version](https://pypi.org/project/pygfm/)
|
|
21
|
+
[Python](https://pypi.org/project/pygfm/)
|
|
22
|
+
[License](LICENSE)
|
|
23
|
+
|
|
24
|
+
A unified Python toolkit for **Graph Foundation Models (GFM)** research, integrating 19 baseline methods under a single package with shared utilities, standardized interfaces, and reproducible experiment pipelines.
|
|
25
|
+
|
|
26
|
+
Developed by **Beihang University, School of Computer Science and Engineering, ACT Lab, MAGIC GROUP**.
|
|
27
|
+
|
|
28
|
+
## Installation
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install python-gfm
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Install with optional dependencies:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install python-gfm[torch] # PyTorch + PyG
|
|
38
|
+
pip install python-gfm[dev] # pytest + ruff
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
For development (full checkout with experiment scripts):
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
git clone <repo-url> && cd pythongfm
|
|
45
|
+
pip install -e ".[torch,dev]"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Quick Start
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
import pygfm
|
|
52
|
+
|
|
53
|
+
print(pygfm.__version__)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Package Structure
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
pygfm/
|
|
60
|
+
├── baseline_models/ # 19 GFM baseline implementations
|
|
61
|
+
├── public/ # Shared utilities, losses, backbone encoders
|
|
62
|
+
│ ├── backbone_models/
|
|
63
|
+
│ ├── utils/
|
|
64
|
+
│ ├── cli/
|
|
65
|
+
│ └── model_bases.py
|
|
66
|
+
├── private/ # Internal modules (core encoders, data generation)
|
|
67
|
+
└── cli/ # Console entrypoints
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Supported Baselines
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
| Category | Baselines |
|
|
74
|
+
| ------------------- | --------------------------------------------------------------- |
|
|
75
|
+
| Prompt-based GFM | MDGPT, SAMGPT, MDGFM, GraphPrompt, HGPrompt, MultiGPrompt, GCoT |
|
|
76
|
+
| Structure-aware | SA2GFM, Bridge, GraphKeeper, GraphMore, Graver, BIM-GFM |
|
|
77
|
+
| LLM-integrated | GraphGPT, GraphText, LLaGA, OneForAll |
|
|
78
|
+
| Retrieval-augmented | RAG-GFM |
|
|
79
|
+
| Classic | Classic GNN |
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## Running Experiments
|
|
83
|
+
|
|
84
|
+
Each baseline has its own experiment scripts under `scripts/<baseline>/`. Run from the repository root:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Pre-training
|
|
88
|
+
python scripts/mdgpt/pretrain.py
|
|
89
|
+
|
|
90
|
+
# Downstream fine-tuning
|
|
91
|
+
python scripts/sa2gfm/downstream.py
|
|
92
|
+
|
|
93
|
+
# Full pipeline with config
|
|
94
|
+
python scripts/gcot/pretrain.py
|
|
95
|
+
python scripts/gcot/finetune.py
|
|
96
|
+
python scripts/gcot/finetune_graph.py
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Console Commands
|
|
100
|
+
|
|
101
|
+
After installation, the following CLI commands are available:
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
| Command | Description |
|
|
105
|
+
| ----------------------- | ------------------------------------------- |
|
|
106
|
+
| `gfm-sa2gfm-pretrain` | SA2GFM contrastive pre-training (`-c` YAML) |
|
|
107
|
+
| `gfm-sa2gfm-downstream` | SA2GFM MoE downstream fine-tuning |
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## Baseline Documentation
|
|
111
|
+
|
|
112
|
+
Detailed instructions for each baseline:
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
| Baseline | Docs |
|
|
116
|
+
| ------------ | ------------------------------------------------------------------ |
|
|
117
|
+
| MDGPT | `[scripts/mdgpt/README.md](scripts/mdgpt/README.md)` |
|
|
118
|
+
| SA2GFM | `[scripts/sa2gfm/README.md](scripts/sa2gfm/README.md)` |
|
|
119
|
+
| MultiGPrompt | `[scripts/multigprompt/README.md](scripts/multigprompt/README.md)` |
|
|
120
|
+
| LLaGA | `[scripts/llaga/README.md](scripts/llaga/README.md)` |
|
|
121
|
+
| GraphText | `[scripts/graphtext/README.md](scripts/graphtext/README.md)` |
|
|
122
|
+
| GraphGPT | `[scripts/graphgpt/README.md](scripts/graphgpt/README.md)` |
|
|
123
|
+
| OneForAll | `[scripts/oneforall/README.md](scripts/oneforall/README.md)` |
|
|
124
|
+
| MDGFM | `[scripts/mdgfm/README.md](scripts/mdgfm/README.md)` |
|
|
125
|
+
| SAMGPT | `[scripts/samgpt/README.md](scripts/samgpt/README.md)` |
|
|
126
|
+
| GCoT | `[scripts/gcot/README.md](scripts/gcot/README.md)` |
|
|
127
|
+
| HGPrompt | `[scripts/hgprompt/README.md](scripts/hgprompt/README.md)` |
|
|
128
|
+
| GraphPrompt | `[scripts/graphprompt/README.md](scripts/graphprompt/README.md)` |
|
|
129
|
+
| Graver | `[scripts/graver/README.md](scripts/graver/README.md)` |
|
|
130
|
+
| GraphMore | `[scripts/graphmore/README.md](scripts/graphmore/README.md)` |
|
|
131
|
+
| Bridge | `[scripts/bridge/README.md](scripts/bridge/README.md)` |
|
|
132
|
+
| GraphKeeper | `[scripts/graphkeeper/README.md](scripts/graphkeeper/README.md)` |
|
|
133
|
+
| RAG-GFM | `[scripts/rag_gfm/README.md](scripts/rag_gfm/README.md)` |
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
## Configuration
|
|
137
|
+
|
|
138
|
+
Experiment configs are YAML files located at `scripts/<baseline>/configs/`. Pass them via `-c` flag or as positional arguments depending on the baseline.
|
|
139
|
+
|
|
140
|
+
**Important:** Do **not** commit API keys. For baselines that require LLM API access (e.g., GraphText), copy the example config and fill in your keys locally:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
cp scripts/graphtext/config/user/env.yaml.example scripts/graphtext/config/user/env.yaml
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## License
|
|
147
|
+
|
|
148
|
+
This project is licensed under the [Apache License 2.0](LICENSE).
|
|
149
|
+
|
|
150
|
+
## Team
|
|
151
|
+
|
|
152
|
+
**MAGIC GROUP** -- Beihang University, School of Computer Science and Engineering, ACT Lab.
|
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: python-gfm
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: An AI copilot for graph data and models (Under active development).
|
|
5
|
-
Author-email: BUAA SKLCCSE <your.email@example.com>
|
|
6
|
-
License: Apache-2.0
|
|
7
|
-
Requires-Python: >=3.10
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
Requires-Dist: numpy>=1.20
|
|
10
|
-
Requires-Dist: pyyaml>=6
|
|
11
|
-
Provides-Extra: torch
|
|
12
|
-
Requires-Dist: torch>=2.0; extra == "torch"
|
|
13
|
-
Requires-Dist: torch-geometric>=2.3; extra == "torch"
|
|
14
|
-
Provides-Extra: dev
|
|
15
|
-
Requires-Dist: pytest; extra == "dev"
|
|
16
|
-
Requires-Dist: ruff; extra == "dev"
|
|
17
|
-
|
|
18
|
-
# pygfm
|
|
19
|
-
|
|
20
|
-
[PyPI version](https://pypi.org/project/pygfm/)
|
|
21
|
-
[Python](https://pypi.org/project/pygfm/)
|
|
22
|
-
[License](LICENSE)
|
|
23
|
-
|
|
24
|
-
A unified Python toolkit for **Graph Foundation Models (GFM)** research, integrating 19 baseline methods under a single package with shared utilities, standardized interfaces, and reproducible experiment pipelines.
|
|
25
|
-
|
|
26
|
-
Developed by **Beihang University, School of Computer Science and Engineering, ACT Lab, MAGIC GROUP**.
|
|
27
|
-
|
|
28
|
-
## Installation
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
pip install python-gfm
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Install with optional dependencies:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
pip install python-gfm[torch] # PyTorch + PyG
|
|
38
|
-
pip install python-gfm[dev] # pytest + ruff
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
For development (full checkout with experiment scripts):
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
git clone <repo-url> && cd pythongfm
|
|
45
|
-
pip install -e ".[torch,dev]"
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Quick Start
|
|
49
|
-
|
|
50
|
-
```python
|
|
51
|
-
import pygfm
|
|
52
|
-
|
|
53
|
-
print(pygfm.__version__)
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Package Structure
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
pygfm/
|
|
60
|
-
├── baseline_models/ # 19 GFM baseline implementations
|
|
61
|
-
├── public/ # Shared utilities, losses, backbone encoders
|
|
62
|
-
│ ├── backbone_models/
|
|
63
|
-
│ ├── utils/
|
|
64
|
-
│ ├── cli/
|
|
65
|
-
│ └── model_bases.py
|
|
66
|
-
├── private/ # Internal modules (core encoders, data generation)
|
|
67
|
-
└── cli/ # Console entrypoints
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## Supported Baselines
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| Category | Baselines |
|
|
74
|
-
| ------------------- | --------------------------------------------------------------- |
|
|
75
|
-
| Prompt-based GFM | MDGPT, SAMGPT, MDGFM, GraphPrompt, HGPrompt, MultiGPrompt, GCoT |
|
|
76
|
-
| Structure-aware | SA2GFM, Bridge, GraphKeeper, GraphMore, Graver, BIM-GFM |
|
|
77
|
-
| LLM-integrated | GraphGPT, GraphText, LLaGA, OneForAll |
|
|
78
|
-
| Retrieval-augmented | RAG-GFM |
|
|
79
|
-
| Classic | Classic GNN |
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## Running Experiments
|
|
83
|
-
|
|
84
|
-
Each baseline has its own experiment scripts under `scripts/<baseline>/`. Run from the repository root:
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
# Pre-training
|
|
88
|
-
python scripts/mdgpt/pretrain.py
|
|
89
|
-
|
|
90
|
-
# Downstream fine-tuning
|
|
91
|
-
python scripts/sa2gfm/downstream.py
|
|
92
|
-
|
|
93
|
-
# Full pipeline with config
|
|
94
|
-
python scripts/gcot/pretrain.py
|
|
95
|
-
python scripts/gcot/finetune.py
|
|
96
|
-
python scripts/gcot/finetune_graph.py
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
## Console Commands
|
|
100
|
-
|
|
101
|
-
After installation, the following CLI commands are available:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
| Command | Description |
|
|
105
|
-
| ----------------------- | ------------------------------------------- |
|
|
106
|
-
| `gfm-sa2gfm-pretrain` | SA2GFM contrastive pre-training (`-c` YAML) |
|
|
107
|
-
| `gfm-sa2gfm-downstream` | SA2GFM MoE downstream fine-tuning |
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
## Baseline Documentation
|
|
111
|
-
|
|
112
|
-
Detailed instructions for each baseline:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
| Baseline | Docs |
|
|
116
|
-
| ------------ | ------------------------------------------------------------------ |
|
|
117
|
-
| MDGPT | `[scripts/mdgpt/README.md](scripts/mdgpt/README.md)` |
|
|
118
|
-
| SA2GFM | `[scripts/sa2gfm/README.md](scripts/sa2gfm/README.md)` |
|
|
119
|
-
| MultiGPrompt | `[scripts/multigprompt/README.md](scripts/multigprompt/README.md)` |
|
|
120
|
-
| LLaGA | `[scripts/llaga/README.md](scripts/llaga/README.md)` |
|
|
121
|
-
| GraphText | `[scripts/graphtext/README.md](scripts/graphtext/README.md)` |
|
|
122
|
-
| GraphGPT | `[scripts/graphgpt/README.md](scripts/graphgpt/README.md)` |
|
|
123
|
-
| OneForAll | `[scripts/oneforall/README.md](scripts/oneforall/README.md)` |
|
|
124
|
-
| MDGFM | `[scripts/mdgfm/README.md](scripts/mdgfm/README.md)` |
|
|
125
|
-
| SAMGPT | `[scripts/samgpt/README.md](scripts/samgpt/README.md)` |
|
|
126
|
-
| GCoT | `[scripts/gcot/README.md](scripts/gcot/README.md)` |
|
|
127
|
-
| HGPrompt | `[scripts/hgprompt/README.md](scripts/hgprompt/README.md)` |
|
|
128
|
-
| GraphPrompt | `[scripts/graphprompt/README.md](scripts/graphprompt/README.md)` |
|
|
129
|
-
| Graver | `[scripts/graver/README.md](scripts/graver/README.md)` |
|
|
130
|
-
| GraphMore | `[scripts/graphmore/README.md](scripts/graphmore/README.md)` |
|
|
131
|
-
| Bridge | `[scripts/bridge/README.md](scripts/bridge/README.md)` |
|
|
132
|
-
| GraphKeeper | `[scripts/graphkeeper/README.md](scripts/graphkeeper/README.md)` |
|
|
133
|
-
| RAG-GFM | `[scripts/rag_gfm/README.md](scripts/rag_gfm/README.md)` |
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
## Configuration
|
|
137
|
-
|
|
138
|
-
Experiment configs are YAML files located at `scripts/<baseline>/configs/`. Pass them via `-c` flag or as positional arguments depending on the baseline.
|
|
139
|
-
|
|
140
|
-
**Important:** Do **not** commit API keys. For baselines that require LLM API access (e.g., GraphText), copy the example config and fill in your keys locally:
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
cp scripts/graphtext/config/user/env.yaml.example scripts/graphtext/config/user/env.yaml
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
## License
|
|
147
|
-
|
|
148
|
-
This project is licensed under the [Apache License 2.0](LICENSE).
|
|
149
|
-
|
|
150
|
-
## Team
|
|
151
|
-
|
|
152
|
-
**MAGIC GROUP** -- Beihang University, School of Computer Science and Engineering, ACT Lab.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: python-gfm
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: An AI copilot for graph data and models (Under active development).
|
|
5
|
+
Author-email: BUAA SKLCCSE <your.email@example.com>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: numpy>=1.20
|
|
10
|
+
Requires-Dist: pyyaml>=6
|
|
11
|
+
Provides-Extra: torch
|
|
12
|
+
Requires-Dist: torch>=2.0; extra == "torch"
|
|
13
|
+
Requires-Dist: torch-geometric>=2.3; extra == "torch"
|
|
14
|
+
Provides-Extra: dev
|
|
15
|
+
Requires-Dist: pytest; extra == "dev"
|
|
16
|
+
Requires-Dist: ruff; extra == "dev"
|
|
17
|
+
|
|
18
|
+
# pygfm
|
|
19
|
+
|
|
20
|
+
[PyPI version](https://pypi.org/project/pygfm/)
|
|
21
|
+
[Python](https://pypi.org/project/pygfm/)
|
|
22
|
+
[License](LICENSE)
|
|
23
|
+
|
|
24
|
+
A unified Python toolkit for **Graph Foundation Models (GFM)** research, integrating 19 baseline methods under a single package with shared utilities, standardized interfaces, and reproducible experiment pipelines.
|
|
25
|
+
|
|
26
|
+
Developed by **Beihang University, School of Computer Science and Engineering, ACT Lab, MAGIC GROUP**.
|
|
27
|
+
|
|
28
|
+
## Installation
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install python-gfm
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Install with optional dependencies:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install python-gfm[torch] # PyTorch + PyG
|
|
38
|
+
pip install python-gfm[dev] # pytest + ruff
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
For development (full checkout with experiment scripts):
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
git clone <repo-url> && cd pythongfm
|
|
45
|
+
pip install -e ".[torch,dev]"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Quick Start
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
import pygfm
|
|
52
|
+
|
|
53
|
+
print(pygfm.__version__)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Package Structure
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
pygfm/
|
|
60
|
+
├── baseline_models/ # 19 GFM baseline implementations
|
|
61
|
+
├── public/ # Shared utilities, losses, backbone encoders
|
|
62
|
+
│ ├── backbone_models/
|
|
63
|
+
│ ├── utils/
|
|
64
|
+
│ ├── cli/
|
|
65
|
+
│ └── model_bases.py
|
|
66
|
+
├── private/ # Internal modules (core encoders, data generation)
|
|
67
|
+
└── cli/ # Console entrypoints
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Supported Baselines
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
| Category | Baselines |
|
|
74
|
+
| ------------------- | --------------------------------------------------------------- |
|
|
75
|
+
| Prompt-based GFM | MDGPT, SAMGPT, MDGFM, GraphPrompt, HGPrompt, MultiGPrompt, GCoT |
|
|
76
|
+
| Structure-aware | SA2GFM, Bridge, GraphKeeper, GraphMore, Graver, BIM-GFM |
|
|
77
|
+
| LLM-integrated | GraphGPT, GraphText, LLaGA, OneForAll |
|
|
78
|
+
| Retrieval-augmented | RAG-GFM |
|
|
79
|
+
| Classic | Classic GNN |
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## Running Experiments
|
|
83
|
+
|
|
84
|
+
Each baseline has its own experiment scripts under `scripts/<baseline>/`. Run from the repository root:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Pre-training
|
|
88
|
+
python scripts/mdgpt/pretrain.py
|
|
89
|
+
|
|
90
|
+
# Downstream fine-tuning
|
|
91
|
+
python scripts/sa2gfm/downstream.py
|
|
92
|
+
|
|
93
|
+
# Full pipeline with config
|
|
94
|
+
python scripts/gcot/pretrain.py
|
|
95
|
+
python scripts/gcot/finetune.py
|
|
96
|
+
python scripts/gcot/finetune_graph.py
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Console Commands
|
|
100
|
+
|
|
101
|
+
After installation, the following CLI commands are available:
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
| Command | Description |
|
|
105
|
+
| ----------------------- | ------------------------------------------- |
|
|
106
|
+
| `gfm-sa2gfm-pretrain` | SA2GFM contrastive pre-training (`-c` YAML) |
|
|
107
|
+
| `gfm-sa2gfm-downstream` | SA2GFM MoE downstream fine-tuning |
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## Baseline Documentation
|
|
111
|
+
|
|
112
|
+
Detailed instructions for each baseline:
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
| Baseline | Docs |
|
|
116
|
+
| ------------ | ------------------------------------------------------------------ |
|
|
117
|
+
| MDGPT | `[scripts/mdgpt/README.md](scripts/mdgpt/README.md)` |
|
|
118
|
+
| SA2GFM | `[scripts/sa2gfm/README.md](scripts/sa2gfm/README.md)` |
|
|
119
|
+
| MultiGPrompt | `[scripts/multigprompt/README.md](scripts/multigprompt/README.md)` |
|
|
120
|
+
| LLaGA | `[scripts/llaga/README.md](scripts/llaga/README.md)` |
|
|
121
|
+
| GraphText | `[scripts/graphtext/README.md](scripts/graphtext/README.md)` |
|
|
122
|
+
| GraphGPT | `[scripts/graphgpt/README.md](scripts/graphgpt/README.md)` |
|
|
123
|
+
| OneForAll | `[scripts/oneforall/README.md](scripts/oneforall/README.md)` |
|
|
124
|
+
| MDGFM | `[scripts/mdgfm/README.md](scripts/mdgfm/README.md)` |
|
|
125
|
+
| SAMGPT | `[scripts/samgpt/README.md](scripts/samgpt/README.md)` |
|
|
126
|
+
| GCoT | `[scripts/gcot/README.md](scripts/gcot/README.md)` |
|
|
127
|
+
| HGPrompt | `[scripts/hgprompt/README.md](scripts/hgprompt/README.md)` |
|
|
128
|
+
| GraphPrompt | `[scripts/graphprompt/README.md](scripts/graphprompt/README.md)` |
|
|
129
|
+
| Graver | `[scripts/graver/README.md](scripts/graver/README.md)` |
|
|
130
|
+
| GraphMore | `[scripts/graphmore/README.md](scripts/graphmore/README.md)` |
|
|
131
|
+
| Bridge | `[scripts/bridge/README.md](scripts/bridge/README.md)` |
|
|
132
|
+
| GraphKeeper | `[scripts/graphkeeper/README.md](scripts/graphkeeper/README.md)` |
|
|
133
|
+
| RAG-GFM | `[scripts/rag_gfm/README.md](scripts/rag_gfm/README.md)` |
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
## Configuration
|
|
137
|
+
|
|
138
|
+
Experiment configs are YAML files located at `scripts/<baseline>/configs/`. Pass them via `-c` flag or as positional arguments depending on the baseline.
|
|
139
|
+
|
|
140
|
+
**Important:** Do **not** commit API keys. For baselines that require LLM API access (e.g., GraphText), copy the example config and fill in your keys locally:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
cp scripts/graphtext/config/user/env.yaml.example scripts/graphtext/config/user/env.yaml
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## License
|
|
147
|
+
|
|
148
|
+
This project is licensed under the [Apache License 2.0](LICENSE).
|
|
149
|
+
|
|
150
|
+
## Team
|
|
151
|
+
|
|
152
|
+
**MAGIC GROUP** -- Beihang University, School of Computer Science and Engineering, ACT Lab.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[egg_info]
|
|
2
|
-
tag_build =
|
|
3
|
-
tag_date = 0
|
|
4
|
-
|
|
1
|
+
[egg_info]
|
|
2
|
+
tag_build =
|
|
3
|
+
tag_date = 0
|
|
4
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pygfm: An AI copilot for graph data and models.
|
|
3
|
+
|
|
4
|
+
This package provides tools and utilities for working with Graph Foundation Models.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
__version__ = "0.1.2"
|
|
8
|
+
__author__ = "BUAA SKLCCSE"
|
|
9
|
+
|
|
10
|
+
__all__ = ["__version__"]
|
|
11
|
+
|
|
12
|
+
# NOTE:
|
|
13
|
+
# Keep top-level import lightweight. Some baselines (e.g. graphgpt) have optional
|
|
14
|
+
# assets/deps and should not be imported as a side-effect of `import pygfm`.
|
|
15
|
+
|