Update pipeline tag to `text-ranking` and fix quickstart code
This PR updates the model card to improve its accuracy and usability:
Metadata Update: The
pipeline_tag
has been changed fromtext-generation
totext-ranking
. This more precisely reflects the model's primary function as a judge model designed for evaluating and comparing (ranking) responses from other language models. This update will enhance the model's discoverability on the Hugging Face Hub, allowing users to easily find it when filtering fortext-ranking
capabilities (e.g., viahttps://huggingface.co/models?pipeline_tag=text-ranking
).Quickstart Code Fix: A minor bug in the Python quickstart example has been resolved. The variables
model_name
were replaced withmodel_path
in theAutoModelForCausalLM.from_pretrained
andAutoTokenizer.from_pretrained
calls. This ensures the sample code is directly runnable and correctly loads the model, preventing aNameError
for users trying to replicate the example.
These changes contribute to a more accurate and user-friendly model card.