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
tokens_map = json.load(open(str(self.model_dir / "special_tokens_map.json")
You have opened special token file, used it, but then forgot to close the file.
when Python closes it for you when it notices that the file object is dead, but this only occurs after some unknown time has elapsed. Thus in recent versions, Python also prints a ResourceWarning when it does that.
The text was updated successfully, but these errors were encountered:
tokens_map = json.load(open(str(self.model_dir / "special_tokens_map.json")
You have opened special token file, used it, but then forgot to close the file.
when Python closes it for you when it notices that the file object is dead, but this only occurs after some unknown time has elapsed. Thus in recent versions, Python also prints a ResourceWarning when it does that.
The text was updated successfully, but these errors were encountered: