Skip to content

Commit

Permalink
fix tag encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ofilangi committed Oct 21, 2024
1 parent 768a06f commit 8d125ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/planteom-example.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"encodeur" : "sentence-transformers/all-MiniLM-L6-v2",
"threshold_similarity_tag_chunk" : 0.60,
"threshold_similarity_tag_chunk" : 0.65,
"threshold_similarity_tag" : 0.80,
"batch_size" : 32,

Expand Down
2 changes: 1 addition & 1 deletion llm_semantic_annotator/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ def main_display_summary(config_all):
retention_dir = config_all['retention_dir']

if len(results_complete_similarities)>0:
display_ontologies_distribution(results_complete_similarities,tag_embeddings)
display_best_similarity_abstract_tag(results_complete_similarities,tag_embeddings,retention_dir)
display_ontologies_summary(results_complete_similarities,tag_embeddings,retention_dir)
display_ontologies_distribution(results_complete_similarities,tag_embeddings)
else:
print("No results found")

Expand Down
2 changes: 1 addition & 1 deletion llm_semantic_annotator/tag/owl_tag_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def remove_prefix_tags(self,prefix_tag,text):

def build_corpus(
self,
ontology_group_name,
ontology,
ontology_group_name,
ontology_config,
debug_nb_terms_by_ontology):

Expand Down

0 comments on commit 8d125ed

Please sign in to comment.