-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
an error occurs while training tdl #2
Comments
I find that the logging.py is empty. I don't know why it occurs but it works when I used |
Thanks for catching this. |
The files under all the folders of transformers are empty (i.e. |
Sorry for the confusion. It might be my network problem, and I did not check it after pushing. I have updated the |
Thank you very much! Here's another problem: So what caused this problem? |
Sorry for the late reply. Did you use the uploaded |
I did use the uploaded transformers. I tried to debug it now. Thank you very much for your help!
I did use the uploaded transformers. I tried to debug it now. Thank you very much for your help! |
I found that this is because the type of the first parameter passed to the function |
I used Python3.6 if I remember. Sorry for the confusion. The code may need some debugging to make it work, but I do not expect it has so many problems. You are welcome to post new problems, and I am happy to give useful input as much as I can. |
(eqg) D:\Project\Educational-Question-Generation\tdl>python train.py
Traceback (most recent call last):
File "train.py", line 15, in
from transformers import BertTokenizerFast as BertTokenizer, BertModel, AdamW, get_linear_schedule_with_warmup
File "D:\Anaconda3\envs\eqg\lib\site-packages\transformers_init_.py", line 21, in
from .configuration_albert import ALBERT_PRETRAINED_CONFIG_ARCHIVE_MAP, AlbertConfig
File "D:\Anaconda3\envs\eqg\lib\site-packages\transformers\configuration_albert.py", line 18, in
from .configuration_utils import PretrainedConfig
File "D:\Anaconda3\envs\eqg\lib\site-packages\transformers\configuration_utils.py", line 24, in
from .file_utils import CONFIG_NAME, cached_path, hf_bucket_url, is_remote_url
File "D:\Anaconda3\envs\eqg\lib\site-packages\transformers\file_utils.py", line 35, in
logger = logging.get_logger(name) # pylint: disable=invalid-name
AttributeError: module 'transformers.utils.logging' has no attribute 'get_logger'
The text was updated successfully, but these errors were encountered: