Update model
#6
by
rstebbing
- opened
- README.md +3 -3
- pytorch_model.bin +2 -2
- tf_model.h5 +1 -1
README.md
CHANGED
@@ -33,19 +33,19 @@ nlp(
|
|
33 |
"https://templates.invoicehome.com/invoice-template-us-neat-750px.png",
|
34 |
"What is the invoice number?"
|
35 |
)
|
36 |
-
# {'score': 0.
|
37 |
|
38 |
nlp(
|
39 |
"https://miro.medium.com/max/787/1*iECQRIiOGTmEFLdWkVIH2g.jpeg",
|
40 |
"What is the purchase amount?"
|
41 |
)
|
42 |
-
# {'score': 0.
|
43 |
|
44 |
nlp(
|
45 |
"https://www.accountingcoach.com/wp-content/uploads/2013/10/[email protected]",
|
46 |
"What are the 2020 net sales?"
|
47 |
)
|
48 |
-
# {'score': 0.
|
49 |
```
|
50 |
|
51 |
**NOTE**: This model and pipeline was recently landed in transformers via [PR #18407](https://github.com/huggingface/transformers/pull/18407) and [PR #18414](https://github.com/huggingface/transformers/pull/18414), so you'll need to use a recent version of transformers, for example:
|
|
|
33 |
"https://templates.invoicehome.com/invoice-template-us-neat-750px.png",
|
34 |
"What is the invoice number?"
|
35 |
)
|
36 |
+
# {'score': 0.9999796, 'answer': 'us-001', 'start': 16, 'end': 16}
|
37 |
|
38 |
nlp(
|
39 |
"https://miro.medium.com/max/787/1*iECQRIiOGTmEFLdWkVIH2g.jpeg",
|
40 |
"What is the purchase amount?"
|
41 |
)
|
42 |
+
# {'score': 0.9981111, 'answer': '$1,000,000,000', 'start': 97, 'end': 97}
|
43 |
|
44 |
nlp(
|
45 |
"https://www.accountingcoach.com/wp-content/uploads/2013/10/[email protected]",
|
46 |
"What are the 2020 net sales?"
|
47 |
)
|
48 |
+
# {'score': 0.9973359, 'answer': '$ 3,750', 'start': 19, 'end': 20}
|
49 |
```
|
50 |
|
51 |
**NOTE**: This model and pipeline was recently landed in transformers via [PR #18407](https://github.com/huggingface/transformers/pull/18407) and [PR #18414](https://github.com/huggingface/transformers/pull/18414), so you'll need to use a recent version of transformers, for example:
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bacb21323970333f86ca1768bc8bd925471e8495521eae181cdff984c11b94f3
|
3 |
+
size 511263905
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 511465184
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:006a7c6401839ecf2e44da3da781dd72b915a78e1c5c7f38ce22766f83a81e53
|
3 |
size 511465184
|