Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

rasbt
/
ai-text-detector-gpt2-variable

Text Classification
Transformers
Safetensors
English
gpt2
ai-text-detection
binary-classification
variable-position-readout
Model card Files Files and versions
xet
Community

Instructions to use rasbt/ai-text-detector-gpt2-variable with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use rasbt/ai-text-detector-gpt2-variable with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="rasbt/ai-text-detector-gpt2-variable")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("rasbt/ai-text-detector-gpt2-variable")
    model = AutoModelForSequenceClassification.from_pretrained("rasbt/ai-text-detector-gpt2-variable", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ai-text-detector-gpt2-variable
253 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
rasbt's picture
rasbt
Add files using upload-large-folder tool
946a240 verified 1 day ago
  • figures
    Add files using upload-large-folder tool 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • LICENSE
    11.4 kB
    Add files using upload-large-folder tool 1 day ago
  • README.md
    3.89 kB
    Add files using upload-large-folder tool 1 day ago
  • config.json
    1.13 kB
    Add files using upload-large-folder tool 1 day ago
  • detector-config.json
    961 Bytes
    Add files using upload-large-folder tool 1 day ago
  • model.safetensors
    249 MB
    xet
    Add files using upload-large-folder tool 1 day ago
  • tokenizer.json
    3.56 MB
    Add files using upload-large-folder tool 1 day ago
  • tokenizer_config.json
    320 Bytes
    Add files using upload-large-folder tool 1 day ago