KeyBERT icon indicating copy to clipboard operation
KeyBERT copied to clipboard

KeyLLM - page_content error with bedrock model

Open devblend360 opened this issue 1 year ago • 3 comments

image For the following code I am facing error image

I have already used the method stated in (https://github.com/MaartenGr/KeyBERT/issues/199) but the issue still exist @MaartenGr

I am using bedrock with Llama2 LLM.

devblend360 avatar Feb 06 '24 12:02 devblend360

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

MaartenGr avatar Feb 06 '24 12:02 MaartenGr

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.

https://github.com/MaartenGr/KeyBERT/issues/199#issuecomment-1876436322

devblend360 avatar Feb 06 '24 12:02 devblend360

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?

MaartenGr avatar Feb 06 '24 17:02 MaartenGr