Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Mael7307
/
bert-base-uncased-mnli
like
0
Text Classification
Transformers
PyTorch
bert
Inference Endpoints
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
Mael7307
commited on
Oct 4, 2021
Commit
0995499
•
1 Parent(s):
b42746d
Create README.md
Browse files
Files changed (1)
hide
show
README.md
+9
-0
README.md
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
```
2
+
for i in range(len(predictions)):
3
+
if predictions[i] == 0:
4
+
predictions[i] = 2
5
+
elif predictions[i] == 1:
6
+
predictions[i] = 0
7
+
elif predictions[i] == 2:
8
+
predictions[i] = 1
9
+
```