radames commited on
Commit
a153996
1 Parent(s): 301dc8b

Upload 11 files

Browse files
build/m-quantized.js CHANGED
@@ -97,6 +97,15 @@ function takeObject(idx) {
97
  return ret;
98
  }
99
 
 
 
 
 
 
 
 
 
 
100
  function addHeapObject(obj) {
101
  if (heap_next === heap.length) heap.push(heap.length + 1);
102
  const idx = heap_next;
@@ -115,15 +124,6 @@ function getFloat64Memory0() {
115
  return cachedFloat64Memory0;
116
  }
117
 
118
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
119
-
120
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
121
-
122
- function getStringFromWasm0(ptr, len) {
123
- ptr = ptr >>> 0;
124
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
125
- }
126
-
127
  let cachedBigInt64Memory0 = null;
128
 
129
  function getBigInt64Memory0() {
@@ -396,6 +396,10 @@ function __wbg_get_imports() {
396
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
397
  takeObject(arg0);
398
  };
 
 
 
 
399
  imports.wbg.__wbindgen_is_bigint = function(arg0) {
400
  const ret = typeof(getObject(arg0)) === 'bigint';
401
  return ret;
@@ -432,10 +436,6 @@ function __wbg_get_imports() {
432
  getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
433
  getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
434
  };
435
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
436
- const ret = new Error(getStringFromWasm0(arg0, arg1));
437
- return addHeapObject(ret);
438
- };
439
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
440
  const ret = getObject(arg0);
441
  return addHeapObject(ret);
@@ -488,7 +488,7 @@ function __wbg_get_imports() {
488
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
489
  }
490
  };
491
- imports.wbg.__wbg_log_e25c897af30cb287 = function(arg0, arg1) {
492
  console.log(getStringFromWasm0(arg0, arg1));
493
  };
494
  imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
 
97
  return ret;
98
  }
99
 
100
+ const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
101
+
102
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
103
+
104
+ function getStringFromWasm0(ptr, len) {
105
+ ptr = ptr >>> 0;
106
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
107
+ }
108
+
109
  function addHeapObject(obj) {
110
  if (heap_next === heap.length) heap.push(heap.length + 1);
111
  const idx = heap_next;
 
124
  return cachedFloat64Memory0;
125
  }
126
 
 
 
 
 
 
 
 
 
 
127
  let cachedBigInt64Memory0 = null;
128
 
129
  function getBigInt64Memory0() {
 
396
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
397
  takeObject(arg0);
398
  };
399
+ imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
400
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
401
+ return addHeapObject(ret);
402
+ };
403
  imports.wbg.__wbindgen_is_bigint = function(arg0) {
404
  const ret = typeof(getObject(arg0)) === 'bigint';
405
  return ret;
 
436
  getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
437
  getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
438
  };
 
 
 
 
439
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
440
  const ret = getObject(arg0);
441
  return addHeapObject(ret);
 
488
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
489
  }
490
  };
491
+ imports.wbg.__wbg_log_d03200ce29166fbd = function(arg0, arg1) {
492
  console.log(getStringFromWasm0(arg0, arg1));
493
  };
494
  imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
build/m-quantized_bg.wasm CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f79d18e3371d6430adf185da8807e15fd2fc95b85ab558a4b89c788e2c88e4a
3
- size 4212625
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d6df75f063aab9bc8ad39bbd78f4cff2803f509fff2df2a32759b2f3a5b89db
3
+ size 4262720
build/m.js CHANGED
@@ -488,7 +488,7 @@ function __wbg_get_imports() {
488
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
489
  }
490
  };
491
- imports.wbg.__wbg_log_e25c897af30cb287 = function(arg0, arg1) {
492
  console.log(getStringFromWasm0(arg0, arg1));
493
  };
494
  imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
 
488
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
489
  }
490
  };
491
+ imports.wbg.__wbg_log_d03200ce29166fbd = function(arg0, arg1) {
492
  console.log(getStringFromWasm0(arg0, arg1));
493
  };
494
  imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
build/m_bg.wasm CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:362af429fe4623033b2b9b2aad06b36a927af4888dff9c2f1d45c2a4f7a4d4ea
3
- size 4059722
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8db373d3d24772710c8abcd203899beac5052851fbd22f2e25331ae9f3e56e52
3
+ size 4106960
index.html CHANGED
@@ -25,7 +25,6 @@
25
  @apply underline hover:text-blue-500 hover:no-underline;
26
  }
27
  </style>
28
- <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
29
  <script src="https://cdn.tailwindcss.com"></script>
30
  <script type="module">
31
  import {
@@ -167,13 +166,19 @@
167
  target="_blank"
168
  class="link"
169
  >flan-t5-small</a
170
- >
171
- and several t5
172
  <a
173
  href="https://huggingface.co/lmz/candle-quantized-t5/tree/main"
174
  target="_blank"
175
  class="link">
176
- t5 quantized gguf</a
 
 
 
 
 
 
177
  >.
178
  </p>
179
  </div>
 
25
  @apply underline hover:text-blue-500 hover:no-underline;
26
  }
27
  </style>
 
28
  <script src="https://cdn.tailwindcss.com"></script>
29
  <script type="module">
30
  import {
 
166
  target="_blank"
167
  class="link"
168
  >flan-t5-small</a
169
+ >,
170
+ several
171
  <a
172
  href="https://huggingface.co/lmz/candle-quantized-t5/tree/main"
173
  target="_blank"
174
  class="link">
175
+ t5 quantized gguf models</a
176
+ >, and also a quantized
177
+ <a
178
+ href="https://huggingface.co/jbochi/candle-coedit-quantized/tree/main"
179
+ target="_blank"
180
+ class="link">
181
+ CoEdIT model for text rewrite</a
182
  >.
183
  </p>
184
  </div>