You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to save SetFit in my directory (which is databricks), but both commands of :
trainer.model.save_pretrained(save directory)
OR trainer.save_pretrained(save directory)
gives me the error of TemplateAssertionError: no test named 'False',
can you help me how can I save my model.
The text was updated successfully, but these errors were encountered:
The following fixed the issue from my side when I use cpu for testing.
!pip install jinja2 --upgrade
import os
os.environ["TOKENIZERS_PARALLELISM"] = "false"
I am trying to save SetFit in my directory (which is databricks), but both commands of :
trainer.model.save_pretrained(save directory)
OR trainer.save_pretrained(save directory)
gives me the error of TemplateAssertionError: no test named 'False',
can you help me how can I save my model.
The text was updated successfully, but these errors were encountered: