asahi417 commited on
Commit
a6a5f91
1 Parent(s): 58904a3
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": "Today, I finally discovered the relation between <subj> and <obj> : <obj> is <subj>'s <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-b-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": "Today, I finally discovered the relation between <subj> and <obj> : <obj> is <subj>'s <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": 84.28571428571429, "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.9999999995964792, "similarity_true": 0.9999999995964792}, {"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.9331055923296435, "similarity_true": 0.9331055923296435}, {"source": ["waves", "shore", "reflects", "water", "breakwater", "rough", "calm", "crashing"], "true": ["sounds", "wall", "echoes", "air", "insulation", "loud", "quiet", "vibrating"], "pred": ["sounds", "echoes", "air", "insulation", "wall", "loud", "quiet", "vibrating"], "accuracy": false, "similarity": 0.9466902271475042, "similarity_true": 0.9398247549212297}, {"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.9999999997032782, "similarity_true": 0.9999999997032782}, {"source": ["sound", "low", "high", "echoes", "loud", "quiet", "horn"], "true": ["light", "red", "violet", "reflects", "bright", "dim", "lens"], "pred": ["light", "dim", "red", "violet", "bright", "reflects", "lens"], "accuracy": false, "similarity": 0.9467068072398555, "similarity_true": 0.9454811761702329}, {"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.9999999996229324, "similarity_true": 0.9999999996229324}, {"source": ["breeds", "selection", "conformance", "artificial", "popularity", "breeding", "domesticated"], "true": ["species", "competition", "adaptation", "natural", "fitness", "mating", "wild"], "pred": ["species", "competition", "fitness", "adaptation", "natural", "mating", "wild"], "accuracy": false, "similarity": 0.9087725439819694, "similarity_true": 0.8960934057849806}, {"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.9600371405149905, "similarity_true": 0.9600371405149905}, {"source": ["computer", "processing", "erasing", "write", "read", "memory", "outputs", "inputs", "bug"], "true": ["mind", "thinking", "forgetting", "memorize", "remember", "memory", "muscles", "senses", "mistake"], "pred": ["mind", "thinking", "forgetting", "remember", "memorize", "memory", "muscles", "senses", "mistake"], "accuracy": false, "similarity": 0.915516938357947, "similarity_true": 0.8923111180238986}, {"source": ["slot machines", "reels", "spinning", "winning", "losing"], "true": ["bacteria", "genes", "mutating", "reproducing", "dying"], "pred": ["bacteria", "genes", "reproducing", "mutating", "dying"], "accuracy": false, "similarity": 0.8856507755119271, "similarity_true": 0.8742401374691382}, {"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.9283523425102911, "similarity_true": 0.9283523425102911}, {"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.9039007124948796, "similarity_true": 0.9039007124948796}, {"source": ["foundations", "buildings", "supporting", "solid", "weak", "crack"], "true": ["reasons", "theories", "confirming", "rational", "dubious", "flaw"], "pred": ["reasons", "theories", "confirming", "rational", "dubious", "flaw"], "accuracy": true, "similarity": 0.9131393534039587, "similarity_true": 0.9131393534039587}, {"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.9517058110173714, "similarity_true": 0.9517058110173714}, {"source": ["money", "allocate", "budget", "effective", "cheap", "expansive"], "true": ["time", "invest", "schedule", "efficient", "quick", "slow"], "pred": ["time", "invest", "schedule", "efficient", "slow", "quick"], "accuracy": false, "similarity": 0.9363013475490355, "similarity_true": 0.9253311277177874}, {"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.9341073073128349, "similarity_true": 0.9341073073128349}, {"source": ["machine", "working", "turned on", "turned off", "broken", "power", "repair"], "true": ["mind", "thinking", "awake", "asleep", "confused", "intelligence", "therapy"], "pred": ["mind", "awake", "thinking", "asleep", "confused", "intelligence", "therapy"], "accuracy": false, "similarity": 0.8860534216850574, "similarity_true": 0.8826063170574188}, {"source": ["object", "hold", "weight", "heavy", "light"], "true": ["idea", "understand", "analyze", "important", "trivial"], "pred": ["idea", "understand", "analyze", "important", "trivial"], "accuracy": true, "similarity": 0.876191953551821, "similarity_true": 0.876191953551821}, {"source": ["follow", "leader", "path", "follower", "lost", "wanders", "twisted", "straight"], "true": ["understand", "speaker", "argument", "listener", "misunderstood", "digresses", "complicated", "simple"], "pred": ["understand", "speaker", "argument", "listener", "misunderstood", "digresses", "complicated", "simple"], "accuracy": true, "similarity": 0.9002408808226262, "similarity_true": 0.9002408808226262}, {"source": ["seeing", "light", "illuminating", "darkness", "view", "hidden"], "true": ["understanding", "knowledge", "explaining", "confusion", "interpretation", "secret"], "pred": ["understanding", "knowledge", "explaining", "secret", "confusion", "interpretation"], "accuracy": false, "similarity": 0.8601191884187374, "similarity_true": 0.8399901086450914}]}