Sentence similarity

I’m using fast ai v0.7.2 and pytorch 0.4.1.
I haven’t had any issues with pytorch 0.4.1 and fast ai v0.7.2.
You can’t use that notebook with fast ai 1.0 yet. I’ll be fixing that shortly.

1 Like

I managed to get the library working but I’m running into another issue now. I’m using the code and model you provided but it says size mismatch for encoder weight. I’ve attached the screenshot. Should I just ignore this message and continue. Also which method do I use to compare two different sentences? Do I have to add them to entailed_a_vec and entailed_b_vec myself? Thanks