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.
Files changed (423) hide show
  1. {python_gfm-0.1.1 → python_gfm-0.1.3}/PKG-INFO +152 -152
  2. {python_gfm-0.1.1 → python_gfm-0.1.3}/pyproject.toml +1 -1
  3. {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/PKG-INFO +152 -152
  4. {python_gfm-0.1.1 → python_gfm-0.1.3}/setup.cfg +4 -4
  5. python_gfm-0.1.3/src/pygfm/__init__.py +15 -0
  6. python_gfm-0.1.3/src/pygfm/baseline_models/__init__.py +119 -0
  7. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/clip_graph.py +12 -4
  8. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/simple_tokenizer.py +13 -2
  9. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/runtime.py +49 -42
  10. python_gfm-0.1.1/src/pygfm/__init__.py +0 -17
  11. python_gfm-0.1.1/src/pygfm/baseline_models/__init__.py +0 -161
  12. {python_gfm-0.1.1 → python_gfm-0.1.3}/README.md +0 -0
  13. {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/SOURCES.txt +0 -0
  14. {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/dependency_links.txt +0 -0
  15. {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/entry_points.txt +0 -0
  16. {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/requires.txt +0 -0
  17. {python_gfm-0.1.1 → python_gfm-0.1.3}/python_gfm.egg-info/top_level.txt +0 -0
  18. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/__init__.py +0 -0
  19. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/ablation.py +0 -0
  20. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/downprompt.py +0 -0
  21. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bim_gfm/preprompt.py +0 -0
  22. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/__init__.py +0 -0
  23. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/downprompt.py +0 -0
  24. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/downprompt_graph.py +0 -0
  25. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/bridge/preprompt.py +0 -0
  26. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/classic_gnn/__init__.py +0 -0
  27. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/classic_gnn/downprompt.py +0 -0
  28. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/classic_gnn/preprompt.py +0 -0
  29. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/__init__.py +0 -0
  30. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/downprompt.py +0 -0
  31. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/downprompt_graph.py +0 -0
  32. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/__init__.py +0 -0
  33. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/build_instruct_arxiv_ds.py +0 -0
  34. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/constants.py +0 -0
  35. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/conversation.py +0 -0
  36. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/eval/run_graphgpt.py +0 -0
  37. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/eval/run_graphgpt_LP.py +0 -0
  38. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/eval/run_vicuna.py +0 -0
  39. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/GraphLlama.py +0 -0
  40. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/GraphLlama_pl.py +0 -0
  41. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/__init__.py +0 -0
  42. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/apply_delta.py +0 -0
  43. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/apply_lora.py +0 -0
  44. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/builder.py +0 -0
  45. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/compression.py +0 -0
  46. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/convert_fp16.py +0 -0
  47. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/__init__.py +0 -0
  48. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/clip_graph.py +0 -0
  49. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/graph_transformer.py +0 -0
  50. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/mpnn.py +0 -0
  51. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/graph_layers/simple_tokenizer.py +0 -0
  52. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/make_delta.py +0 -0
  53. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/model_adapter.py +0 -0
  54. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/model_registry.py +0 -0
  55. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/monkey_patch_non_inplace.py +0 -0
  56. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/model/utils.py +0 -0
  57. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/protocol/openai_api_protocol.py +0 -0
  58. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/__init__.py +0 -0
  59. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/api_provider.py +0 -0
  60. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/bard_worker.py +0 -0
  61. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/cacheflow_worker.py +0 -0
  62. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/cli.py +0 -0
  63. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/controller.py +0 -0
  64. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/controller_graph.py +0 -0
  65. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_block_arena_anony.py +0 -0
  66. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_block_arena_named.py +0 -0
  67. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_css.py +0 -0
  68. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_patch.py +0 -0
  69. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_web_server.py +0 -0
  70. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_web_server_graph.py +0 -0
  71. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/gradio_web_server_multi.py +0 -0
  72. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/huggingface_api.py +0 -0
  73. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/inference.py +0 -0
  74. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/model_worker.py +0 -0
  75. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/model_worker_graph.py +0 -0
  76. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/basic_stats.py +0 -0
  77. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/clean_battle_data.py +0 -0
  78. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/elo_analysis.py +0 -0
  79. {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
  80. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/monitor/monitor.py +0 -0
  81. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/openai_api_server.py +0 -0
  82. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/register_worker.py +0 -0
  83. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/test_message.py +0 -0
  84. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/serve/test_throughput.py +0 -0
  85. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/graphchat_trainer.py +0 -0
  86. {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
  87. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_graph.py +0 -0
  88. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_light.py +0 -0
  89. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_lora.py +0 -0
  90. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/train/train_mem.py +0 -0
  91. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/graphgpt/utils.py +0 -0
  92. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/gcot/preprompt.py +0 -0
  93. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/__init__.py +0 -0
  94. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/build_instruct_arxiv_ds.py +0 -0
  95. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/constants.py +0 -0
  96. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/conversation.py +0 -0
  97. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/eval/run_graphgpt.py +0 -0
  98. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/eval/run_graphgpt_LP.py +0 -0
  99. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/eval/run_vicuna.py +0 -0
  100. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/GraphLlama.py +0 -0
  101. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/GraphLlama_pl.py +0 -0
  102. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/__init__.py +0 -0
  103. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/apply_delta.py +0 -0
  104. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/apply_lora.py +0 -0
  105. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/builder.py +0 -0
  106. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/compression.py +0 -0
  107. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/convert_fp16.py +0 -0
  108. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/__init__.py +0 -0
  109. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/graph_transformer.py +0 -0
  110. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/graph_layers/mpnn.py +0 -0
  111. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/make_delta.py +0 -0
  112. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/model_adapter.py +0 -0
  113. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/model_registry.py +0 -0
  114. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/monkey_patch_non_inplace.py +0 -0
  115. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/model/utils.py +0 -0
  116. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/protocol/openai_api_protocol.py +0 -0
  117. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/__init__.py +0 -0
  118. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/api_provider.py +0 -0
  119. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/bard_worker.py +0 -0
  120. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/cacheflow_worker.py +0 -0
  121. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/cli.py +0 -0
  122. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/controller.py +0 -0
  123. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/controller_graph.py +0 -0
  124. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_block_arena_anony.py +0 -0
  125. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_block_arena_named.py +0 -0
  126. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_css.py +0 -0
  127. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_patch.py +0 -0
  128. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_web_server.py +0 -0
  129. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_web_server_graph.py +0 -0
  130. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/gradio_web_server_multi.py +0 -0
  131. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/huggingface_api.py +0 -0
  132. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/inference.py +0 -0
  133. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/model_worker.py +0 -0
  134. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/model_worker_graph.py +0 -0
  135. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/basic_stats.py +0 -0
  136. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/clean_battle_data.py +0 -0
  137. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/elo_analysis.py +0 -0
  138. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/hf_space_leaderboard_app.py +0 -0
  139. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/monitor/monitor.py +0 -0
  140. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/openai_api_server.py +0 -0
  141. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/register_worker.py +0 -0
  142. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/test_message.py +0 -0
  143. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/serve/test_throughput.py +0 -0
  144. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/graphchat_trainer.py +0 -0
  145. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/llama_flash_attn_monkey_patch.py +0 -0
  146. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_graph.py +0 -0
  147. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_light.py +0 -0
  148. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_lora.py +0 -0
  149. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/train/train_mem.py +0 -0
  150. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphgpt/utils.py +0 -0
  151. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/__init__.py +0 -0
  152. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/downprompt.py +0 -0
  153. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/downprompt_graph.py +0 -0
  154. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphkeeper/preprompt.py +0 -0
  155. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/__init__.py +0 -0
  156. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/downprompt.py +0 -0
  157. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/downprompt_graph.py +0 -0
  158. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphmore/preprompt.py +0 -0
  159. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/__init__.py +0 -0
  160. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/downprompt.py +0 -0
  161. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/downprompt_graph.py +0 -0
  162. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/preprompt.py +0 -0
  163. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphprompt/prompt_layers.py +0 -0
  164. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/__init__.py +0 -0
  165. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/eval/__init__.py +0 -0
  166. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/eval/run_icl.py +0 -0
  167. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/__init__.py +0 -0
  168. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/agent.py +0 -0
  169. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/conversation.py +0 -0
  170. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/graph_instruction_dataset.py +0 -0
  171. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/icl.py +0 -0
  172. {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
  173. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/model.py +0 -0
  174. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/prompts.py +0 -0
  175. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/graph_text/samplers.py +0 -0
  176. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/__init__.py +0 -0
  177. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/deepseek.py +0 -0
  178. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/fake_llm.py +0 -0
  179. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/gpt.py +0 -0
  180. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/llama_icl.py +0 -0
  181. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/llm.py +0 -0
  182. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/llm/smoke_llm.py +0 -0
  183. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/train/__init__.py +0 -0
  184. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/train/run_sft.py +0 -0
  185. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/__init__.py +0 -0
  186. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/__init__.py +0 -0
  187. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/cfg_utils.py +0 -0
  188. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/iterables.py +0 -0
  189. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/logging.py +0 -0
  190. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/np_utils.py +0 -0
  191. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/basics/os_utils.py +0 -0
  192. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/__init__.py +0 -0
  193. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/graph_tree.py +0 -0
  194. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/ppr.py +0 -0
  195. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/preprocess.py +0 -0
  196. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/pyg_graph.py +0 -0
  197. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/data/textual_graph.py +0 -0
  198. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/__init__.py +0 -0
  199. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/dict2xml.py +0 -0
  200. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/distributed.py +0 -0
  201. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/graph_utils.py +0 -0
  202. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/pkg/hf_utils.py +0 -0
  203. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/project/__init__.py +0 -0
  204. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graphtext/utils/project/exp.py +0 -0
  205. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/__init__.py +0 -0
  206. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/downprompt.py +0 -0
  207. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/downprompt_graph.py +0 -0
  208. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/graver/preprompt.py +0 -0
  209. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/__init__.py +0 -0
  210. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/downprompt.py +0 -0
  211. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/preprompt.py +0 -0
  212. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/hgprompt/prompt_layers.py +0 -0
  213. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/__init__.py +0 -0
  214. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/__init__.py +0 -0
  215. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/eval_pretrain.py +0 -0
  216. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/eval_pretrain_logit.py +0 -0
  217. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/eval/eval_res.py +0 -0
  218. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/fixtures/__init__.py +0 -0
  219. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/fixtures/smoke_bundle.py +0 -0
  220. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/io_utils.py +0 -0
  221. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/__init__.py +0 -0
  222. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/apply_delta.py +0 -0
  223. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/builder.py +0 -0
  224. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/consolidate.py +0 -0
  225. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/llaga_llama.py +0 -0
  226. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/llaga_mpt.py +0 -0
  227. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/llaga_opt.py +0 -0
  228. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/adapt_tokenizer.py +0 -0
  229. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/attention.py +0 -0
  230. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/blocks.py +0 -0
  231. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/configuration_mpt.py +0 -0
  232. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/custom_embedding.py +0 -0
  233. {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
  234. {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
  235. {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
  236. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/modeling_mpt.py +0 -0
  237. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/language_model/mpt/norm.py +0 -0
  238. {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
  239. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/llaga_arch.py +0 -0
  240. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/make_delta.py +0 -0
  241. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/model/utils.py +0 -0
  242. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/paths.py +0 -0
  243. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/pyg_dataset.py +0 -0
  244. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/__init__.py +0 -0
  245. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/llaga_trainer.py +0 -0
  246. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/llama_flash_attn_monkey_patch.py +0 -0
  247. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/train.py +0 -0
  248. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/train/train_mem.py +0 -0
  249. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/__init__.py +0 -0
  250. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/constants.py +0 -0
  251. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/conversation.py +0 -0
  252. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/data_process.py +0 -0
  253. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/llaga/utils/utils.py +0 -0
  254. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/__init__.py +0 -0
  255. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/downprompt.py +0 -0
  256. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/downprompt_graph.py +0 -0
  257. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgfm/preprompt.py +0 -0
  258. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/__init__.py +0 -0
  259. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/downprompt.py +0 -0
  260. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/downprompt_graph.py +0 -0
  261. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/multidomain_gfm.py +0 -0
  262. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/mdgpt/preprompt.py +0 -0
  263. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/__init__.py +0 -0
  264. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/aug.py +0 -0
  265. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/downprompt.py +0 -0
  266. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/__init__.py +0 -0
  267. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/discriminator.py +0 -0
  268. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/discriminator2.py +0 -0
  269. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/gcn.py +0 -0
  270. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/layers/readout.py +0 -0
  271. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/LP.py +0 -0
  272. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/__init__.py +0 -0
  273. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/dgi.py +0 -0
  274. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/gcnlayers.py +0 -0
  275. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/graphcl.py +0 -0
  276. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/models/logreg.py +0 -0
  277. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/paths.py +0 -0
  278. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/preprompt.py +0 -0
  279. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/multigprompt/utils/process.py +0 -0
  280. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/__init__.py +0 -0
  281. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/KG/__init__.py +0 -0
  282. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/KG/gen_data.py +0 -0
  283. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/__init__.py +0 -0
  284. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/chemmol/__init__.py +0 -0
  285. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/chemmol/gen_data.py +0 -0
  286. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/chemmol/gen_raw_graph.py +0 -0
  287. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/ofa_data.py +0 -0
  288. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Cora/__init__.py +0 -0
  289. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Cora/gen_data.py +0 -0
  290. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Pubmed/__init__.py +0 -0
  291. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/Pubmed/gen_data.py +0 -0
  292. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/__init__.py +0 -0
  293. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/arxiv/__init__.py +0 -0
  294. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/arxiv/gen_data.py +0 -0
  295. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/gen_data.py +0 -0
  296. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/wikics/__init__.py +0 -0
  297. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/single_graph/wikics/gen_data.py +0 -0
  298. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/data/torch_io.py +0 -0
  299. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/fs_datamanager.py +0 -0
  300. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/__init__.py +0 -0
  301. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/data_template.py +0 -0
  302. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/metric.py +0 -0
  303. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/module_template.py +0 -0
  304. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/lightning/training.py +0 -0
  305. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/__init__.py +0 -0
  306. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/layer/pyg.py +0 -0
  307. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/loss.py +0 -0
  308. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/GNN.py +0 -0
  309. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/__init__.py +0 -0
  310. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/dgl.py +0 -0
  311. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/pyg.py +0 -0
  312. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/task_predictor.py +0 -0
  313. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/models/util_model.py +0 -0
  314. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/pooling.py +0 -0
  315. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/nn/resolver.py +0 -0
  316. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/__init__.py +0 -0
  317. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/datasets.py +0 -0
  318. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/graph.py +0 -0
  319. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/io.py +0 -0
  320. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/gp/utils/utils.py +0 -0
  321. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/lightning_model.py +0 -0
  322. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/models/__init__.py +0 -0
  323. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/models/model.py +0 -0
  324. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/ofa_datasets.py +0 -0
  325. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/paths.py +0 -0
  326. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/run_cdm.py +0 -0
  327. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/task_constructor.py +0 -0
  328. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/oneforall/utils.py +0 -0
  329. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/rag_gfm/__init__.py +0 -0
  330. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/rag_gfm/preprompt.py +0 -0
  331. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/__init__.py +0 -0
  332. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/__init__.py +0 -0
  333. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/__init__.py +0 -0
  334. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/data_utils.py +0 -0
  335. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/gcn_surrogate.py +0 -0
  336. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/attack_data_gen/lib/paths.py +0 -0
  337. {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
  338. {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
  339. {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
  340. {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
  341. {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
  342. {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
  343. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/community_detection/__init__.py +0 -0
  344. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/community_detection/pipeline/01_detect_communities.py +0 -0
  345. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/community_detection/pipeline/02_analyze_communities.py +0 -0
  346. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/__init__.py +0 -0
  347. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/lib/__init__.py +0 -0
  348. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/lib/config.py +0 -0
  349. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/models/__init__.py +0 -0
  350. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/models/down_model.py +0 -0
  351. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/models/moe.py +0 -0
  352. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/pipeline/__init__.py +0 -0
  353. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/downstream/pipeline/train_downstream.py +0 -0
  354. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/few_shot_gen/__init__.py +0 -0
  355. {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
  356. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/node_feature_enhance/__init__.py +0 -0
  357. {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
  358. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/paths.py +0 -0
  359. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/__init__.py +0 -0
  360. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/__init__.py +0 -0
  361. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/data_utils.py +0 -0
  362. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/model.py +0 -0
  363. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/sa2gfm/pretrain/pipeline/train_single.py +0 -0
  364. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/__init__.py +0 -0
  365. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/downprompt.py +0 -0
  366. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/downprompt_graph.py +0 -0
  367. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/baseline_models/samgpt/preprompt.py +0 -0
  368. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/cli/__init__.py +0 -0
  369. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/cli/sa2gfm.py +0 -0
  370. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/__init__.py +0 -0
  371. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/core/__init__.py +0 -0
  372. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/core/gnn_encoder.py +0 -0
  373. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/__init__.py +0 -0
  374. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/domain_alignment.py +0 -0
  375. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/downstream_data_gen/__init__.py +0 -0
  376. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/downstream_data_gen/generator.py +0 -0
  377. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/feature_handling.py +0 -0
  378. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/graph_construction.py +0 -0
  379. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/graph_type_variants.py +0 -0
  380. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/loss_calculation.py +0 -0
  381. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/rag_gfm/__init__.py +0 -0
  382. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/rag_gfm/corpus_builder.py +0 -0
  383. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/private/utlis/rag_gfm/motif_builder.py +0 -0
  384. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/__init__.py +0 -0
  385. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/backbone_models/__init__.py +0 -0
  386. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/backbone_models/gnn_encoder.py +0 -0
  387. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/__init__.py +0 -0
  388. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/default_ckpt.py +0 -0
  389. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/export_yaml.py +0 -0
  390. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/multigprompt_config.py +0 -0
  391. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/yaml_config.py +0 -0
  392. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/cli/yaml_flat_to_argv.py +0 -0
  393. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/model_bases.py +0 -0
  394. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/__init__.py +0 -0
  395. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/__init__.py +0 -0
  396. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/ogb_preprocess.py +0 -0
  397. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/pyg_graph.py +0 -0
  398. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/data_process/text_embed.py +0 -0
  399. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/__init__.py +0 -0
  400. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/dev_llm_stub.py +0 -0
  401. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/hf_hub.py +0 -0
  402. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/openai_api.py +0 -0
  403. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/llm/openai_client.py +0 -0
  404. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/__init__.py +0 -0
  405. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/cca_loss.py +0 -0
  406. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/domain_contrastive.py +0 -0
  407. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/domain_regularizer.py +0 -0
  408. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/gradient_reversal.py +0 -0
  409. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/info_nce_mi_matrix.py +0 -0
  410. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/loss_support.py +0 -0
  411. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/motif_contrastive_loss.py +0 -0
  412. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/negative_sampling.py +0 -0
  413. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/node_node_contrastive.py +0 -0
  414. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/pairwise_ranking.py +0 -0
  415. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/spectral_loss.py +0 -0
  416. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/loss_func/task_head.py +0 -0
  417. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/__init__.py +0 -0
  418. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/core.py +0 -0
  419. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/dict2xml.py +0 -0
  420. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/distributed_compat.py +0 -0
  421. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/graph_utils.py +0 -0
  422. {python_gfm-0.1.1 → python_gfm-0.1.3}/src/pygfm/public/utils/others/ppr.py +0 -0
  423. {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.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.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-gfm"
7
- version = "0.1.1"
7
+ version = "0.1.3"
8
8
  authors = [
9
9
  { name = "BUAA SKLCCSE", email = "your.email@example.com" },
10
10
  ]
@@ -1,152 +1,152 @@
1
- Metadata-Version: 2.4
2
- Name: python-gfm
3
- Version: 0.1.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
+