diff --git a/models/FineTuning/__pycache__/fine_tuning_wrapper.cpython-313.pyc b/models/FineTuning/__pycache__/fine_tuning_wrapper.cpython-313.pyc index b44b4920594d7a815d0c0d2b1a2a3e6072bf7d86..cf429e1ce6f7f27da4c28038d072857c67bdd232 100644 Binary files a/models/FineTuning/__pycache__/fine_tuning_wrapper.cpython-313.pyc and b/models/FineTuning/__pycache__/fine_tuning_wrapper.cpython-313.pyc differ diff --git a/models/HuggingFace/__pycache__/zero_shot_classification.cpython-313.pyc b/models/HuggingFace/__pycache__/zero_shot_classification.cpython-313.pyc index 5fed62dfde3eca37df1955346a92e7b5872726d3..499df16bca2feedb978361c6d6db1c90883fa688 100644 Binary files a/models/HuggingFace/__pycache__/zero_shot_classification.cpython-313.pyc and b/models/HuggingFace/__pycache__/zero_shot_classification.cpython-313.pyc differ diff --git a/models/LLM/Cohere/__pycache__/cohere_wrapper.cpython-313.pyc b/models/LLM/Cohere/__pycache__/cohere_wrapper.cpython-313.pyc index eb19a7622561671053f4f77c9cdbd101a8204ed9..c98b3c5030a3cd84ce89e9cc7a65bddb4f96999c 100644 Binary files a/models/LLM/Cohere/__pycache__/cohere_wrapper.cpython-313.pyc and b/models/LLM/Cohere/__pycache__/cohere_wrapper.cpython-313.pyc differ diff --git a/models/LLM/Gemini/__pycache__/gemini.cpython-313.pyc b/models/LLM/Gemini/__pycache__/gemini.cpython-313.pyc index b3dd6b57018c50c57dc4ce286ba6d653ae6e2ac7..8c35394087fdaf87094cfe520e27bca622d07843 100644 Binary files a/models/LLM/Gemini/__pycache__/gemini.cpython-313.pyc and b/models/LLM/Gemini/__pycache__/gemini.cpython-313.pyc differ diff --git a/models/LLM/Ollama/__pycache__/ollama_wrapper.cpython-313.pyc b/models/LLM/Ollama/__pycache__/ollama_wrapper.cpython-313.pyc index 98b13ce64d361df4c5a0de1193160ae72e2b0e07..4c8665b5604e5a1dbc444349d587f9719518fa99 100644 Binary files a/models/LLM/Ollama/__pycache__/ollama_wrapper.cpython-313.pyc and b/models/LLM/Ollama/__pycache__/ollama_wrapper.cpython-313.pyc differ diff --git a/testModel/test.py b/testModel/test.py index f2ccc165f3865e50c99083d63b17baf18883c737..612769848e73007b4bee24073ab31c33c230fc9b 100644 --- a/testModel/test.py +++ b/testModel/test.py @@ -26,8 +26,6 @@ from testModel.utils import get_dataset_filename, get_article_data, get_wanted_p from testModel.metrics import get_confusion_matrix from parsers.jsonParser import parseJsonFile -from models.ZeroShotClassifier.HuggingFace.zero_shot_classification import create_classifier, classify - RESULTS_DIR_NAME = "./results" DATASET_DIR_NAME = "./dataset" diff --git a/variables/__pycache__/models.cpython-313.pyc b/variables/__pycache__/models.cpython-313.pyc index aeba07764fe237c1a3bef5398d386bbcea0be024..ef065c04d40912a32a07a9a17633c2b531253569 100644 Binary files a/variables/__pycache__/models.cpython-313.pyc and b/variables/__pycache__/models.cpython-313.pyc differ diff --git a/variables/models.py b/variables/models.py index 393ddf918e8d7986656f9020e871e3076de5b030..e6c7049823696a2c0c1fde276d258eea8631562f 100644 --- a/variables/models.py +++ b/variables/models.py @@ -4,7 +4,7 @@ import os # Ajouter le répertoire parent au chemin de recherche sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))) -from models.ZeroShotClassifier.HuggingFace.zero_shot_classification import create_classifier, classify +from models.HuggingFace.zero_shot_classification import create_classifier, classify import models.LLM.Ollama.ollama_wrapper as ollama from models.LLM.Gemini.gemini import gemini_start_chat, gemini_classify from models.LLM.Cohere.cohere_wrapper import cohere_create_client, cohere_classify