Update README.md
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ base_model:
|
|
| 9 |
pipeline_tag: text-classification
|
| 10 |
tags:
|
| 11 |
- legal
|
| 12 |
-
-
|
| 13 |
- text-classification
|
| 14 |
- sentiment-analysis
|
| 15 |
---
|
|
@@ -39,13 +39,5 @@ inputs = tokenizer("Example text to classify", return_tensors="pt")
|
|
| 39 |
|
| 40 |
# Get predictions
|
| 41 |
outputs = model(**inputs)
|
| 42 |
-
predicted_class = outputs.argmax(-1).item()
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
language: en
|
| 46 |
-
tags:
|
| 47 |
-
- pytorch
|
| 48 |
-
- text-classification
|
| 49 |
-
- sentiment-analysis
|
| 50 |
-
|
| 51 |
```
|
|
|
|
| 9 |
pipeline_tag: text-classification
|
| 10 |
tags:
|
| 11 |
- legal
|
| 12 |
+
- PyTorch
|
| 13 |
- text-classification
|
| 14 |
- sentiment-analysis
|
| 15 |
---
|
|
|
|
| 39 |
|
| 40 |
# Get predictions
|
| 41 |
outputs = model(**inputs)
|
| 42 |
+
predicted_class = outputs.argmax(-1).item()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
```
|