Instructions to use fakespot-ai/roberta-base-ai-text-detection-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fakespot-ai/roberta-base-ai-text-detection-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="fakespot-ai/roberta-base-ai-text-detection-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("fakespot-ai/roberta-base-ai-text-detection-v1") model = AutoModelForSequenceClassification.from_pretrained("fakespot-ai/roberta-base-ai-text-detection-v1", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
f9cdb14 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:22a1d8262404d459ac805c652c9b1c7b4f04481defe45a801fc449884f996ef3
size 5240
|