Instructions to use galkinv42/censor-model-v4.1-synth-user2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use galkinv42/censor-model-v4.1-synth-user2-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="galkinv42/censor-model-v4.1-synth-user2-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("galkinv42/censor-model-v4.1-synth-user2-base") model = AutoModelForSequenceClassification.from_pretrained("galkinv42/censor-model-v4.1-synth-user2-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from galkinv42/censor-model-v4.1-synth-user2-base: direct link, hf CLI and curl.
- Browser
- Download file 4.75 MB
-
https://huggingface.co/galkinv42/censor-model-v4.1-synth-user2-base/resolve/main/tokenizer.json
- Command line
-
hf download hf://galkinv42/censor-model-v4.1-synth-user2-base/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/galkinv42/censor-model-v4.1-synth-user2-base/resolve/main/tokenizer.json
4.75 MB
File too large to display, you can check the raw version instead.