rstebbing commited on
Commit
a7a039f
1 Parent(s): b28dd3e

Update pytorch_model.bin, tf_model.h5 and README.md

Browse files
Files changed (3) hide show
  1. README.md +3 -3
  2. pytorch_model.bin +2 -2
  3. 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.9943977, 'answer': 'us-001', 'start': 15, 'end': 15}
37
 
38
  nlp(
39
  "https://miro.medium.com/max/787/1*iECQRIiOGTmEFLdWkVIH2g.jpeg",
40
  "What is the purchase amount?"
41
  )
42
- # {'score': 0.9912159, 'answer': '$1,000,000,000', 'start': 97, 'end': 97}
43
 
44
  nlp(
45
  "https://www.accountingcoach.com/wp-content/uploads/2013/10/income-statement-example@2x.png",
46
  "What are the 2020 net sales?"
47
  )
48
- # {'score': 0.59147286, '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:
 
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/income-statement-example@2x.png",
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:bf8b7882db23c58763acd876f50d04e3f291c8845febd3556f26b91f4b73f7c9
3
- size 511244837
 
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:1b79d6d938ef00f3ef9666db0d12907855272a1c476145d1bd8440cfdb97e433
3
  size 511465184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:006a7c6401839ecf2e44da3da781dd72b915a78e1c5c7f38ce22766f83a81e53
3
  size 511465184