Instructions to use derrickzhu/EllieSQL_Router_Checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use derrickzhu/EllieSQL_Router_Checkpoints with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="derrickzhu/EllieSQL_Router_Checkpoints")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("derrickzhu/EllieSQL_Router_Checkpoints", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Improve model card: Add pipeline tag, library name, GitHub link, and usage example
#1
by nielsr HF Staff - opened
This PR enhances the model card for the EllieSQL router checkpoints.
Key improvements:
- Adds
pipeline_tag: text-classificationfor better discoverability, accurately reflecting the router model's function in classifying query complexity. - Adds
library_name: transformersto indicate compatibility with the π€ Transformers library. - Integrates a direct link to the GitHub repository for easy access to the source code.
- Includes a detailed Python code example demonstrating how to load and use one of the router models as a PEFT adapter for complexity classification.
Sorry for the late response, and thanks a lot for this PR!
derrickzhu changed pull request status to merged