Closed adrianeboyd closed 1 year ago
@richardpaulhudson Can you look into what's going on with the CI here?
Something seems to have changed with the images offered by GitHub in the two days since I tested this in my own repo, because the same error now occurs there. It may be that the value of ubuntu-latest
has changed. I'll put together another PR to fix this.
I think the test needs to be formatted one last time, but then I think this looks fine.
If the vectors model is the current pipeline, the model data hasn't necessarily been loaded on init, so you can't check the vectors shape or run the vectors pipeline at this point.
A better check (at a later point) would be for
vectors_nlp.vocab.vectors.shape[1]
to get the vector length.The tests need a roundtrip
to_disk
/from_disk
for a non-trf
model to cover this case.