MAIF / melusine

📧 Melusine: Use python to automatize your email processing workflow

Home Page:https://maif.github.io/melusine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cross Validation

CameliaSNCF opened this issue · comments

Python version : 3.8.10

Melusine version : 2.3.2

Operating System : Windows

Hello,
I would like to implement the technique of cross-validation to validate my results with the neural network but I have this error :

erreur1

erreur2

Is Melusine not compatible with cross_val ?

Best regards,
Camelia

Here is how I initialize the model for reference :

erreur3

This issue has been resolved, there was an error in the melusine code : "self.bert_tokenizer=bert_tokenizer" was missing from NeuralModel.init()

Best regards
Camelia

Hello Camelia,

Thank you for this interesting remark.
As we are going through modifications for the new version, we will try to add this fix.

Best regards