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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lannelin/bert-imdb-1hidden") model = AutoModelForSequenceClassification.from_pretrained("lannelin/bert-imdb-1hidden", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (de4139744007c88a847994c9fd5788fa92917bb5) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>5c3e0b9
-
Align label mapping with imdb dataset (#1)
- Align label mapping with imdb dataset (49efae7da386920e4b82bf20956650a18015bd24) Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>7808be7
-
upload flax model
ab77be8 -
allow flax
179cbfe
-
model card
James Bishop7225122 -
First version of the bert-imdb-1hidden model and tokenizer.
James Bishopf843c71 -
initial commit
ac1681e