Instructions to use Vishwas1/bert-base-imdb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vishwas1/bert-base-imdb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Vishwas1/bert-base-imdb")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Vishwas1/bert-base-imdb") model = AutoModelForSequenceClassification.from_pretrained("Vishwas1/bert-base-imdb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
f289cdb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:def19f40e5b5aa8f76f1cda13caf8a2af2d285b453b48b7d8ac1f5128770a918
size 5176
|