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_taghas been changed fromtext-generationtotext-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-rankingcapabilities (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_namewere replaced withmodel_pathin theAutoModelForCausalLM.from_pretrainedandAutoTokenizer.from_pretrainedcalls. This ensures the sample code is directly runnable and correctly loads the model, preventing aNameErrorfor users trying to replicate the example.
These changes contribute to a more accurate and user-friendly model card.