From 28284d50179eeaf56ce71e31dd35d759b3de2120 Mon Sep 17 00:00:00 2001 From: HJC Puro Date: Thu, 28 Sep 2023 12:09:58 +0000 Subject: [PATCH] add random seed --- dataloaders/dataloaders.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dataloaders/dataloaders.py b/dataloaders/dataloaders.py index 3d3cace..0e3036a 100644 --- a/dataloaders/dataloaders.py +++ b/dataloaders/dataloaders.py @@ -3,6 +3,7 @@ import datasets import os import random +random.seed(42) from dataloaders.data_formats import NAME2CLS from preprocess.prompts import SYSTEM_PROMPT