Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

lannelin
/
bert-imdb-1hidden

Text Classification
Transformers
PyTorch
JAX
Safetensors
English
bert
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use lannelin/bert-imdb-1hidden with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="lannelin/bert-imdb-1hidden")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("lannelin/bert-imdb-1hidden")
    model = AutoModelForSequenceClassification.from_pretrained("lannelin/bert-imdb-1hidden")
  • Notebooks
  • Google Colab
  • Kaggle
bert-imdb-1hidden
378 MB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 7 commits
lannelin's picture
lannelin
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
5c3e0b9 about 3 years ago
  • .gitattributes
    445 Bytes
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • README.md
    1.36 kB
    model card over 5 years ago
  • config.json
    620 Bytes
    Align label mapping with imdb dataset (#1) almost 4 years ago
  • flax_model.msgpack
    126 MB
    xet
    upload flax model about 5 years ago
  • model.safetensors
    126 MB
    xet
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • pytorch_model.bin
    126 MB
    xet
    First version of the bert-imdb-1hidden model and tokenizer. over 5 years ago
  • special_tokens_map.json
    112 Bytes
    First version of the bert-imdb-1hidden model and tokenizer. over 5 years ago
  • tokenizer_config.json
    300 Bytes
    First version of the bert-imdb-1hidden model and tokenizer. over 5 years ago
  • vocab.txt
    232 kB
    First version of the bert-imdb-1hidden model and tokenizer. over 5 years ago