Text Classification
Transformers
Safetensors
English
distilbert
moderation
filtering
offensive
clean
Eval Results (legacy)
Eval Results
text-embeddings-inference
Instructions to use akaruineko/ftan-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akaruineko/ftan-2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="akaruineko/ftan-2.0")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("akaruineko/ftan-2.0") model = AutoModelForSequenceClassification.from_pretrained("akaruineko/ftan-2.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -80,7 +80,7 @@ The model also operates on individual text inputs and does not have access to co
|
|
| 80 |
Some example inference results:
|
| 81 |
|
| 82 |
```text
|
| 83 |
-
"
|
| 84 |
→ offensive (0.988)
|
| 85 |
|
| 86 |
"you are stupid"
|
|
|
|
| 80 |
Some example inference results:
|
| 81 |
|
| 82 |
```text
|
| 83 |
+
"b****" # censored
|
| 84 |
→ offensive (0.988)
|
| 85 |
|
| 86 |
"you are stupid"
|