Skip to content
Snippets Groups Projects
Commit 0ed0da90 authored by Ivan Pavlovich's avatar Ivan Pavlovich
Browse files

Correction d'import

parent f03a11ec
Branches
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -26,8 +26,6 @@ from testModel.utils import get_dataset_filename, get_article_data, get_wanted_p ...@@ -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 testModel.metrics import get_confusion_matrix
from parsers.jsonParser import parseJsonFile from parsers.jsonParser import parseJsonFile
from models.ZeroShotClassifier.HuggingFace.zero_shot_classification import create_classifier, classify
RESULTS_DIR_NAME = "./results" RESULTS_DIR_NAME = "./results"
DATASET_DIR_NAME = "./dataset" DATASET_DIR_NAME = "./dataset"
......
No preview for this file type
...@@ -4,7 +4,7 @@ import os ...@@ -4,7 +4,7 @@ import os
# Ajouter le répertoire parent au chemin de recherche # Ajouter le répertoire parent au chemin de recherche
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))) 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 import models.LLM.Ollama.ollama_wrapper as ollama
from models.LLM.Gemini.gemini import gemini_start_chat, gemini_classify from models.LLM.Gemini.gemini import gemini_start_chat, gemini_classify
from models.LLM.Cohere.cohere_wrapper import cohere_create_client, cohere_classify from models.LLM.Cohere.cohere_wrapper import cohere_create_client, cohere_classify
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment