Closed jpjanet closed 3 years ago
Hi,
I should have better placed the warning ("This extension has only been tested with simpletransformers==0.34.4 and transformers==2.11.0"
).
Can you try if simpletransformers==0.34.4
and transformers==2.11.0
works for you?
Hugginface is updating too fast, it is hard to keep up :). The next rxnfp
version will support transformers >=4.0.0
but there were some breaking changes so I had to restrict it to <4
.
Thanks, works now!
Hi,
I am trying to get this repo working but I can't get the dependencies quite right. I took the following actions:
pip install -e . to install rxnfp
At this stage, I am able to run the little example:
correctly and obtain the expected output. Next, I tried to run some of the nice example notebooks, but I run into an unmet requirement for simpleransformers, e.g.
from rxnfp.models import SmilesClassificationModel
results in
I tried to install simpletransformers (from this repo) with
pip install simpletransformers
which reveals the inconsistent dependency:
The latest version of simpletransformers explicitly requires transformers >= 4.0.0 . I tried ignoring the requirement and forcing transformers back to 3.5.1 but I got more errors. I also tried with transformers 4.0.0 but I got errors about trying to call .squeeze() on string variables.
Is there a specific version of simpletransformers I should use?
I am running centos 7.
Thanks for any advice!