castorini / rank_llm

Repository for prompt-decoding using LLMs (GPT3.5, GPT4, Vicuna, and Zephyr)
http://rankllm.ai
Apache License 2.0
277 stars 36 forks source link

about run_rank_llm.py #28

Closed wsa-dhu closed 5 months ago

wsa-dhu commented 7 months ago

Why does the error "Unable to find javac" when I run the code?

ronakice commented 6 months ago

Can you provide more details?

This is perhaps something to do with the anserini/pyserini side of things for retrieval. I suggest moving the same issue over there if you are still facing it.

ronakice commented 5 months ago

@wsa-dhu can you confirm this is still an issue? Else I'll resolve it

susnato commented 5 months ago

Hi @wsa-dhu,

I was facing the same issue and it is caused because you might not have the java compiler installed in your environment.

If you are on Ubuntu then running this might fix the error -

sudo apt install default-jdk