MaartenGr / KeyBERT

Minimal keyword extraction with BERT

Home Page:https://MaartenGr.github.io/KeyBERT/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyLLM - page_content error with bedrock model

devblend360 opened this issue · comments

image
For the following code I am facing error
image

I have already used the method stated in (#199)
but the issue still exist @MaartenGr

I am using bedrock with Llama2 LLM.

Which exact method do you refer to? Have you tried installing KeyBERT from its main branch?

Yes ,
I have used the following method.

I pushed the changes to the main branch, so if you install it from the latest commit or the main branch, you should get the fix. Install it like so:

pip install git+https://github.com/MaartenGr/KeyBERT.git@master
and it should work. You will indeed still get 0.8.3 but that does not matter since I did not yet create an official update. I want to wait first until I get confirmation that this fix works.

In other words, use the above installation to try out the fix.

#199 (comment)

Could you share the code (in text) for me to try out? I cannot seem to reproduce your issue when installing from the main branch. Also, could you share all package versions in your environment as well as the python version?