Text Classification
Transformers
ONNX
Safetensors
modernbert
feature-extraction
profanity
abuse-detection
hate-speech
content-moderation
indic
multilingual
code-mixed
romanized
text-embeddings-inference
Instructions to use CobuildX-AI/cbx-indim-profanity-detector-32M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CobuildX-AI/cbx-indim-profanity-detector-32M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CobuildX-AI/cbx-indim-profanity-detector-32M")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("CobuildX-AI/cbx-indim-profanity-detector-32M") model = AutoModel.from_pretrained("CobuildX-AI/cbx-indim-profanity-detector-32M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add transformers_version to config.json
Browse files- checksums.sha256 +1 -2
- config.json +2 -1
checksums.sha256
CHANGED
|
@@ -2,10 +2,9 @@ c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
|
| 2 |
bed416bc19bc10b771b2423a63967513bb3ab132a92061a99e94f42043549d86 NOTICE
|
| 3 |
eb902180b598a5fc6a7f83ccae2895c64a049a529b9508dddd84320cb9791158 README.md
|
| 4 |
1861691af5446e5ede7a062ab6dd30cc2f002b5b41645dfa6d24e3988f87790c cbx_profanity.py
|
| 5 |
-
|
| 6 |
cb7a979867d1aec09691adc21d2c034fae7f78eda924144b2e7a9287064a4043 example.py
|
| 7 |
8fb243c0100138a09eb450066d748c43cadc7b4889d45ffb422525341ae297c4 model.safetensors
|
| 8 |
-
f925582874d7cc170a3de71b0a7fd2f55ed777f31f33b162da2fa1eb344f7ef8 onnx/model.onnx
|
| 9 |
0fcf262c25819a1c2a8b2648f7247a633139a77a4e62a3841d4593a2c3198697 onnx_example.py
|
| 10 |
7184133a9f0ce929ec470c3ed12c3ccb2f15109bf556c37b2a981a84266a6cd8 profanity_config.json
|
| 11 |
ee71b13268fabbacc0925339898205f92239cf331d3c54ec1f7008f8587bab6f requirements.txt
|
|
|
|
| 2 |
bed416bc19bc10b771b2423a63967513bb3ab132a92061a99e94f42043549d86 NOTICE
|
| 3 |
eb902180b598a5fc6a7f83ccae2895c64a049a529b9508dddd84320cb9791158 README.md
|
| 4 |
1861691af5446e5ede7a062ab6dd30cc2f002b5b41645dfa6d24e3988f87790c cbx_profanity.py
|
| 5 |
+
6965f26ff579d43340d9ea3327f91ea2392663da381699a6aa01fe283a8c343f config.json
|
| 6 |
cb7a979867d1aec09691adc21d2c034fae7f78eda924144b2e7a9287064a4043 example.py
|
| 7 |
8fb243c0100138a09eb450066d748c43cadc7b4889d45ffb422525341ae297c4 model.safetensors
|
|
|
|
| 8 |
0fcf262c25819a1c2a8b2648f7247a633139a77a4e62a3841d4593a2c3198697 onnx_example.py
|
| 9 |
7184133a9f0ce929ec470c3ed12c3ccb2f15109bf556c37b2a981a84266a6cd8 profanity_config.json
|
| 10 |
ee71b13268fabbacc0925339898205f92239cf331d3c54ec1f7008f8587bab6f requirements.txt
|
config.json
CHANGED
|
@@ -57,5 +57,6 @@
|
|
| 57 |
"vocab_size": 128064,
|
| 58 |
"architectures": [
|
| 59 |
"ModernBertModel"
|
| 60 |
-
]
|
|
|
|
| 61 |
}
|
|
|
|
| 57 |
"vocab_size": 128064,
|
| 58 |
"architectures": [
|
| 59 |
"ModernBertModel"
|
| 60 |
+
],
|
| 61 |
+
"transformers_version": "5.21.0"
|
| 62 |
}
|