File size: 651 Bytes
98cf6ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "template": "Today, I finally discovered the relation between <subj> and <obj> : <subj> is the <mask> of <obj>",
  "model": "bert-base-cased",
  "max_length": 64,
  "epoch": 10,
  "batch": 32,
  "random_seed": 0,
  "lr": 5e-06,
  "lr_warmup": 10,
  "aggregation_mode": "average_no_mask",
  "data": "relbert/semeval2012_relational_similarity",
  "data_name": null,
  "exclude_relation": null,
  "split": "train",
  "split_valid": "validation",
  "loss_function": "nce",
  "classification_loss": false,
  "loss_function_config": {
    "temperature": 0.05,
    "num_negative": 400,
    "num_positive": 10
  },
  "augment_negative_by_positive": true
}