File size: 2,114 Bytes
ac46fd6
c1723e3
2e8efff
 
ac46fd6
 
2e8efff
c1723e3
2e8efff
c1723e3
 
ac46fd6
2e8efff
452ff27
 
2e8efff
452ff27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2e8efff
452ff27
 
077a2e4
ac46fd6
077a2e4
452ff27
077a2e4
452ff27
077a2e4
 
452ff27
 
077a2e4
452ff27
077a2e4
452ff27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
077a2e4
9237b11
 
452ff27
 
 
077a2e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
title: Manipulative Detector
colorFrom: red
colorTo: red
sdk: streamlit
app_file: src/streamlit_app.py
tags:
- streamlit
pinned: false
short_description: manipulative-detector
license: other
---

Manipulative Language Detector
This is a text classification model based on multilingual BERT (mBERT), used to identify manipulative language in text. This model has been trained on specially labeled data and is suitable for detecting the following types of language features:

---

Information
Model Name: 'LilithHu/mbert-manipulative-detector
base model: 'bert-base-multilingual-cased'
Model size: 279M parameters (Safetensors format)
Training platform: Google Colab + Hugging Face Hub
Training language: Supports Multilingual (Chinese + English)
Inference task type: text-classification
Number of tag categories: 2 (Non-manipulative/manipulative


---

Web Demo

You can directly access the Web UI of this model:
[https://huggingface.co/spaces/LilithHu/manipulative-detector](https://huggingface.co/spaces/LilithHu/manipulative-detector)

---

Public Inference API

This model is open to all, and Hugging Face inference interface can be used without API Key


----
Python:

from transformers import pipeline

pipe = pipeline("text-classification", model="LilithHu/mbert-manipulative-detector")
result = pipe("your text")
print(result)
```

---
cURL:

```bash
curl -X POST https://api-inference.huggingface.co/models/LilithHu/mbert-manipulative-detector \
  -H "Content-Type: application/json" \
  -d '{"inputs": "your text"}'
```

---

Disclaimer:

This model is for research and educational purposes only and should not be used as a basis for decision-making in serious scenarios such as medical care, law, psychology, and criminal investigation.
The output results are only based on the statistical learning outcomes from the training data and may contain biases or misjudgments. Please maintain critical thinking and do not take the results of this model as the final conclusion or basis.
The creator of the model shall not be held responsible for any consequences resulting from the use of this model.