Open davidsu-citylitics opened 1 year ago
Hey, This error can be pretty easily fixed:
Just specify the kwargs
in the function:
So, basically call the function like this:
tm = TransformerModel(model_id=hf_model_id, task_type="text_embedding")
I'll make a PR to this repo for solving this issue.
Getting this error on model instantiation