Option to load private models from Higgingface
Bhanu-py opened this issue · comments
Describe the bug
Cannot load the private models from the HuggingFace, No **kwargs are passed to the ST() in the class TextEmbedding(AdapterStep)
Expected behavior
'use_auth_token' = None can be passed in the init() and ST()
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
- PostgreSQL: [e.g. 14.1]
- vecs version: e.g. 0.2.6
Additional context
Did add manually, But it was problem when I deploy my application in the cloud when it installs.
Would you be interested in opening a PR adding these to the TextEmbedding adapter?
Sure, I'd be happy to open a PR to add the 'use_auth_token' option to the TextEmbedding adapter. I'll start working on it and will submit the PR once it's ready.