Run this model with HF Jobs
Run Data-Lab/moderation_layer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Data-Lab/moderation_layer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Data-Lab/moderation_layer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Data-Lab/moderation_layer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Data-Lab/moderation_layer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Data-Lab/moderation_layer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Data-Lab/moderation_layer") model = AutoModelForSequenceClassification.from_pretrained("Data-Lab/moderation_layer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download moderation_layer-encoder.npy from Data-Lab/moderation_layer: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/Data-Lab/moderation_layer/resolve/main/moderation_layer-encoder.npy
- Command line
-
hf download hf://Data-Lab/moderation_layer/moderation_layer-encoder.npy
-
curl -L -o moderation_layer-encoder.npy https://huggingface.co/Data-Lab/moderation_layer/resolve/main/moderation_layer-encoder.npy
327 Bytes
- Xet hash:
- 10d19af048cc838559bbd23750c113c259de5b4333026b6dfb0df2b77aa0b220
- Size of remote file:
- 327 Bytes
- SHA256:
- 3ea4ed9346dfe944eedf11ff76556ebe986a4ce15ede0803cb10d70f866329a5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.