Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Fix downloading of TOD models #4647

Merged
merged 1 commit into from Jul 8, 2022
Merged

Fix downloading of TOD models #4647

merged 1 commit into from Jul 8, 2022

Conversation

moyapchen
Copy link
Contributor

Fixing #4627 Definitions inside the models were using the Bart R3F versions which we never actually open sourced. Regular old BART is pretty much the same though.

Test Plan:
On a completely fresh git clone of ParlAI only, run

parlai dm -mf zoo:tod/tod_base_no_api/model --skip-generation false  --task  google_sgd_simulation_splits:OutDomainSystemTeacher -dt valid

image

and

parlai dm -mf zoo:tod/tod_base_yes_api/model --skip-generation false  --task  google_sgd_simulation_splits:OutDomainSystemTeacher -dt valid --api-schemas true

image

Validate models load properly and don't crash on the parlai_fb thing

Definitions inside the models were usin the Bart R3F versions which we never actually open sourced. Regular old BART is pretty much the same though.

Test Plan:
On a completely fresh git clone of ParlAI only, run
```
parlai dm -mf zoo:tod/tod_base_no_api/model --skip-generation false  --task  google_sgd_simulation_splits:OutDomainSystemTeacher -dt valid
```

and

```
parlai dm -mf zoo:tod/tod_base_yes_api/model --skip-generation false  --task  google_sgd_simulation_splits:OutDomainSystemTeacher -dt valid --api-schemas true
```

Validate models load properly and don't have the `parlai_fb` thing
@moyapchen moyapchen merged commit 03ca319 into main Jul 8, 2022
@moyapchen moyapchen deleted the mpchen/fix_tod_models branch July 8, 2022 14:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants