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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

SmartestBoy
/
mallam-ai-detector

Text Classification
PEFT
Safetensors
Transformers
mistral
lora
unsloth
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use SmartestBoy/mallam-ai-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use SmartestBoy/mallam-ai-detector with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("mesolitica/mallam-1.1B-4096")
    model = PeftModel.from_pretrained(base_model, "SmartestBoy/mallam-ai-detector")
  • Transformers

    How to use SmartestBoy/mallam-ai-detector with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="SmartestBoy/mallam-ai-detector")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("SmartestBoy/mallam-ai-detector")
    model = AutoModelForSequenceClassification.from_pretrained("SmartestBoy/mallam-ai-detector")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use SmartestBoy/mallam-ai-detector with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for SmartestBoy/mallam-ai-detector to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for SmartestBoy/mallam-ai-detector to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for SmartestBoy/mallam-ai-detector to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="SmartestBoy/mallam-ai-detector",
        max_seq_length=2048,
    )
mallam-ai-detector
2.18 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
SmartestBoy's picture
SmartestBoy
Upload folder using huggingface_hub
a2f010a verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    5.19 kB
    Upload folder using huggingface_hub 5 months ago
  • adapter_config.json
    1.48 kB
    Upload folder using huggingface_hub 5 months ago
  • adapter_model.safetensors
    51.2 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • config.json
    851 Bytes
    Upload folder using huggingface_hub 5 months ago
  • model.safetensors
    2.12 GB
    xet
    Upload folder using huggingface_hub 5 months ago
  • optimizer.pt
    6.81 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub 5 months ago
  • scheduler.pt

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    1.47 kB
    xet
    Upload folder using huggingface_hub 5 months ago
  • special_tokens_map.json
    638 Bytes
    Upload folder using huggingface_hub 5 months ago
  • tokenizer.json
    2.26 MB
    Upload folder using huggingface_hub 5 months ago
  • tokenizer_config.json
    1.15 kB
    Upload folder using huggingface_hub 5 months ago
  • trainer_state.json
    4.61 kB
    Upload folder using huggingface_hub 5 months ago
  • training_args.bin
    5.91 kB
    xet
    Upload folder using huggingface_hub 5 months ago