-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
fix ted training e2e entities when none are given #8194
Conversation
@joejuzl could you please help me with the test? Testing that |
There is a fixture called |
how can I use it? 🙈 |
oh, I need e2e_bot without e2e entities |
What is it you exactly want to test? A TED with entity extraction turned on but no entities in the training data? |
yes the problem is that entity extraction is turned on by default, we need to turn it off if there are no e2e entities, currently it turns off only if there is no e2e stories or no entities defined in the domain file. This fix turns it off if there is e2e user text in the stories but no e2e entities. I'd like to add a test for this to make sure we don't accidentally remove this fix in the future |
@joejuzl any ideas how to test it? |
hmm are there no tests that train TED on e2e data? |
that's what I was asking 🙈 |
Ok well, there are tests in Then there is However I would have assumed when the actual changes were made to TED to make it work with e2e that tests would have been created i.e. in |
|
Could you not use a fixture like |
I'll try. how can I use the fixture? I don't know what fixture is 🙈 |
Surely you've used fixtures before? A fixture is any method that has the decorator Search for |
@joejuzl I just took a look and I think implementing e2e ted tests within |
Yup agreed - adding e2e tests for ted is out of scope for this PR. |
created the issue for e2e TED tests: #8273 |
Proposed changes:
Status (please check what you already did):
black
(please check Readme for instructions)