mirror of
https://github.com/tanyuqian/knowledge-harvest-from-lms.git
synced 2023-06-02 01:35:42 +03:00
updated.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
## BertNet: Harvesting Knowledge Graphs from Pretrained Language Models
|
||||
|
||||

|
||||
|
||||
### 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
BIN
framework.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 298 KiB |
Reference in New Issue
Block a user