KeyLLM - page_content error with bedrock model
For the following code I am facing error
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.
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.
https://github.com/MaartenGr/KeyBERT/issues/199#issuecomment-1876436322
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?