Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
refactor(encoder): replace gpt and elmo with transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Aug 26, 2019
1 parent fe35193 commit 928574c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnes/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def register_all_class(cls2file_map: Dict, module_name: str):
getattr(importlib.import_module('gnes.%s.%s' % (module_name, v)), k)
except ImportError as ex:
default_logger = set_logger('GNES')
default_logger.warning('fail to register %s, due to %s' % (k, ex))
default_logger.warning('fail to register %s, due to "%s", you will not be able to use this model' % (k, ex))
load_contrib_module()


Expand Down

0 comments on commit 928574c

Please sign in to comment.