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
id2label in config file
#3
by PITTI - opened
I've often seen the id2label and label2id dictionaries being included to the config file, which makes it much easier to automate inference. Doing this would be super helpful for frameworks that leverage this already
Do you have a PR you can do for that?
sure, I just submitted it
PITTI changed discussion status to closed