mirror of
https://github.com/tanyuqian/knowledge-harvest-from-lms.git
synced 2023-06-02 01:35:42 +03:00
updated.
This commit is contained in:
@@ -75,7 +75,7 @@ class KnowledgeHarvester:
|
||||
|
||||
coded_ent_tuple = []
|
||||
for b, ent in zip(bin_code, ent_tuple):
|
||||
coded_ent_tuple.append(ent.title() if b == 1 else ent)
|
||||
coded_ent_tuple.append(ent.title() if b == '1' else ent)
|
||||
|
||||
score = self.score_ent_tuple(ent_tuple=coded_ent_tuple)
|
||||
if score > best_score:
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
"There's no place like the <ENT0> for <ENT1> because you have access to all the equipment you need to get a good workout ."
|
||||
]
|
||||
},
|
||||
"synonym": {
|
||||
"antonym": {
|
||||
"init_prompts": [
|
||||
"<ENT0> is the opposite of <ENT1> ."
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user