Skip to content

Commit 725060d

Browse files
author
洪昊昀
committed
Update README.md
1 parent c36660d commit 725060d

1 file changed

Lines changed: 53 additions & 17 deletions

File tree

‎README.md‎

Lines changed: 53 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,43 @@
11
<img src="img/combine.PNG" style="zoom:100%;" />
22

3+
<p align="center"><a href="https://github.com/THUDM/SelfKG/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/THUDM/SelfKG" /></a>
34

5+
# SelfKG: Self-Supervised Entity Alignment in Knowledge Graphs
46

5-
# SelfKG
7+
Original implementation for paper SelfKG: Self-Supervised Entity Alignment in Knowledge Graphs.
68

7-
SelfKG: Self-Supervised Entity Alignment in Knowledge Graphs.
9+
This paper is accepted by [The Web Conference2022](https://www2022.thewebconf.org/)! :satisfied:
810

9-
The paper of SelfKG is accepted by The Web Conference 2022!
11+
SelfKG is the **first** **self-supervised** entity alignment method **without label supervision**, which can **match or achieve comparable results with state-of-the-art supervised baselines**. The performance of SelfKG suggests self-supervised learning offers great potential for entity alignment in Knowledge Graphs.
1012

11-
## 1. Setup
13+
[SelfKG: Self-Supervised Entity Alignment in Knowledge Graphs](#SelfKG: Self-Supervised Entity Alignment in Knowledge Graphs)
1214

13-
**Dependencies**
15+
- [Installation](#installation)
16+
- [Requirements](#requirements)
17+
- [Quick Start](#quick-start)
18+
- [Data Preparation](#data-preparation)
19+
- [Run Experiments](#run-experiments)
20+
- [❗ Common Issues](#-common-issues)
21+
- [Citing SelfKG](#citing-selfkg)
1422

15-
```bash
16-
torch # just choose the version based on your machine
17-
faiss-cpu
18-
numpy
19-
pandas
20-
tqdm
21-
transformers
23+
## Installation
24+
25+
### Requirements
26+
27+
```txt
28+
torch==1.9.0
29+
faiss-cpu==1.7.1
30+
numpy>=1.21
31+
pandas==1.2.5
32+
tqdm==4.61.1
33+
transformers==4.8.2
2234
```
23-
You can use `setup.sh` to set up your Anaconda environment.
2435

25-
**Data**
36+
You can use [`setup.sh`](https://github.com/THUDM/SelfKG/blob/main/setup.sh) to set up your Anaconda environment.
37+
38+
## Quick Start
39+
40+
### Data Preparation
2641

2742
You can download the our data from [here](https://drive.google.com/drive/folders/1vuXC6A0WETEr-b2yA6Y1ZxR8Dsli4xLr?usp=sharing), and the final structure our project should be:
2843

@@ -53,10 +68,31 @@ You can download the our data from [here](https://drive.google.com/drive/folders
5368
└── settings.py
5469
```
5570

56-
## 2. Run experiments
71+
### Run Experiments
5772

58-
You can use
73+
You can use
5974

6075
```bash experiments.sh```
6176

62-
to reproduce our experiments results. For more details, please refer to `experiments.sh` and our code.
77+
to reproduce our experiments results. For more details, please refer to [`experiments.sh`](https://github.com/THUDM/SelfKG/blob/main/experiments.sh) and our code.
78+
79+
## ❗ Common Issues
80+
81+
<details>
82+
<summary>
83+
"XXX file not found"
84+
</summary>
85+
<br/>
86+
Please make sure you've downloaded all the dataset according to README.md
87+
</details>
88+
89+
to be continued ...
90+
91+
92+
## Citing SelfKG
93+
94+
If you use SelfKGin your research or wish to refer to the baseline results, please use the following BibTeX.
95+
96+
```
97+
in preparation ...
98+
```

0 commit comments

Comments
 (0)