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/frontend/tsconfig.json from x6nux/laya-ad: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/x6nux/laya-ad/resolve/main/code/laya-server/frontend/tsconfig.json
- Command line
-
hf download hf://x6nux/laya-ad/code/laya-server/frontend/tsconfig.json
-
curl -L -o tsconfig.json https://huggingface.co/x6nux/laya-ad/resolve/main/code/laya-server/frontend/tsconfig.json
477 Bytes
| { | |
| "compilerOptions": { | |
| "target": "ES2022", | |
| "lib": ["ES2022", "DOM", "DOM.Iterable"], | |
| "module": "ESNext", | |
| "moduleResolution": "Bundler", | |
| "jsx": "react-jsx", | |
| "strict": true, | |
| "noEmit": true, | |
| "skipLibCheck": true, | |
| "forceConsistentCasingInFileNames": true, | |
| "esModuleInterop": true, | |
| "allowImportingTsExtensions": true, | |
| "baseUrl": ".", | |
| "paths": {"@/*": ["./src/*"]} | |
| }, | |
| "include": ["src", "vite.config.ts"] | |
| } | |