Skip to content

Conversation

@songzetao
Copy link
Contributor

No description provided.

Copy link
Contributor

@xiezipeng-ML xiezipeng-ML left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trainning的时候这行报错,需要检查一下

context_layer = context_layer.view(*new_context_layer_shape)

@xiezipeng-ML

This comment was marked as resolved.

@xiezipeng-ML

This comment was marked as resolved.

@xiezipeng-ML
Copy link
Contributor

inference部分报错:
bash infer.sh
需要检查一下

@xiezipeng-ML
Copy link
Contributor

xiezipeng-ML commented Aug 6, 2022

from oneflow.nn import CrossEntropyLoss, MSELoss

MSELoss 好像没用到

from logging import log

log也没用到


加个空行

filelock==3.7.1
huggingface_hub==0.8.1
numpy==1.21.2
oneflow==0.8.0+cu112
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个版本的装不上,可以改一下

@xiezipeng-ML
Copy link
Contributor

roberta下的tokenizer的文件直接是全部从huggingface复制的。。。
这个项目依赖tokenizer的话可以导入transformers来用,这里是直接搬过来再用了

@songzetao songzetao merged commit b276b95 into main Aug 11, 2022
@Ldpe2G Ldpe2G deleted the dev_roberta_and_update_CPT_NEW branch August 11, 2022 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants