Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: NvidiaRanker() doesn't recognize model="nvidia/llama-3.2-nv-rerankqa-1b-v2" #1259

Open
TheMimikyu opened this issue Dec 23, 2024 · 0 comments · May be fixed by #1260
Open

bug: NvidiaRanker() doesn't recognize model="nvidia/llama-3.2-nv-rerankqa-1b-v2" #1259

TheMimikyu opened this issue Dec 23, 2024 · 0 comments · May be fixed by #1260
Labels
bug Something isn't working

Comments

@TheMimikyu
Copy link

Describe the bug
Originally Described Here

When attempting to access the NvidiaRanker() model with model="nvidia/llama-3.2-nv-rerankqa-1b-v2", it returns ValueError: Model 'nvidia/llama-3.2-nv-rerankqa-1b-v2' is unknown. Please provide an api_url to access it. despite it existing in the Nvidia catalog.
Code:

alternative_ranker = NvidiaRanker(
    model="nvidia/llama-3.2-nv-rerankqa-1b-v2",
    api_key=Secret.from_env_var("NVIDIA_API_KEY")
)

Models nv-rerankqa-mistral-4b-v3 and llama-3.2-nv-rerankqa-1b-v1 are working as expected.

To Reproduce
Colab notebook for recreation.

Describe your environment (please complete the following information):

  • OS: WSL Ubuntu 24.04.1 LTS on Windows 10 x86_64
  • Haystack version: haystack==0.42
  • Integration version: nvidia-haystack==0.1.2
@TheMimikyu TheMimikyu added the bug Something isn't working label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant