Alexandre-Numind
commited on
Commit
•
d25c898
1
Parent(s):
e3f5235
Update README.md
Browse files
README.md
CHANGED
@@ -38,7 +38,7 @@ Benchmark fine-tunning:
|
|
38 |
To use the model:
|
39 |
|
40 |
```python
|
41 |
-
|
42 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
43 |
|
44 |
|
@@ -89,6 +89,6 @@ schema = """{
|
|
89 |
}"""
|
90 |
|
91 |
prediction = predict_NuExtract(model,tokenizer,text, schema,example = ["","",""])
|
92 |
-
|
93 |
|
94 |
```
|
|
|
38 |
To use the model:
|
39 |
|
40 |
```python
|
41 |
+
import json
|
42 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
43 |
|
44 |
|
|
|
89 |
}"""
|
90 |
|
91 |
prediction = predict_NuExtract(model,tokenizer,text, schema,example = ["","",""])
|
92 |
+
print(prediction)
|
93 |
|
94 |
```
|