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

我想让TGLS精简些,但一改就会报错 #4

Closed
3 tasks done
Ocyss opened this issue Aug 31, 2022 · 1 comment
Closed
3 tasks done

我想让TGLS精简些,但一改就会报错 #4

Ocyss opened this issue Aug 31, 2022 · 1 comment
Labels
question Further information is requested

Comments

@Ocyss
Copy link

Ocyss commented Aug 31, 2022

Describe the Question

Please provide a clear and concise description of what the question is.

Describe your attempts

  • I walked through the tutorials
  • I checked the documentation
  • I checked to make sure that this is not a duplicate question
    image
    我这个报错是因为给点数据太少了么???
@Ocyss Ocyss added the question Further information is requested label Aug 31, 2022
@shibing624
Copy link
Owner

1、是想改动TGLS源码吗?如果改源码,先卸载pip unistall textgen,用改动后的代码运行。
2、如果只是小批量数据测试,需要满足generate(doc)的doc size>100,才能生成有质量的仿写句子。 fixed with keyerror: 10e03be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants