Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

karalif
/
NB_FirstAttempt

Text Classification
Transformers
roberta
Model card Files Files and versions
xet
Community

Instructions to use karalif/NB_FirstAttempt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use karalif/NB_FirstAttempt with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="karalif/NB_FirstAttempt")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("karalif/NB_FirstAttempt")
    model = AutoModelForSequenceClassification.from_pretrained("karalif/NB_FirstAttempt")
  • Notebooks
  • Google Colab
  • Kaggle
NB_FirstAttempt
42.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
karalif's picture
karalif
Create config.json
7c83fa9 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • Book3.csv
    18.7 kB
    Upload 2 files over 2 years ago
  • NaiveBayes_3_Classes.ipynb
    21 kB
    Upload 2 files over 2 years ago
  • config.json
    927 Bytes
    Create config.json over 2 years ago