asahi417 commited on
Commit
7a70956
1 Parent(s): b0bc405

model update

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -2,7 +2,7 @@
2
  datasets:
3
  - relbert/conceptnet_high_confidence
4
  model-index:
5
- - name: relbert/roberta-large-conceptnet-hc-mask-prompt-a-nce
6
  results:
7
  - task:
8
  name: Relation Mapping
@@ -153,26 +153,26 @@ model-index:
153
  value: 0.889766384814178
154
 
155
  ---
156
- # relbert/roberta-large-conceptnet-hc-mask-prompt-a-nce
157
 
158
  RelBERT fine-tuned from [roberta-large](https://huggingface.co/roberta-large) on
159
  [relbert/conceptnet_high_confidence](https://huggingface.co/datasets/relbert/conceptnet_high_confidence).
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-conceptnet-hc-mask-prompt-a-nce/raw/main/analogy.json)):
163
  - Accuracy on SAT (full): 0.5748663101604278
164
  - Accuracy on SAT: 0.5727002967359051
165
  - Accuracy on BATS: 0.7620900500277932
166
  - Accuracy on U2: 0.6403508771929824
167
  - Accuracy on U4: 0.6342592592592593
168
  - Accuracy on Google: 0.93
169
- - Lexical Relation Classification ([dataset](https://huggingface.co/datasets/relbert/lexical_relation_classification), [full result](https://huggingface.co/relbert/roberta-large-conceptnet-hc-mask-prompt-a-nce/raw/main/classification.json)):
170
  - Micro F1 score on BLESS: 0.9251167696248305
171
  - Micro F1 score on CogALexV: 0.8767605633802817
172
  - Micro F1 score on EVALution: 0.6912242686890574
173
  - Micro F1 score on K&H+N: 0.9590317868818251
174
  - Micro F1 score on ROOT09: 0.8947038545910373
175
- - Relation Mapping ([dataset](https://huggingface.co/datasets/relbert/relation_mapping), [full result](https://huggingface.co/relbert/roberta-large-conceptnet-hc-mask-prompt-a-nce/raw/main/relation_mapping.json)):
176
  - Accuracy on Relation Mapping: 0.806984126984127
177
 
178
 
@@ -184,7 +184,7 @@ pip install relbert
184
  and activate model as below.
185
  ```python
186
  from relbert import RelBERT
187
- model = RelBERT("relbert/roberta-large-conceptnet-hc-mask-prompt-a-nce")
188
  vector = model.get_embedding(['Tokyo', 'Japan']) # shape of (1024, )
189
  ```
190
 
@@ -211,7 +211,7 @@ The following hyperparameters were used during training:
211
  - n_sample: 640
212
  - gradient_accumulation: 8
213
 
214
- The full configuration can be found at [fine-tuning parameter file](https://huggingface.co/relbert/roberta-large-conceptnet-hc-mask-prompt-a-nce/raw/main/trainer_config.json).
215
 
216
  ### Reference
217
  If you use any resource from RelBERT, please consider to cite our [paper](https://aclanthology.org/2021.eacl-demos.7/).
 
2
  datasets:
3
  - relbert/conceptnet_high_confidence
4
  model-index:
5
+ - name: relbert/roberta-large-conceptnet-mask-prompt-a-nce
6
  results:
7
  - task:
8
  name: Relation Mapping
 
153
  value: 0.889766384814178
154
 
155
  ---
156
+ # relbert/roberta-large-conceptnet-mask-prompt-a-nce
157
 
158
  RelBERT fine-tuned from [roberta-large](https://huggingface.co/roberta-large) on
159
  [relbert/conceptnet_high_confidence](https://huggingface.co/datasets/relbert/conceptnet_high_confidence).
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-conceptnet-mask-prompt-a-nce/raw/main/analogy.json)):
163
  - Accuracy on SAT (full): 0.5748663101604278
164
  - Accuracy on SAT: 0.5727002967359051
165
  - Accuracy on BATS: 0.7620900500277932
166
  - Accuracy on U2: 0.6403508771929824
167
  - Accuracy on U4: 0.6342592592592593
168
  - Accuracy on Google: 0.93
169
+ - Lexical Relation Classification ([dataset](https://huggingface.co/datasets/relbert/lexical_relation_classification), [full result](https://huggingface.co/relbert/roberta-large-conceptnet-mask-prompt-a-nce/raw/main/classification.json)):
170
  - Micro F1 score on BLESS: 0.9251167696248305
171
  - Micro F1 score on CogALexV: 0.8767605633802817
172
  - Micro F1 score on EVALution: 0.6912242686890574
173
  - Micro F1 score on K&H+N: 0.9590317868818251
174
  - Micro F1 score on ROOT09: 0.8947038545910373
175
+ - Relation Mapping ([dataset](https://huggingface.co/datasets/relbert/relation_mapping), [full result](https://huggingface.co/relbert/roberta-large-conceptnet-mask-prompt-a-nce/raw/main/relation_mapping.json)):
176
  - Accuracy on Relation Mapping: 0.806984126984127
177
 
178
 
 
184
  and activate model as below.
185
  ```python
186
  from relbert import RelBERT
187
+ model = RelBERT("relbert/roberta-large-conceptnet-mask-prompt-a-nce")
188
  vector = model.get_embedding(['Tokyo', 'Japan']) # shape of (1024, )
189
  ```
190
 
 
211
  - n_sample: 640
212
  - gradient_accumulation: 8
213
 
214
+ The full configuration can be found at [fine-tuning parameter file](https://huggingface.co/relbert/roberta-large-conceptnet-mask-prompt-a-nce/raw/main/trainer_config.json).
215
 
216
  ### Reference
217
  If you use any resource from RelBERT, please consider to cite our [paper](https://aclanthology.org/2021.eacl-demos.7/).