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

  • Log In
  • Sign Up

philipobiorah
/
bert-imdb-model

Text Classification
Transformers
PyTorch
Safetensors
English
bert
code
sentiment-analysis
imdb
nlp
Model card Files Files and versions
xet
Community
1

Instructions to use philipobiorah/bert-imdb-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use philipobiorah/bert-imdb-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="philipobiorah/bert-imdb-model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("philipobiorah/bert-imdb-model")
    model = AutoModelForSequenceClassification.from_pretrained("philipobiorah/bert-imdb-model")
  • Notebooks
  • Google Colab
  • Kaggle
bert-imdb-model
876 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 19 commits
philipobiorah's picture
philipobiorah
added pipeline usage example
df065e5 verified 7 days ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    3.36 kB
    added pipeline usage example 7 days ago
  • config.json
    655 Bytes
    Update config.json over 1 year ago
  • model.safetensors
    438 MB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • pytorch_model.bin
    438 MB
    xet
    Rename bert_imdb_model.bin to pytorch_model.bin over 1 year ago
  • special_tokens_map.json
    125 Bytes
    Create special_tokens_map.json over 1 year ago
  • tokenizer_config.json
    214 Bytes
    Create tokenizer_config.json over 1 year ago