asahi417 commited on
Commit
832ac44
1 Parent(s): 30c2236
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 <subj> is the <mask> of <obj>",
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-d-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 <subj> is the <mask> of <obj>",
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": 96.42857142857143, "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.9999999997607448, "similarity_true": 0.9999999997607448}, {"source": ["water", "flows", "pressure", "water tower", "bucket", "filling", "emptying", "hydrodynamics"], "true": ["heat", "transfers", "temperature", "burner", "kettle", "heating", "cooling", "thermodynamics"], "pred": ["temperature", "heat", "transfers", "burner", "kettle", "heating", "cooling", "thermodynamics"], "accuracy": false, "similarity": 0.9669841583330282, "similarity_true": 0.966703576540395}, {"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.895776465239308, "similarity_true": 0.895776465239308}, {"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.9999999997862907, "similarity_true": 0.9999999997862907}, {"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.9188305894667635, "similarity_true": 0.9188305894667635}, {"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.9999999997715714, "similarity_true": 0.9999999997715714}, {"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.893555117707161, "similarity_true": 0.893555117707161}, {"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.9210700660197787, "similarity_true": 0.9210700660197787}, {"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.9183347359268589, "similarity_true": 0.9114440910031829}, {"source": ["slot machines", "reels", "spinning", "winning", "losing"], "true": ["bacteria", "genes", "mutating", "reproducing", "dying"], "pred": ["bacteria", "genes", "mutating", "reproducing", "dying"], "accuracy": true, "similarity": 0.8378647775217072, "similarity_true": 0.8378647775217072}, {"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.9257897938081151, "similarity_true": 0.9257897938081151}, {"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.9141426777338723, "similarity_true": 0.9141426777338723}, {"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.9024014624963113, "similarity_true": 0.9024014624963113}, {"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.900699743266676, "similarity_true": 0.900699743266676}, {"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.9159393797054176, "similarity_true": 0.9159393797054176}, {"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.9223328570414555, "similarity_true": 0.9223328570414555}, {"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.8831006014576545, "similarity_true": 0.8831006014576545}, {"source": ["object", "hold", "weight", "heavy", "light"], "true": ["idea", "understand", "analyze", "important", "trivial"], "pred": ["idea", "understand", "analyze", "important", "trivial"], "accuracy": true, "similarity": 0.885565550057009, "similarity_true": 0.885565550057009}, {"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.9047131237693565, "similarity_true": 0.9047131237693565}, {"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.8604517978132791, "similarity_true": 0.8604517978132791}]}