Token Classification
Transformers
ONNX
Safetensors
distilbert
logging
text-cleaning
korean
japanese
chinese
slopdam
Instructions to use slopdam/chatter-tagger with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use slopdam/chatter-tagger with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="slopdam/chatter-tagger")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("slopdam/chatter-tagger") model = AutoModelForTokenClassification.from_pretrained("slopdam/chatter-tagger", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from slopdam/chatter-tagger: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/slopdam/chatter-tagger/resolve/main/config.json
- Command line
-
hf download hf://slopdam/chatter-tagger/config.json
-
curl -L -o config.json https://huggingface.co/slopdam/chatter-tagger/resolve/main/config.json
756 Bytes
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForTokenClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bos_token_id": null, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_dim": 3072, | |
| "id2label": { | |
| "0": "KEEP", | |
| "1": "DELETE", | |
| "2": "UPPER" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "KEEP": 0, | |
| "DELETE": 1, | |
| "UPPER": 2 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.24.1", | |
| "vocab_size": 119547 | |
| } | |