Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

x6nux
/
laya-ad

Text Classification
Transformers
Safetensors
Chinese
spam-detection
advertising-detection
ad-classification
chinese
modernbert
mmbert
multi-task
four-head
Model card Files Files and versions
xet
Community

Instructions to use x6nux/laya-ad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use x6nux/laya-ad with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="x6nux/laya-ad")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("x6nux/laya-ad", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
laya-ad / code
2.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
x6nux's picture
x6nux
README: 路由说明改为四头口径(scope/severity 头)
c4a7829 verified 8 days ago
  • .github
    laya-ad v1.1:六精度权重 + 模型卡 + 项目代码快照 9 days ago
  • configs
    laya-ad v1.1:六精度权重 + 模型卡 + 项目代码快照 9 days ago
  • laya-server
    README: 路由说明改为四头口径(scope/severity 头) 8 days ago
  • scripts
    laya-ad v2.2: six precision dirs 8 days ago
  • .gitattributes
    151 Bytes
    laya-ad v1.1:六精度权重 + 模型卡 + 项目代码快照 9 days ago
  • .gitignore
    861 Bytes
    laya-ad v1.1:六精度权重 + 模型卡 + 项目代码快照 9 days ago
  • README.md
    2.6 kB
    laya-ad v2.2: six precision dirs 8 days ago
  • requirements.txt
    496 Bytes
    laya-ad v1.1:六精度权重 + 模型卡 + 项目代码快照 9 days ago