Add/update the quantized ONNX model files and README.md for Transformers.js v3

#1
by whitphx HF Staff - opened
README.md CHANGED
@@ -12,15 +12,15 @@ https://huggingface.co/facebook/nougat-base with ONNX weights to be compatible w
12
 
13
  ## Usage (Transformers.js)
14
 
15
- If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@xenova/transformers) using:
16
  ```bash
17
- npm i @xenova/transformers
18
  ```
19
 
20
  You can then use the model to convert images of scientific PDFs into markdown like this:
21
 
22
  ```js
23
- import { pipeline } from '@xenova/transformers';
24
 
25
  // Create an image-to-text pipeline
26
  const pipe = await pipeline('image-to-text', 'Xenova/nougat-base');
 
12
 
13
  ## Usage (Transformers.js)
14
 
15
+ If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:
16
  ```bash
17
+ npm i @huggingface/transformers
18
  ```
19
 
20
  You can then use the model to convert images of scientific PDFs into markdown like this:
21
 
22
  ```js
23
+ import { pipeline } from '@huggingface/transformers';
24
 
25
  // Create an image-to-text pipeline
26
  const pipe = await pipeline('image-to-text', 'Xenova/nougat-base');
onnx/decoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:178fef87c92a77b73947d5541a32dad8a879c9fda7ec04ae785a4fc9746073a4
3
+ size 345996608
onnx/decoder_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dd9e2621e44f0850aacdd9202d8b46fb6d8e0eba6378b370a11f26a9c088779
3
+ size 549565080
onnx/decoder_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ef38c3ce1dddb94053a6a163dc7e2720f1c8dc761cd92cbe1852fdee2a28936
3
+ size 275717861
onnx/decoder_model_merged_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f2df255fd246f1b05e31a8b49423feb08d28683908598348047a01037dc8850
3
+ size 346411238
onnx/decoder_model_merged_fp16.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ed918f9a438372dd40539f7c08b38ed2ee6566ef4c7c3c97d972d92bed497a7
3
- size 550244893
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:faf02a49a718471e3de14342884543e6913812a9ef07c6c7f8961f70bacc7de1
3
+ size 550253124
onnx/decoder_model_merged_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76a4cc7763603dc8d637933ff82c1bbc6ef70236781d49b04965509b291fc817
3
+ size 276490431
onnx/decoder_model_merged_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f126e6a7b643c5aeb1a39a3b0ddbb39afb7881ed2da71b6bba79729cdf00fe71
3
+ size 360095451
onnx/decoder_model_merged_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1667a2bc291744929b7ade6bb439be6dd224d47129a2d87fe6cd3fd1f146b0c6
3
+ size 235492901
onnx/decoder_model_merged_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a635f1583fff4b344c718bd268a22f3d80d1d8074a42a55bd15af74a27384de7
3
+ size 276490473
onnx/decoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33b8ee8060c4118f1f5db0b51fb27aaa6136f78cf49530bb18e43dcd7e2fe93c
3
+ size 359681550
onnx/decoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f017354264713df63a1331807189ddbeea9850f8a72fbb347f02f2404807040
3
+ size 234807622
onnx/decoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:639d13ade62c506b7da92e99443655474aabeda0dcafec787560c053ca1cf0a3
3
+ size 275717903
onnx/decoder_with_past_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:898b2b92864d5428166ac7e1f8fc2d3c30384886013f54f590be8fd8486bc0cd
3
+ size 334001000
onnx/decoder_with_past_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d815928857ec5c88fb5d7255154a80860b7f350950d8cd710bb00aab04e6a775
3
+ size 507474982
onnx/decoder_with_past_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5a7d1b6993fdcc19cd80250dc187ac20be6b4aebf6b93873f5d3c9e04411ca2
3
+ size 254530303
onnx/decoder_with_past_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e1327b63b645ea01cbfd759a8a7fa8e7cc67e9cf1a284a4a3a51d73874e260b
3
+ size 346375382
onnx/decoder_with_past_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51bbb8840d0b45eaacb32b8771b4639b6e213d2509ec3c45810c5f3a376c6441
3
+ size 222861124
onnx/decoder_with_past_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fe1682e72ff43fb74a80b5ad6f38524b7c671528244f0158107b0b6080e7503
3
+ size 254530337
onnx/encoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b055721a6b60f870346af3a016a256522acd77d470d78653f68728050bdcf2
3
+ size 46602584
onnx/encoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67ea64d1b8908ff4376fecb321a3fd7fc600bafe588a374817bd4bf093720584
3
+ size 51221897
onnx/encoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d3eddc9023f0933df857c7bc41e3840d1d63e95b026e1c1667644e8dee7d5d4
3
+ size 44816260
onnx/encoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0950da4a6e651bfa58616e0b27fb3842283ceace6e7cb9d6354eefd768e31da
3
+ size 79070810