Skip to content

Commit

Permalink
modifs
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKalema committed Jun 11, 2024
1 parent 3f16877 commit 2bafb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ LEARNING_RATE_2: 0.05
LEARNING_RATE_3: 0.05
LEARNING_RATE_4: 0.05
LEARNING_RATE_5: 0.03
NUMBER_OF_CLASSES: 5
EPOCHS_1: 5
EPOCHS_1: 1
EPOCHS_2: 5
EPOCHS_3: 5
EPOCHS_4: 5
Expand Down
5 changes: 1 addition & 4 deletions src/swahiliNewsClassifier/entity/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ class ModelTrainingAndEvaluationConfig:
epochs_5 (int): Number of epochs for the fourth phase of classifier training. This defines the number of complete passes through the training dataset in the final phase.
training_data (Path): Path to the training data CSV file. This file contains the text data and corresponding labels for training and validation.
number_of_classes (int): Number of target classes in the classification task. This defines the number of unique labels in the dataset.
root_dir (Path): Root directory for storing model artifacts. This directory is used to save trained models, logs, and other artifacts.
mlflow_tracking_uri (str): URI for the MLflow tracking server. This is used to log and track experiments with MLflow.
Expand All @@ -83,7 +81,6 @@ class ModelTrainingAndEvaluationConfig:
epochs_4: int
epochs_5: int
training_data: Path
number_of_classes: int
root_dir: Path
mlflow_tracking_uri: str
mlflow_repo_name: str
Expand Down

0 comments on commit 2bafb30

Please sign in to comment.