Update README.md
Browse files
README.md
CHANGED
|
@@ -26,6 +26,20 @@ It achieves the following results on the evaluation set:
|
|
| 26 |
- Precision: 0.9758
|
| 27 |
- Recall: 0.9793
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
## Model description
|
| 30 |
|
| 31 |
More information needed
|
|
|
|
| 26 |
- Precision: 0.9758
|
| 27 |
- Recall: 0.9793
|
| 28 |
|
| 29 |
+
## Run it
|
| 30 |
+
|
| 31 |
+
```sh
|
| 32 |
+
import transformers
|
| 33 |
+
|
| 34 |
+
model_name = "liaad/LVI_bert-large-portuguese-cased"
|
| 35 |
+
pipe = transformers.pipeline(model=model_name)
|
| 36 |
+
|
| 37 |
+
text = "Olá, como você está?"
|
| 38 |
+
print(pipe(text))
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
## Model description
|
| 44 |
|
| 45 |
More information needed
|