Skip to content
Snippets Groups Projects
Commit 5df59abf authored by Hsien-Chin Lin's avatar Hsien-Chin Lin
Browse files

wip

parent 622284b8
No related branches found
No related tags found
No related merge requests found
...@@ -45,12 +45,13 @@ class Evaluator: ...@@ -45,12 +45,13 @@ class Evaluator:
self.dataset = dataset self.dataset = dataset
self.model_checkpoint = model_checkpoint self.model_checkpoint = model_checkpoint
self.model_weight = model_weight self.model_weight = model_weight
self.time = f"{datetime.now().strftime('%y-%m-%d-%H-%M')}" self.time = f"{datetime.now().strftime('%y-%m-%d-%H-%M-%S')}"
self.use_sentiment = kwargs.get("use_sentiment", False) self.use_sentiment = kwargs.get("use_sentiment", False)
self.add_persona = kwargs.get("add_persona", False) self.add_persona = kwargs.get("add_persona", False)
self.emotion_mid = kwargs.get("emotion_mid", False) self.emotion_mid = kwargs.get("emotion_mid", False)
self.emotion_weight = kwargs.get("weight", None) self.emotion_weight = kwargs.get("weight", None)
self.sample = kwargs.get("sample", False) self.sample = kwargs.get("sample", False)
print("self.emotion_weight", self.emotion_weight)
self.usr = UserActionPolicy( self.usr = UserActionPolicy(
model_checkpoint, model_checkpoint,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment