Text Classification
Transformers
PyTorch
bert
Generated from Trainer
sibyl
Eval Results (legacy)
text-embeddings-inference
Instructions to use fabriceyhc/bert-base-uncased-amazon_polarity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fabriceyhc/bert-base-uncased-amazon_polarity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="fabriceyhc/bert-base-uncased-amazon_polarity")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("fabriceyhc/bert-base-uncased-amazon_polarity") model = AutoModelForSequenceClassification.from_pretrained("fabriceyhc/bert-base-uncased-amazon_polarity", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
8bd884c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:037b49d4da34f299f74533c074a9d31f444454ed561d8f58b689eedef37c7264
size 438024063
|