Instructions to use Sarthak279/Movie-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sarthak279/Movie-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sarthak279/Movie-Classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sarthak279/Movie-Classification") model = AutoModelForSequenceClassification.from_pretrained("Sarthak279/Movie-Classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 455 Bytes
5990006 740c7fa 5de25cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | Enter the story it will predict maximum probability of type of movie Types: Drama -0 , Action -1 , Comedy -2 , Adventure -3 , Thriller -4 , Crime -5 , Romance -6 , Sci-Fi -7 , Horror -8 , Mystery -9 , Fantasy -10 , Biography -11 , Family -12 , Animation -13 , History -14 , Sport -15 , Music -16 , War -17 , Western -18 , Musical -19 |