Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Fix unexpected keyword argument 'trust_remote_code' in embedding#1121

Merged
hshen14 merged 1 commit intomainfrom
yuwenzho/fix_embedding
Jan 9, 2024
Merged

Fix unexpected keyword argument 'trust_remote_code' in embedding#1121
hshen14 merged 1 commit intomainfrom
yuwenzho/fix_embedding

Conversation

@yuwenzho
Copy link
Contributor

@yuwenzho yuwenzho commented Jan 9, 2024

Type of Change

bug fix
API changed or not: no

Description

Fix bug of 'TypeError: _load_auto_model() got an unexpected keyword argument 'trust_remote_code'' caused by SentenceTranformer updated.

How has this PR been tested?

CI

Dependency Change?

No

Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
@yuwenzho yuwenzho added the bug Something isn't working label Jan 9, 2024
@hshen14 hshen14 merged commit 867b497 into main Jan 9, 2024
@hshen14 hshen14 deleted the yuwenzho/fix_embedding branch January 9, 2024 07:34
lkk12014402 added a commit that referenced this pull request Jan 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants