https://github.com/bxshi/ProjE
Revision 8f33a2fcfac120a9d94baecec9cf1aaf0fe84dbf authored by bxshi on 17 March 2017, 17:21:55 UTC, committed by bxshi on 17 March 2017, 17:21:55 UTC
1 parent 06318c8
Raw File
Tip revision: 8f33a2fcfac120a9d94baecec9cf1aaf0fe84dbf authored by bxshi on 17 March 2017, 17:21:55 UTC
generate negative samples using training data
Tip revision: 8f33a2f
readme.md
## ProjE

ProjE: Embedding Projection for Knowledge Graph Completion

Accepted at AAAI'2017.

---

### How to run the code

First, please download the data file from https://github.com/thunlp/KB2E and unzip the `data.zip` file. You will get two folders `FB15k` and `WN18`. 


You can call `ProjE` using

```bash
./ProjE_softmax.py --dim 200 --batch 200 --data ./data/FB15k/ --eval_per 1 --worker 3 --eval_batch 500 --max_iter 100 --generator 10
```


back to top