asahi417 commited on
Commit
6aa71eb
1 Parent(s): 16d4d7e
analogy.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"distance_function": "cosine_similarity", "sat/test": 0.6231454005934718, "sat/valid": 0.5675675675675675, "u2/test": 0.6008771929824561, "u2/valid": 0.5833333333333334, "u4/test": 0.6226851851851852, "u4/valid": 0.5416666666666666, "google/test": 0.874, "google/valid": 0.96, "bats/test": 0.7570872707059477, "bats/valid": 0.7587939698492462, "sat_full": 0.6176470588235294}
classification.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lexical_relation_classification/BLESS": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.9311435889709206, "test/f1_macro": 0.9268380061574883, "test/f1_micro": 0.9311435889709206, "test/p_macro": 0.9276463393358313, "test/p_micro": 0.9311435889709206, "test/r_macro": 0.9262586612811833, "test/r_micro": 0.9311435889709206}, "lexical_relation_classification/CogALexV": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.8744131455399061, "test/f1_macro": 0.7267491613759859, "test/f1_micro": 0.8744131455399061, "test/p_macro": 0.7705910106644054, "test/p_micro": 0.8744131455399061, "test/r_macro": 0.6918492174519649, "test/r_micro": 0.8744131455399061}, "lexical_relation_classification/EVALution": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.7053087757313109, "test/f1_macro": 0.694918491135901, "test/f1_micro": 0.7053087757313109, "test/p_macro": 0.6959718113394452, "test/p_micro": 0.7053087757313109, "test/r_macro": 0.6999887647473015, "test/r_micro": 0.7053087757313109}, "lexical_relation_classification/K&H+N": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.9652222299506156, "test/f1_macro": 0.8967485289493923, "test/f1_micro": 0.9652222299506156, "test/p_macro": 0.9011716607089171, "test/p_micro": 0.9652222299506156, "test/r_macro": 0.892493388706479, "test/r_micro": 0.9652222299506156}, "lexical_relation_classification/ROOT09": {"classifier_config": {"activation": "relu", "alpha": 0.0001, "batch_size": "auto", "beta_1": 0.9, "beta_2": 0.999, "early_stopping": false, "epsilon": 1e-08, "hidden_layer_sizes": [100], "learning_rate": "constant", "learning_rate_init": 0.001, "max_fun": 15000, "max_iter": 200, "momentum": 0.9, "n_iter_no_change": 10, "nesterovs_momentum": true, "power_t": 0.5, "random_state": 0, "shuffle": true, "solver": "adam", "tol": 0.0001, "validation_fraction": 0.1, "verbose": false, "warm_start": false}, "test/accuracy": 0.8965841429019116, "test/f1_macro": 0.8952392246946669, "test/f1_micro": 0.8965841429019116, "test/p_macro": 0.8899853545990782, "test/p_micro": 0.8965841429019116, "test/r_macro": 0.9013036267144253, "test/r_micro": 0.8965841429019116}}
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "roberta-large",
3
  "architectures": [
4
  "RobertaModel"
5
  ],
@@ -25,7 +25,7 @@
25
  "template_mode": "manual"
26
  },
27
  "torch_dtype": "float32",
28
- "transformers_version": "4.20.1",
29
  "type_vocab_size": 1,
30
  "use_cache": true,
31
  "vocab_size": 50265
 
1
  {
2
+ "_name_or_path": "relbert-roberta-large-semeval2012-mask-prompt-e-loob",
3
  "architectures": [
4
  "RobertaModel"
5
  ],
 
25
  "template_mode": "manual"
26
  },
27
  "torch_dtype": "float32",
28
+ "transformers_version": "4.21.2",
29
  "type_vocab_size": 1,
30
  "use_cache": true,
31
  "vocab_size": 50265
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d147b9c2a7e8bfe2d959c52e624beacba2b4be1644328440f6a0b2cb2cefab1c
3
- size 1421572401
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86ed8a5979a2cf726736dd61e37f7208fffb2059ce6e7b4de0a43a1f3a7b4205
3
+ size 1421566897
relation_mapping.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"accuracy": 0.9375, "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"], "alignment_match": true, "accuracy": 1, "similarity": 0.9999999011144891, "similarity_true": 0.9999999011144891}, {"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"], "alignment_match": true, "accuracy": 1, "similarity": 0.922992988846677, "similarity_true": 0.922992988846677}, {"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"], "alignment_match": true, "accuracy": 1, "similarity": 0.8445663157967034, "similarity_true": 0.8445663157967034}, {"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"], "alignment_match": true, "accuracy": 1, "similarity": 0.9999999006161664, "similarity_true": 0.9999999006161664}, {"source": ["sound", "low", "high", "echoes", "loud", "quiet", "horn"], "true": ["light", "red", "violet", "reflects", "bright", "dim", "lens"], "pred": ["light", "red", "violet", "reflects", "bright", "dim", "lens"], "alignment_match": true, "accuracy": 1, "similarity": 0.8293381532793668, "similarity_true": 0.8293381532793668}, {"source": ["projectile", "trajectory", "earth", "parabolic", "air", "gravity", "attracts"], "true": ["planet", "orbit", "sun", "elliptical", "space", "gravity", "attracts"], "pred": ["planet", "orbit", "sun", "elliptical", "space", "gravity", "attracts"], "alignment_match": true, "accuracy": 1, "similarity": 0.9999999007043332, "similarity_true": 0.9999999007043332}, {"source": ["breeds", "selection", "conformance", "artificial", "popularity", "breeding", "domesticated"], "true": ["species", "competition", "adaptation", "natural", "fitness", "mating", "wild"], "pred": ["species", "competition", "fitness", "adaptation", "natural", "mating", "wild"], "alignment_match": false, "accuracy": 0.5714285714285714, "similarity": 0.8141911059000939, "similarity_true": 0.7990037398141413}, {"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"], "alignment_match": true, "accuracy": 1, "similarity": 0.8785715660708646, "similarity_true": 0.8785715660708646}, {"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"], "alignment_match": true, "accuracy": 1, "similarity": 0.8877690692620821, "similarity_true": 0.8877690692620821}, {"source": ["slot machines", "reels", "spinning", "winning", "losing"], "true": ["bacteria", "genes", "mutating", "reproducing", "dying"], "pred": ["bacteria", "genes", "mutating", "reproducing", "dying"], "alignment_match": true, "accuracy": 1, "similarity": 0.7475399194618134, "similarity_true": 0.7475399194618134}, {"source": ["war", "soldier", "destroy", "fighting", "defeat", "attacks", "weapon"], "true": ["argument", "debater", "refute", "arguing", "acceptance", "criticizes", "logic"], "pred": ["argument", "debater", "refute", "arguing", "acceptance", "criticizes", "logic"], "alignment_match": true, "accuracy": 1, "similarity": 0.8499182223919279, "similarity_true": 0.8499182223919279}, {"source": ["buyer", "merchandise", "buying", "selling", "returning", "valuable", "worthless"], "true": ["believer", "belief", "accepting", "advocating", "rejecting", "true", "false"], "pred": ["believer", "belief", "advocating", "accepting", "rejecting", "true", "false"], "alignment_match": false, "accuracy": 0.7142857142857143, "similarity": 0.7981577781252935, "similarity_true": 0.7657440762994351}, {"source": ["foundations", "buildings", "supporting", "solid", "weak", "crack"], "true": ["reasons", "theories", "confirming", "rational", "dubious", "flaw"], "pred": ["reasons", "theories", "confirming", "rational", "dubious", "flaw"], "alignment_match": true, "accuracy": 1, "similarity": 0.7428420768630041, "similarity_true": 0.7428420768630041}, {"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"], "alignment_match": true, "accuracy": 1, "similarity": 0.806367870043838, "similarity_true": 0.806367870043838}, {"source": ["money", "allocate", "budget", "effective", "cheap", "expansive"], "true": ["time", "invest", "schedule", "efficient", "quick", "slow"], "pred": ["time", "invest", "schedule", "efficient", "quick", "slow"], "alignment_match": true, "accuracy": 1, "similarity": 0.7962767130252557, "similarity_true": 0.7962767130252557}, {"source": ["seeds", "planted", "fruitful", "fruit", "grow", "wither", "blossom"], "true": ["ideas", "inspired", "productive", "product", "develop", "fail", "succeed"], "pred": ["ideas", "inspired", "productive", "product", "develop", "fail", "succeed"], "alignment_match": true, "accuracy": 1, "similarity": 0.8827208247566531, "similarity_true": 0.8827208247566531}, {"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"], "alignment_match": false, "accuracy": 0.7142857142857143, "similarity": 0.7439742490186948, "similarity_true": 0.7171609044650324}, {"source": ["object", "hold", "weight", "heavy", "light"], "true": ["idea", "understand", "analyze", "important", "trivial"], "pred": ["idea", "understand", "analyze", "important", "trivial"], "alignment_match": true, "accuracy": 1, "similarity": 0.7345127673076427, "similarity_true": 0.7345127673076427}, {"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"], "alignment_match": false, "accuracy": 0.75, "similarity": 0.8555644103608973, "similarity_true": 0.8047999925148548}, {"source": ["seeing", "light", "illuminating", "darkness", "view", "hidden"], "true": ["understanding", "knowledge", "explaining", "confusion", "interpretation", "secret"], "pred": ["understanding", "knowledge", "explaining", "confusion", "interpretation", "secret"], "alignment_match": true, "accuracy": 1, "similarity": 0.768185045995756, "similarity_true": 0.768185045995756}]}
validation_loss.conceptnet_high_confidence.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"validation_loss": 4.249498702977833, "validation_data": "relbert/conceptnet_high_confidence", "validation_data/exclude_relation": null, "train_loss": 5.69362610578537, "train_data": "relbert/conceptnet_high_confidence", "train_data/exclude_relation": null, "train_validation_loss": 4.990076858263749, "train_validation_data": "relbert/conceptnet_high_confidence", "train_validation_data/exclude_relation": null}