Translation
Transformers.js
ONNX
Basque
marian
text2text-generation
basque
euskara
capitalization
punctuation
restoration
txukun
quantized
int8
Instructions to use itzune/txukun-cap-punct-eu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use itzune/txukun-cap-punct-eu with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'itzune/txukun-cap-punct-eu');
Xabi Ezpeleta commited on
Commit ·
dc7ef21
1
Parent(s): 1ec675c
Revert to float32 — ONNX Runtime Web WASM does not support float16 tensors
Browse filesFloat16 models produce Cast nodes that ORT Web WASM cannot execute.
Reverting to the original float32 weights (297 MB total).
An int8 quantization path exists for the encoder (34 MB, 75% reduction)
but the decoder cannot be quantized due to the If-node wrapping from
optimum's merged model export. Future work: extract subgraphs and
quantize, or re-export decoder without If merge.
decoder_model_merged_fp16.onnx → decoder_model_merged.onnx
RENAMED
|
@@ -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:8d9f918d4c6fe763cd234bc3ad0124debb678767760a6877fbb1ea66c30286f2
|
| 3 |
+
size 168092405
|
encoder_model_fp16.onnx → encoder_model.onnx
RENAMED
|
@@ -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:991fe56183b8506ea158bdf8c49df49cb1ca5c125770f42adf1f2401bd065e5f
|
| 3 |
+
size 142347416
|