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
Download code/laya-server/backend/.pytest_cache/v/cache/nodeids from x6nux/laya-ad: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/x6nux/laya-ad/resolve/main/code/laya-server/backend/.pytest_cache/v/cache/nodeids
- Command line
-
hf download hf://x6nux/laya-ad/code/laya-server/backend/.pytest_cache/v/cache/nodeids
-
curl -L -o nodeids https://huggingface.co/x6nux/laya-ad/resolve/main/code/laya-server/backend/.pytest_cache/v/cache/nodeids
1.07 kB
| [ | |
| "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" | |
| ] |