LocalAI/.github/workflows
Ettore Di Giacinto 92cbc4d516
feat(transformers): add embeddings with Automodel (#1308)
* Update huggingface.py

Switch SentenceTransformer for AutoModel in order to set trust_remote_code needed to use the encode method with embeddings models like jinai-v2

Signed-off-by: Lucas Hänke de Cansino <lhc@next-boss.eu>

* feat(transformers): split in separate backend

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Lucas Hänke de Cansino <lhc@next-boss.eu>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: Lucas Hänke de Cansino <lhc@next-boss.eu>
2023-11-20 21:21:17 +01:00
..
disabled feat(conda): conda environments (#1144) 2023-11-04 15:30:32 +01:00
bump_deps.yaml chore(deps): update actions/checkout action to v4 (#1006) 2023-10-21 08:55:44 +02:00
image.yml feat(conda): conda environments (#1144) 2023-11-04 15:30:32 +01:00
release.yaml chore(deps): update actions/checkout action to v4 (#1006) 2023-10-21 08:55:44 +02:00
test.yml feat(transformers): add embeddings with Automodel (#1308) 2023-11-20 21:21:17 +01:00