Instructions to use NousResearch/Minos-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NousResearch/Minos-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NousResearch/Minos-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NousResearch/Minos-v1") model = AutoModelForSequenceClassification.from_pretrained("NousResearch/Minos-v1") - Inference
- Notebooks
- Google Colab
- Kaggle
add id2label and label2id to config file
#4
by PITTI - opened
frameworks can more easily leverage this info at inference so user don't have to handle the dictionary themselves
see other examples: