Instructions to use ZiweiG/ziwei-bert-imdb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZiweiG/ziwei-bert-imdb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ZiweiG/ziwei-bert-imdb")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ZiweiG/ziwei-bert-imdb") model = AutoModelForSequenceClassification.from_pretrained("ZiweiG/ziwei-bert-imdb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
6fb1e43 -
allow flax
990c304
-
Update special_tokens_map.json
129525b -
Update tokenizer_config.json
1694089 -
Update training_args.bin
13c6583 -
Update pytorch_model.bin
8b5eb1d -
Update vocab.txt
f57201b -
Update config.json
310f227 -
initial commit
9d618e5