Skip to content

Commit

Permalink
fix: 🎨 Change predictor version to also track... the predictor version
Browse files Browse the repository at this point in the history
We concluded that PREDICTOR-VERSION will be used to track batch jobs and allow new data predictions to be imported. In the future, we'll find a way to detect already processed data in another way, such as before the batch job during the extraction stage.
  • Loading branch information
jeremyarancio authored and raphael0202 committed Sep 10, 2024
1 parent fb28b24 commit 019f6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robotoff/batch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def import_spellcheck_batch_predictions() -> None:
PREDICTION_TYPE = PredictionType.ingredient_spellcheck
# We increment to allow import_insights to create a new version
PREDICTOR_VERSION = (
"batch-job" + "-" + datetime.datetime.now().strftime("%Y%m%d%H%M%S")
"llm-v1" + "-" + datetime.datetime.now().strftime("%Y%m%d%H%M%S")
)
PREDICTOR = "fine-tuned-mistral-7b"
SERVER_TYPE = ServerType.off
Expand Down

0 comments on commit 019f6c9

Please sign in to comment.