martin-ha_toxic-comment-model
martin-ha · View on Hugging Face ↗
Get this model
Seeders: 1 · Leechers: 0
Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
language: en
Model description
This model is a fine-tuned version of the DistilBERT model to classify toxic comments.
How to use
You can use the model with the following code.
from transformers import AutoModelForSequenceClassification, AutoTokenizer, TextClassificationPipeline
model_path = "martin-ha/toxic-comment-model"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForSequenceClassification.from_pretrained(model_path)
pipeline = TextClassificationPipeline(model=model, tokenizer=tokenizer)
print(pipeline('This is a test text.'))
Limitations and Bias
This model is intended to use for classify toxic online classifications. However, one limitation of the model is that it performs poorly for some comments that mention a specific identity subgroup, like Muslim. The following table shows a evaluation score for different identity group. You can learn the specific meaning of this metrics here. But basically, those metrics shows how well a model performs for a specific group. The larger the number, the better.
| subgroup | subgroup_size | subgroup_auc | bpsn_auc | bnsp_auc |
|---|---|---|---|---|
| muslim | 108 | 0.689 | 0.811 | 0.88 |
| jewish | 40 | 0.749 | 0.86 | 0.825 |
| homosexual_gay_or_lesbian | 56 | 0.795 | 0.706 | 0.972 |
| black | 84 | 0.866 | 0.758 | 0.975 |
| white | 112 | 0.876 | 0.784 | 0.97 |
| female | 306 | 0.898 | 0.887 | 0.948 |
| christian | 231 | 0.904 | 0.917 | 0.93 |
| male | 225 | 0.922 | 0.862 | 0.967 |
| psychiatric_or_mental_illness | 26 | 0.924 | 0.907 | 0.95 |
The table above shows that the model performs poorly for the muslim and jewish group. In fact, you pass the sentence "Muslims are people who follow or practice Islam, an Abrahamic monotheistic religion." Into the model, the model will classify it as toxic. Be mindful for this type of potential bias.
Training data
The training data comes this Kaggle competition. We use 10% of the train.csv data to train the model.
Training procedure
You can see this documentation and codes for how we train the model. It takes about 3 hours in a P-100 GPU.
Evaluation results
The model achieves 94% accuracy and 0.59 f1-score in a 10000 rows held-out test set.
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:d6a33c6813d98f8887f8d40d92ed1b3e2df2d042&dn=martin-ha_toxic-comment-modelOpen magnet in torrent client · infohash d6a33c6813d98f8887f8d40d92ed1b3e2df2d042
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 3.1 KB (3,184 B) | 2534287c35893b6d9e7f6eec305916fdaecda449 | 65856ba28d1792de2497cdd887a46cdde0353e85e449a5e7a955a54f8b861e5e |
| config.json | 704 B (704 B) | 6dec3961f7bf17826a0c431a7b52b62f74a51d9a | 440539e7e8f28070310fb5478cad1787d960c938bca988cad8497f224d4ddec2 |
| pytorch_model.bin | 255.4 MB (267,858,673 B) | 17829d444f14550dea40adf763d2d1f5ca864162 | 569aed60978bec9cdc5a90e660fe860e2eccd4f72479c1aac0c9b6c64a581e94 |
| special_tokens_map.json | 112 B (112 B) | e7b0375001f109a6b8873d756ad4f7bbb15fbaa5 | 303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3 |
| tokenizer.json | 455.2 KB (466,081 B) | 40c4a0f6c414c8218190234bbce9bf4cc04fa3ac | 5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b |
| tokenizer_config.json | 403 B (403 B) | 45394c87f8b707c55c41c98cdfb2027d9a372bb8 | 7cd2a7a199b56d32f3ca0fc8f1e1353e97dacc22523fc0776e28e0984eee8c62 |
| vocab.txt | 226.1 KB (231,508 B) | fb140275c155a9c7c5a3b3e0e77a9e839594a938 | 07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/martin-ha_toxic-comment-model/
- Slug
- martin-ha_toxic-comment-model
- Infohash
- d6a33c6813d98f8887f8d40d92ed1b3e2df2d042
- License
- no license recorded
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: martin-ha_toxic-comment-model.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | martin-ha/toxic-comment-model |
|---|---|
| Revision (pinned) | 9842c08b35a4687e7b211187d676986c8c96256d |
| Fetched at | 2026-09-02T04:38:29Z |
| License at fetch | no license recorded |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:38:35Z
no license recorded256.1 MB (268,560,665 bytes)transformerspytorchdistilberttext-classificationtext-embeddings-inferenceendpoints_compatible1 language (en)