Instructions to use MENG21/stud-fac-eval-NAIVEBAYES with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MENG21/stud-fac-eval-NAIVEBAYES with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MENG21/stud-fac-eval-NAIVEBAYES")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MENG21/stud-fac-eval-NAIVEBAYES", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download NB_sentiment_model.ipynb from MENG21/stud-fac-eval-NAIVEBAYES: direct link, hf CLI and curl.
- Browser
- Download file 159 kB
-
https://huggingface.co/MENG21/stud-fac-eval-NAIVEBAYES/resolve/main/NB_sentiment_model.ipynb
- Command line
-
hf download hf://MENG21/stud-fac-eval-NAIVEBAYES/NB_sentiment_model.ipynb
-
curl -L -o NB_sentiment_model.ipynb https://huggingface.co/MENG21/stud-fac-eval-NAIVEBAYES/resolve/main/NB_sentiment_model.ipynb
159 kB