Instructions to use thebajajra/RexReranker-0.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thebajajra/RexReranker-0.6B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("thebajajra/RexReranker-0.6B") model = AutoModelForCausalLM.from_pretrained("thebajajra/RexReranker-0.6B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fine-tuning RexReranker-0.6B for Domain-Specific Use
Hello,
First of all, I’d like to express my appreciation for the work you’ve done on RexReranker-0.6B. It’s a very impressive model — the ranking quality, consistency, and generalization across queries are genuinely strong. In my experiments, it performs noticeably better than many alternatives, especially in nuanced matching scenarios.
I’m currently working on adapting the model for a specific e-commerce domain (product search and matching), and I’d love to better understand the recommended approach for fine-tuning it effectively.
In particular, I’m interested in:
Whether there are best practices for domain adaptation (e.g., instruction format, prompt structure, or preferred training objectives).
If the model was originally trained with pairwise, listwise, or hybrid ranking losses.
Any guidance on LoRA/PEFT-based fine-tuning versus full fine-tuning for maintaining stability.
Whether there are known pitfalls when training on relatively small but high-quality datasets.
Recommendations for handling strict constraints (e.g., units, compatibility, product attributes) during training.
If you have any documentation, examples, or internal guidelines you can share, that would be extremely helpful. Even high-level recommendations would go a long way.
Thanks again for building such a strong model — it’s been a pleasure working with it.
Thanks for the kind words.
Which type of model are you trying to adapt- Reranker or an LLM for generation
Reranker