Knowledge2Model/Hugging2KG
Hitesh Karakoti 8092c00d34 Updated model parameter 2025-08-27 16:06:47 +02:00
..
Readme.md update graph+ folder adjustment 2024-07-25 11:17:18 +02:00
extract_model_cards.py Add model card extraction script 2025-08-22 11:56:41 +02:00
filterInvalidTags.py Added Graph Query by Modality + streamlined metrics 2025-02-18 22:22:56 +01:00
hugging2sql.py Updated model parameter 2025-08-27 16:06:47 +02:00
huggingface2.db adding git lfs for hugging db 2025-02-20 10:24:49 +01:00
metric_mapping.json Added Graph Query by Modality + streamlined metrics 2025-02-18 22:22:56 +01:00
modality_mapping.json addad modalitys to graph creation+ 2025-02-18 15:21:59 +01:00
model_card_tag_extractor.py add back changes from local branch 2025-02-18 13:13:32 +01:00

Readme.md

Hugging2KG

Pipeline

  1. Run hugging2sql.py to crawl the Huggingface from their API and save it to SQLite database
  2. Run tagExtractor.pyto preprocess the stringified list of tags to useful format + filter unimportant (underrepresent tags)
  3. Run sql2graph.pyto generate the final KG. It is saved in Graphs/graph.ttl