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

batmac
/
gradient-ai-text-detector-4bit

Text Classification
Transformers
Safetensors
English
deberta-v2
ai-generated-text-detection
4-bit precision
bitsandbytes
nf4
quantization
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use batmac/gradient-ai-text-detector-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use batmac/gradient-ai-text-detector-4bit with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="batmac/gradient-ai-text-detector-4bit")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("batmac/gradient-ai-text-detector-4bit")
    model = AutoModelForSequenceClassification.from_pretrained("batmac/gradient-ai-text-detector-4bit", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
gradient-ai-text-detector-4bit
710 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
batmac's picture
batmac
Keep classifier head in fp32 so the checkpoint loads on Linux CPU
c0f8664 verified 18 days ago
  • scripts
    Keep classifier head in fp32 so the checkpoint loads on Linux CPU 18 days ago
  • .gitattributes
    178 Bytes
    Add 4-bit NF4 quantization of ShantanuT01/gradient-ai-text-detector 18 days ago
  • README.md
    4.93 kB
    Keep classifier head in fp32 so the checkpoint loads on Linux CPU 18 days ago
  • added_tokens.json
    23 Bytes
    Add 4-bit NF4 quantization of ShantanuT01/gradient-ai-text-detector 18 days ago
  • config.json
    1.51 kB
    Keep classifier head in fp32 so the checkpoint loads on Linux CPU 18 days ago
  • model.safetensors
    699 MB
    xet
    Keep classifier head in fp32 so the checkpoint loads on Linux CPU 18 days ago
  • special_tokens_map.json
    286 Bytes
    Add 4-bit NF4 quantization of ShantanuT01/gradient-ai-text-detector 18 days ago
  • spm.model
    2.46 MB
    xet
    Add 4-bit NF4 quantization of ShantanuT01/gradient-ai-text-detector 18 days ago
  • tokenizer.json
    8.34 MB
    Add 4-bit NF4 quantization of ShantanuT01/gradient-ai-text-detector 18 days ago
  • tokenizer_config.json
    724 Bytes
    Add 4-bit NF4 quantization of ShantanuT01/gradient-ai-text-detector 18 days ago