Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Arjun24420
/
BERT-FakeOrReal-BinaryClassification
like
0
Text Classification
Transformers
Safetensors
bert
Inference Endpoints
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
Arjun24420
commited on
Dec 10, 2023
Commit
a4996d6
•
1 Parent(s):
383ea9a
Update README.md
Browse files
Files changed (1)
hide
show
README.md
+6
-0
README.md
CHANGED
Viewed
@@ -28,4 +28,10 @@ def predict(text):
28
29
return class_probabilities
30
31
```
28
29
return class_probabilities
30
31
+
# Define class labels mapping
32
+
class_mapping = {
33
+
1: 'Reliable',
34
+
0: 'Unreliable',
35
+
}
36
+
37
```