Instructions to use AliArshad/SeverityPredictor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AliArshad/SeverityPredictor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AliArshad/SeverityPredictor")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AliArshad/SeverityPredictor") model = AutoModelForSequenceClassification.from_pretrained("AliArshad/SeverityPredictor") - Notebooks
- Google Colab
- Kaggle
Deployed a model, but not getting the output
#1
by AliArshad - opened
I have deployed a fine-tuned XLNet model, but it's not providing me output. It say "The model xlnet is one of the few models that has no sequence length limit." when I try to compute the results. The mode and configuration file is available here: https://huggingface.co/AliArshad/SeverityPredictor/tree/main.
