Instructions to use routellm/bert_gpt4_augmented with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use routellm/bert_gpt4_augmented with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="routellm/bert_gpt4_augmented")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("routellm/bert_gpt4_augmented") model = AutoModelForSequenceClassification.from_pretrained("routellm/bert_gpt4_augmented") - Notebooks
- Google Colab
- Kaggle
Add human readable labels and Sentence Transformer configs
#1
by peakji - opened
This allows the model to output meaningful labels in inference services like text-embeddings-inference.
peakji changed pull request title from Add human readable labels to Add human readable labels and Sentence Transformer configs