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 ·
d144555
1
Parent(s): 1541b94
Add int8 quantized models (EnableSubgraph: True)
Browse files- encoder_model_quantized.onnx: 136 MB -> 34 MB (75% reduction)
- decoder_model_merged_quantized.onnx: 160 MB -> 41 MB (74% reduction)
- Total: 297 MB -> 77 MB (74% reduction)
Quantized with onnxruntime.quantization.quantize_dynamic + EnableSubgraph=True
to traverse the If-node subgraphs in the merged decoder.
decoder_model_merged_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b3b8ba87448d36175951f5d06062b3ec2220119ec122a21b5b93dd77642fb68
|
| 3 |
+
size 42973585
|
encoder_model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:975b073a1b71017175c8d4f70f36d4105b118d60018897c501c9808cc297bafc
|
| 3 |
+
size 35865699
|