Instructions to use desklib/ai-text-detector-v1.01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use desklib/ai-text-detector-v1.01 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="desklib/ai-text-detector-v1.01")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("desklib/ai-text-detector-v1.01") model = AutoModel.from_pretrained("desklib/ai-text-detector-v1.01") - Inference
- Notebooks
- Google Colab
- Kaggle
What is the minimum number of tokens required to check whether the text is AI or not?
#3
by Prathap8493 - opened
There is no limit on minimum no of tokens but less no of tokens leads to low accuracy and unreliable results. Recommend 4 sentences or more for accurate results.
desklib changed discussion status to closed