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
|
Download README.md from Sarthak279/Movie-Classification: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/Sarthak279/Movie-Classification/resolve/main/README.md
- Command line
-
hf download hf://Sarthak279/Movie-Classification/README.md
-
curl -L -o README.md https://huggingface.co/Sarthak279/Movie-Classification/resolve/main/README.md
455 Bytes
| 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 |