asahi417 commited on
Commit
5d2ea02
1 Parent(s): 7318f95
Files changed (2) hide show
  1. config.json +4 -2
  2. relation_mapping.json +1 -0
config.json CHANGED
@@ -1,10 +1,11 @@
1
  {
2
- "_name_or_path": "roberta-large",
3
  "architectures": [
4
  "RobertaModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
8
  "eos_token_id": 2,
9
  "gradient_checkpointing": false,
10
  "hidden_act": "gelu",
@@ -24,7 +25,8 @@
24
  "template": "I wasn\u2019t aware of this relationship, but I just read in the encyclopedia that <obj> is <subj>\u2019s <mask>",
25
  "template_mode": "manual"
26
  },
27
- "transformers_version": "4.6.1",
 
28
  "type_vocab_size": 1,
29
  "use_cache": true,
30
  "vocab_size": 50265
 
1
  {
2
+ "_name_or_path": "relbert-roberta-large-semeval2012-average-no-mask-prompt-e-nce",
3
  "architectures": [
4
  "RobertaModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
  "eos_token_id": 2,
10
  "gradient_checkpointing": false,
11
  "hidden_act": "gelu",
 
25
  "template": "I wasn\u2019t aware of this relationship, but I just read in the encyclopedia that <obj> is <subj>\u2019s <mask>",
26
  "template_mode": "manual"
27
  },
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.16.2",
30
  "type_vocab_size": 1,
31
  "use_cache": true,
32
  "vocab_size": 50265
relation_mapping.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"accuracy": 95.71428571428572, "prediction": [{"source": ["solar system", "sun", "planet", "mass", "attracts", "revolves", "gravity"], "true": ["atom", "nucleus", "electron", "charge", "attracts", "revolves", "electromagnetism"], "pred": ["atom", "nucleus", "electron", "charge", "attracts", "revolves", "electromagnetism"], "accuracy": true, "similarity": 0.9999999997554931, "similarity_true": 0.9999999997554931}, {"source": ["water", "flows", "pressure", "water tower", "bucket", "filling", "emptying", "hydrodynamics"], "true": ["heat", "transfers", "temperature", "burner", "kettle", "heating", "cooling", "thermodynamics"], "pred": ["heat", "transfers", "temperature", "burner", "kettle", "heating", "cooling", "thermodynamics"], "accuracy": true, "similarity": 0.964993597529333, "similarity_true": 0.964993597529333}, {"source": ["waves", "shore", "reflects", "water", "breakwater", "rough", "calm", "crashing"], "true": ["sounds", "wall", "echoes", "air", "insulation", "loud", "quiet", "vibrating"], "pred": ["sounds", "wall", "echoes", "air", "insulation", "loud", "quiet", "vibrating"], "accuracy": true, "similarity": 0.8956981684266734, "similarity_true": 0.8956981684266734}, {"source": ["combustion", "fire", "fuel", "burning", "hot", "intense", "oxygen", "carbon dioxide"], "true": ["respiration", "animal", "food", "breathing", "living", "vigorous", "oxygen", "carbon dioxide"], "pred": ["respiration", "animal", "food", "breathing", "living", "vigorous", "oxygen", "carbon dioxide"], "accuracy": true, "similarity": 0.9999999997867746, "similarity_true": 0.9999999997867746}, {"source": ["sound", "low", "high", "echoes", "loud", "quiet", "horn"], "true": ["light", "red", "violet", "reflects", "bright", "dim", "lens"], "pred": ["light", "red", "violet", "reflects", "bright", "dim", "lens"], "accuracy": true, "similarity": 0.9322718861223617, "similarity_true": 0.9322718861223617}, {"source": ["projectile", "trajectory", "earth", "parabolic", "air", "gravity", "attracts"], "true": ["planet", "orbit", "sun", "elliptical", "space", "gravity", "attracts"], "pred": ["planet", "orbit", "sun", "elliptical", "space", "gravity", "attracts"], "accuracy": true, "similarity": 0.9999999997572108, "similarity_true": 0.9999999997572108}, {"source": ["breeds", "selection", "conformance", "artificial", "popularity", "breeding", "domesticated"], "true": ["species", "competition", "adaptation", "natural", "fitness", "mating", "wild"], "pred": ["species", "competition", "adaptation", "natural", "fitness", "mating", "wild"], "accuracy": true, "similarity": 0.8557048225845463, "similarity_true": 0.8557048225845463}, {"source": ["ball", "billiards", "speed", "table", "bouncing", "moving", "slow", "fast"], "true": ["molecules", "gas", "temperature", "container", "pressing", "moving", "cold", "hot"], "pred": ["molecules", "gas", "temperature", "container", "pressing", "moving", "cold", "hot"], "accuracy": true, "similarity": 0.9350532932797413, "similarity_true": 0.9350532932797413}, {"source": ["computer", "processing", "erasing", "write", "read", "memory", "outputs", "inputs", "bug"], "true": ["mind", "thinking", "forgetting", "memorize", "remember", "memory", "muscles", "senses", "mistake"], "pred": ["mind", "thinking", "forgetting", "memorize", "remember", "memory", "muscles", "senses", "mistake"], "accuracy": true, "similarity": 0.9182610668048089, "similarity_true": 0.9182610668048089}, {"source": ["slot machines", "reels", "spinning", "winning", "losing"], "true": ["bacteria", "genes", "mutating", "reproducing", "dying"], "pred": ["bacteria", "genes", "reproducing", "mutating", "dying"], "accuracy": false, "similarity": 0.8253778958807189, "similarity_true": 0.8247947341715269}, {"source": ["war", "soldier", "destroy", "fighting", "defeat", "attacks", "weapon"], "true": ["argument", "debater", "refute", "arguing", "acceptance", "criticizes", "logic"], "pred": ["argument", "debater", "refute", "arguing", "acceptance", "criticizes", "logic"], "accuracy": true, "similarity": 0.8928507251937126, "similarity_true": 0.8928507251937126}, {"source": ["buyer", "merchandise", "buying", "selling", "returning", "valuable", "worthless"], "true": ["believer", "belief", "accepting", "advocating", "rejecting", "true", "false"], "pred": ["believer", "belief", "accepting", "advocating", "rejecting", "true", "false"], "accuracy": true, "similarity": 0.8800122442988391, "similarity_true": 0.8800122442988391}, {"source": ["foundations", "buildings", "supporting", "solid", "weak", "crack"], "true": ["reasons", "theories", "confirming", "rational", "dubious", "flaw"], "pred": ["theories", "reasons", "confirming", "rational", "dubious", "flaw"], "accuracy": false, "similarity": 0.8538309337009002, "similarity_true": 0.8365715412868011}, {"source": ["obstructions", "destination", "route", "traveller", "traveling", "companion", "arriving"], "true": ["difficulties", "goal", "plan", "person", "problem solving", "partner", "succeeding"], "pred": ["difficulties", "goal", "plan", "person", "problem solving", "partner", "succeeding"], "accuracy": true, "similarity": 0.8923575992962323, "similarity_true": 0.8923575992962323}, {"source": ["money", "allocate", "budget", "effective", "cheap", "expansive"], "true": ["time", "invest", "schedule", "efficient", "quick", "slow"], "pred": ["time", "invest", "schedule", "efficient", "quick", "slow"], "accuracy": true, "similarity": 0.9087364477788048, "similarity_true": 0.9087364477788048}, {"source": ["seeds", "planted", "fruitful", "fruit", "grow", "wither", "blossom"], "true": ["ideas", "inspired", "productive", "product", "develop", "fail", "succeed"], "pred": ["ideas", "inspired", "productive", "product", "develop", "fail", "succeed"], "accuracy": true, "similarity": 0.9455491864216214, "similarity_true": 0.9455491864216214}, {"source": ["machine", "working", "turned on", "turned off", "broken", "power", "repair"], "true": ["mind", "thinking", "awake", "asleep", "confused", "intelligence", "therapy"], "pred": ["mind", "thinking", "awake", "asleep", "confused", "intelligence", "therapy"], "accuracy": true, "similarity": 0.8125627235530037, "similarity_true": 0.8125627235530037}, {"source": ["object", "hold", "weight", "heavy", "light"], "true": ["idea", "understand", "analyze", "important", "trivial"], "pred": ["idea", "understand", "analyze", "important", "trivial"], "accuracy": true, "similarity": 0.8748255980296493, "similarity_true": 0.8748255980296493}, {"source": ["follow", "leader", "path", "follower", "lost", "wanders", "twisted", "straight"], "true": ["understand", "speaker", "argument", "listener", "misunderstood", "digresses", "complicated", "simple"], "pred": ["understand", "speaker", "argument", "listener", "complicated", "digresses", "misunderstood", "simple"], "accuracy": false, "similarity": 0.8970690799482056, "similarity_true": 0.8764919296883243}, {"source": ["seeing", "light", "illuminating", "darkness", "view", "hidden"], "true": ["understanding", "knowledge", "explaining", "confusion", "interpretation", "secret"], "pred": ["understanding", "knowledge", "explaining", "confusion", "interpretation", "secret"], "accuracy": true, "similarity": 0.9060263047647885, "similarity_true": 0.9060263047647885}]}