Update README.md
Browse files
README.md
CHANGED
@@ -13,7 +13,7 @@ NVIDIA P100. Además, ha sido entrenado con un batch-size de 4, un learning rate
|
|
13 |
|
14 |
## **Utilización**
|
15 |
Mediante el `pipeline` de Hugging Face:
|
16 |
-
```
|
17 |
from transformers import pipeline
|
18 |
|
19 |
model_id = "eperezs/TriageTron-large"
|
@@ -26,7 +26,7 @@ print(result)
|
|
26 |
```
|
27 |
|
28 |
Mediante `AutoModelForSequenceClassification` y `AutoTokenizer`:
|
29 |
-
```
|
30 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
31 |
|
32 |
model_id = "eperezs/TriageTron-large"
|
|
|
13 |
|
14 |
## **Utilización**
|
15 |
Mediante el `pipeline` de Hugging Face:
|
16 |
+
```python
|
17 |
from transformers import pipeline
|
18 |
|
19 |
model_id = "eperezs/TriageTron-large"
|
|
|
26 |
```
|
27 |
|
28 |
Mediante `AutoModelForSequenceClassification` y `AutoTokenizer`:
|
29 |
+
```python
|
30 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
31 |
|
32 |
model_id = "eperezs/TriageTron-large"
|