Text Classification
Transformers
Safetensors
Chinese
spam-detection
advertising-detection
ad-classification
chinese
modernbert
mmbert
multi-task
four-head
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
File size: 1,070 Bytes
0cd599e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | [
"tests/test_ad_classifier.py::test_laya_alias_accepted",
"tests/test_ad_classifier.py::test_marker_format_invariance",
"tests/test_ad_classifier.py::test_marker_forms_do_not_change_verdict",
"tests/test_ad_classifier.py::test_models_list",
"tests/test_ad_classifier.py::test_multi_precision_root",
"tests/test_ad_classifier.py::test_plain_brackets_untouched",
"tests/test_ad_classifier.py::test_rejects_unbundled_models",
"tests/test_ad_classifier.py::test_state_string_and_variants",
"tests/test_ad_classifier.py::test_systemone_answers",
"tests/test_usage_writer.py::test_batches_coalesce_key_updates_and_reuse_connection",
"tests/test_usage_writer.py::test_blocked_storage_bounds_queue_and_shutdown",
"tests/test_usage_writer.py::test_connection_failure_does_not_kill_worker",
"tests/test_usage_writer.py::test_failed_transaction_rolls_back_and_later_batch_recovers",
"tests/test_usage_writer.py::test_partial_batch_flushes_without_shutdown",
"tests/test_usage_writer.py::test_writer_can_restart_after_clean_shutdown"
] |