Instructions to use rafacost/bert_base_pt_en_cased_email_spam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rafacost/bert_base_pt_en_cased_email_spam with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rafacost/bert_base_pt_en_cased_email_spam")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rafacost/bert_base_pt_en_cased_email_spam") model = AutoModelForSequenceClassification.from_pretrained("rafacost/bert_base_pt_en_cased_email_spam") - Notebooks
- Google Colab
- Kaggle
Gated model You can list files but not access them
Preview of files found in this repository