SelfKG
Codes for WWW2022 accepted paper: SelfKG: Self-Supervised Entity Alignment in Knowledge Graphs
File Explorer
Download Latest Version (.zip)- en_rel_triples
- fr_rel_triples
- zh_rel_triples
- cleaned_rel_ids_1
- cleaned_rel_ids_2
- ent_ids_1
- ent_ids_2
- extract_rel.py
- triples_1
- triples_2
- en_rel_triples
- ja_rel_triples
- cleaned_rel_ids_1
- cleaned_rel_ids_2
- ent_ids_1
- ent_ids_2
- extract_rel.py
- triples_1
- triples_2
- en_rel_triples
- zh_rel_triples
- cleaned_rel_ids_1
- cleaned_rel_ids_2
- ent_ids_1
- ent_ids_2
- extract_rel.py
- triples_1
- triples_2
- rel_ids_1
- rel_ids_2
- rel_ids_1
- rel_ids_2
- getdata.sh
- combine.png
- Figure2.PNG
- Figure3.PNG
- DBP15k.py
- DBP15kLoader.py
- DBP15kRawLoader.py
- DBP15KRawNeighbors.py
- DWY100K.py
- DWY100KRawNeighbor.py
- DWY_Neighbor.py
- Neighbors.py
- layers_DWY_LaBSE_neighbor.py
- layers_LaBSE_neighbor.py
- layers_LaBSE_SSL.py
- layers_LaBSE_SSL_DWY.py
- deal_dataset.py
- deal_raw_dataset.py
- DWY_neighbor_token.py
- get_DWY_token.py
- get_token.py
- labse_dump.py
- neighbor_token.py
- LICENSE
- README.md
- requirements.txt
- run.sh
- run_DWY_LaBSE_neighbor.py
- run_LaBSE_neighbor.py
- settings.py
- setup.sh
# Installation Guide
1. Get the code
git clone https://github.com/THUDM/SelfKG
Downloads the entire project code from GitHub to your computer.
cd SelfKG
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
