model update
Browse files
README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
datasets:
|
3 |
- semeval2012
|
4 |
model-index:
|
5 |
-
- name: relbert/
|
6 |
results:
|
7 |
- task:
|
8 |
name: Relation Mapping
|
@@ -14,7 +14,7 @@ model-index:
|
|
14 |
metrics:
|
15 |
- name: Accuracy
|
16 |
type: accuracy
|
17 |
-
value: 0.
|
18 |
- task:
|
19 |
name: Analogy Questions (SAT full)
|
20 |
type: multiple-choice-qa
|
@@ -153,27 +153,27 @@ model-index:
|
|
153 |
value: 0.8974114781326906
|
154 |
|
155 |
---
|
156 |
-
# relbert/
|
157 |
|
158 |
RelBERT fine-tuned from [roberta-large](https://huggingface.co/roberta-large) on
|
159 |
[semeval2012](https://huggingface.co/datasets/semeval2012).
|
160 |
Fine-tuning is done via [RelBERT](https://github.com/asahi417/relbert) library (see the repository for more detail).
|
161 |
It achieves the following results on the relation understanding tasks:
|
162 |
-
- Analogy Question ([dataset](https://huggingface.co/datasets/relbert/analogy_questions), [full result](https://huggingface.co/relbert/
|
163 |
- Accuracy on SAT (full): 0.5748663101604278
|
164 |
- Accuracy on SAT: 0.5786350148367952
|
165 |
- Accuracy on BATS: 0.820455808782657
|
166 |
- Accuracy on U2: 0.6140350877192983
|
167 |
- Accuracy on U4: 0.6319444444444444
|
168 |
- Accuracy on Google: 0.918
|
169 |
-
- Lexical Relation Classification ([dataset](https://huggingface.co/datasets/relbert/lexical_relation_classification), [full result](https://huggingface.co/relbert/
|
170 |
- Micro F1 score on BLESS: 0.924815428657526
|
171 |
- Micro F1 score on CogALexV: 0.8718309859154929
|
172 |
- Micro F1 score on EVALution: 0.704225352112676
|
173 |
- Micro F1 score on K&H+N: 0.9667524518327885
|
174 |
- Micro F1 score on ROOT09: 0.9015982450642431
|
175 |
-
- Relation Mapping ([dataset](https://huggingface.co/datasets/relbert/relation_mapping), [full result](https://huggingface.co/relbert/
|
176 |
-
- Accuracy on Relation Mapping: 0.
|
177 |
|
178 |
|
179 |
### Usage
|
@@ -184,7 +184,7 @@ pip install relbert
|
|
184 |
and activate model as below.
|
185 |
```python
|
186 |
from relbert import RelBERT
|
187 |
-
model = RelBERT("relbert/
|
188 |
vector = model.get_embedding(['Tokyo', 'Japan']) # shape of (1024, )
|
189 |
```
|
190 |
|
@@ -213,7 +213,7 @@ The following hyperparameters were used during training:
|
|
213 |
- fp16: False
|
214 |
- random_seed: 0
|
215 |
|
216 |
-
The full configuration can be found at [fine-tuning parameter file](https://huggingface.co/relbert/
|
217 |
|
218 |
### Reference
|
219 |
If you use any resource from RelBERT, please consider to cite our [paper](https://aclanthology.org/2021.eacl-demos.7/).
|
|
|
2 |
datasets:
|
3 |
- semeval2012
|
4 |
model-index:
|
5 |
+
- name: relbert/roberta-large-semeval2012-average-prompt-c-triplet
|
6 |
results:
|
7 |
- task:
|
8 |
name: Relation Mapping
|
|
|
14 |
metrics:
|
15 |
- name: Accuracy
|
16 |
type: accuracy
|
17 |
+
value: 0.8742857142857143
|
18 |
- task:
|
19 |
name: Analogy Questions (SAT full)
|
20 |
type: multiple-choice-qa
|
|
|
153 |
value: 0.8974114781326906
|
154 |
|
155 |
---
|
156 |
+
# relbert/roberta-large-semeval2012-average-prompt-c-triplet
|
157 |
|
158 |
RelBERT fine-tuned from [roberta-large](https://huggingface.co/roberta-large) on
|
159 |
[semeval2012](https://huggingface.co/datasets/semeval2012).
|
160 |
Fine-tuning is done via [RelBERT](https://github.com/asahi417/relbert) library (see the repository for more detail).
|
161 |
It achieves the following results on the relation understanding tasks:
|
162 |
+
- Analogy Question ([dataset](https://huggingface.co/datasets/relbert/analogy_questions), [full result](https://huggingface.co/relbert/roberta-large-semeval2012-average-prompt-c-triplet/raw/main/analogy.json)):
|
163 |
- Accuracy on SAT (full): 0.5748663101604278
|
164 |
- Accuracy on SAT: 0.5786350148367952
|
165 |
- Accuracy on BATS: 0.820455808782657
|
166 |
- Accuracy on U2: 0.6140350877192983
|
167 |
- Accuracy on U4: 0.6319444444444444
|
168 |
- Accuracy on Google: 0.918
|
169 |
+
- Lexical Relation Classification ([dataset](https://huggingface.co/datasets/relbert/lexical_relation_classification), [full result](https://huggingface.co/relbert/roberta-large-semeval2012-average-prompt-c-triplet/raw/main/classification.json)):
|
170 |
- Micro F1 score on BLESS: 0.924815428657526
|
171 |
- Micro F1 score on CogALexV: 0.8718309859154929
|
172 |
- Micro F1 score on EVALution: 0.704225352112676
|
173 |
- Micro F1 score on K&H+N: 0.9667524518327885
|
174 |
- Micro F1 score on ROOT09: 0.9015982450642431
|
175 |
+
- Relation Mapping ([dataset](https://huggingface.co/datasets/relbert/relation_mapping), [full result](https://huggingface.co/relbert/roberta-large-semeval2012-average-prompt-c-triplet/raw/main/relation_mapping.json)):
|
176 |
+
- Accuracy on Relation Mapping: 0.8742857142857143
|
177 |
|
178 |
|
179 |
### Usage
|
|
|
184 |
and activate model as below.
|
185 |
```python
|
186 |
from relbert import RelBERT
|
187 |
+
model = RelBERT("relbert/roberta-large-semeval2012-average-prompt-c-triplet")
|
188 |
vector = model.get_embedding(['Tokyo', 'Japan']) # shape of (1024, )
|
189 |
```
|
190 |
|
|
|
213 |
- fp16: False
|
214 |
- random_seed: 0
|
215 |
|
216 |
+
The full configuration can be found at [fine-tuning parameter file](https://huggingface.co/relbert/roberta-large-semeval2012-average-prompt-c-triplet/raw/main/trainer_config.json).
|
217 |
|
218 |
### Reference
|
219 |
If you use any resource from RelBERT, please consider to cite our [paper](https://aclanthology.org/2021.eacl-demos.7/).
|