1. Add a threshold here, in case it is lower than the threshold, either 1) discard the model input OR 2) append as not specified. https://github.com/DialogBased-Interaction/Goal_Alignment/blob/main/eval_scripts/mistral_script.py#L33 2. Pass the mistral tokenizer and model to the perplexity model, not the GPT2 model. https://github.com/DialogBased-Interaction/Goal_Alignment/blob/main/eval_scripts/mistral_script.py#L80 3. move the eval_script under alignment folder
Activity