Commit
·
bdf7006
1
Parent(s):
7133f55
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,5 +6,19 @@ language:
|
|
| 6 |
pipeline_tag: token-classification
|
| 7 |
---
|
| 8 |
|
|
|
|
| 9 |
We propose a task that aims to enable data-efficient and fast updates to KG embeddings without damaging the performance of the rest.
|
| 10 |
-
We provide four experimental edit object models of the PT-KGE in the paper experiments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
pipeline_tag: token-classification
|
| 7 |
---
|
| 8 |
|
| 9 |
+
# Model description
|
| 10 |
We propose a task that aims to enable data-efficient and fast updates to KG embeddings without damaging the performance of the rest.
|
| 11 |
+
We provide four experimental edit object models of the PT-KGE in the paper experiments used.
|
| 12 |
+
|
| 13 |
+
### How to use
|
| 14 |
+
|
| 15 |
+
You can use this model directly with a pipeline for masked language modeling:
|
| 16 |
+
|
| 17 |
+
```python
|
| 18 |
+
>>> from transformers import BertForMaskedLM
|
| 19 |
+
>>> model = BertForMaskedLM.from_pretrained(pretrained_model_name_or_path="ChancesYuan/PT-KGE_E-FB15k237", subfolder="PT_KGE_E-FB15k237")
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
Here is how to use this model:
|
| 23 |
+
|
| 24 |
+
```python
|