Instructions to use textattack/bert-base-uncased-ag-news with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-ag-news with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/bert-base-uncased-ag-news")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-ag-news") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-ag-news", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
fe417ad -
allow flax
3c04e83
-
Update README.md
67010bb -
Update log.txt
319bb14 -
Update special_tokens_map.json
76de2e0 -
Update pytorch_model.bin
a2b6c4f -
Update train_args.json
1fe7bc4 -
Update config.json
9813e58 -
Update tokenizer_config.json
a3eaa9b -
Update vocab.txt
8e6693e
-
Update README.md
1973297 -
Update log.txt
542a90f -
Update special_tokens_map.json
22abf79 -
Update train_args.json
483bdfd -
Update vocab.txt
00be41d -
Update config.json
4df579b -
Update tokenizer_config.json
5fd57f5 -
Update README.md
c1450aa -
Update log.txt
a0006d3 -
Update special_tokens_map.json
a2d0dde -
Update train_args.json
f633b2c -
Update config.json
68ed8c4 -
Update vocab.txt
39caca2 -
Update tokenizer_config.json
2afa7b8 -
Update README.md
6a82a4d -
Update log.txt
b5dbfd9 -
Update special_tokens_map.json
dffed23 -
Update train_args.json
bf39632 -
Update vocab.txt
9279a06 -
Update config.json
6c390c6 -
Update tokenizer_config.json
d485ef8 -
initial commit
13dc84e