This commit is contained in:
bwt09
2022-06-05 01:46:41 -07:00
parent d619e0f544
commit ed2f181400
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
## BertNet: Harvesting Knowledge Graphs from Pretrained Language Models
![](framework.png)
### Preperation
```
pip install -r requirements.txt
@@ -12,7 +14,7 @@ python search_prompts.py --rel_set conceptnet (lama/human)
### Search entity tuples
```
python main.py
python main.py --rel_set conceptnet --model_name roberta-large
```
### Present results

BIN
framework.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB