Skip to content
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

请问一下训练数据的格式示例有吗 #2

Open
s19293949 opened this issue Jul 17, 2024 · 6 comments
Open

请问一下训练数据的格式示例有吗 #2

s19293949 opened this issue Jul 17, 2024 · 6 comments

Comments

@s19293949
Copy link

请问一下训练数据的格式示例有吗

@zhangzhixun1999
Copy link

看起来训练数据是一个句子列表的形式,我感觉应该是这样的:
["看 天 很 蓝“,
”你 今天 吃饭 没“
]

@s19293949
Copy link
Author

看起来训练数据是一个句子列表的形式,我感觉应该是这样的: ["看 天 很 蓝“, ”你 今天 吃饭 没“ ]
那也只是 input 吧,不知道 label 是什么样的形式

@zhangzhixun1999
Copy link

嗷嗷,我说的是ngram

@s19293949
Copy link
Author

嗷嗷,我说的是ngram
嗯嗯,ngram 看样子就是把这样的列表传进去就可以

@zhangzhixun1999
Copy link

zhangzhixun1999 commented Jul 31, 2024

我看了,他的意思应该是和正常bert训练的格式一样就行,因为他是用bert预测掩码的概率来计算的通顺度,
txt就可以

@s19293949
Copy link
Author

我看了,他的意思应该是和正常bert训练的格式一样就行,因为他是用bert预测掩码的概率来计算的通顺度, txt就可以

哦哦,原来如此,谢谢啦

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

No branches or pull requests

2 participants