Instructions to use grammarly/detexd-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use grammarly/detexd-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="grammarly/detexd-roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("grammarly/detexd-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("grammarly/detexd-roberta-base") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
bf7c409 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bc46edbace7d9cb4db911083d577bb81c3b62d4512b58dd516461be0fb3b7c9c
size 498689103
|