marquesafonso
commited on
Commit
•
dd61a25
1
Parent(s):
8eaf58c
try to add color syntax to readme code
Browse files
README.md
CHANGED
@@ -8,7 +8,7 @@ For this model card the we used the BERT-CRF (selective scenario, 5 classes) mod
|
|
8 |
|
9 |
## Usage
|
10 |
|
11 |
-
```
|
12 |
# Load model directly
|
13 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
14 |
|
@@ -19,7 +19,7 @@ model = AutoModelForTokenClassification.from_pretrained("marquesafonso/bertimbau
|
|
19 |
|
20 |
## Example
|
21 |
|
22 |
-
```
|
23 |
from transformers import pipeline
|
24 |
|
25 |
pipe = pipeline("token-classification", model="marquesafonso/bertimbau-large-ner")
|
|
|
8 |
|
9 |
## Usage
|
10 |
|
11 |
+
```
|
12 |
# Load model directly
|
13 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
14 |
|
|
|
19 |
|
20 |
## Example
|
21 |
|
22 |
+
```
|
23 |
from transformers import pipeline
|
24 |
|
25 |
pipe = pipeline("token-classification", model="marquesafonso/bertimbau-large-ner")
|