Downloads · 30 days
13
26% of all-time downloads
imrahamed/coedit-base-litert-int8
coedit-base-litert-int8 is a text generation model from imrahamed. Use it when you need the model to write or continue text. It is set up for litert. The card lists the license as apache-2.0.
Split encoder/decoder LiteRT (.tflite) conversion of jbochi/coedit-base, intended for fully local text editing in browsers, extensions, and native LiteRT clients. This is an independently produced conversion, not an o…
Downloads · 30 days
13
26% of all-time downloads
All-time downloads
50
Public
Repo size
276 MB
Likes
0
Public
Click a slice to open those files.
.tflite276 MB · 99%
From the Hugging Face model README
Split encoder/decoder LiteRT (.tflite) conversion of
jbochi/coedit-base, intended for
fully local text editing in browsers, extensions, and native LiteRT clients.
This is an independently produced conversion, not an official release from
the upstream model author or Grammarly.
| Property | Value |
|---|---|
| Source checkpoint | jbochi/coedit-base |
| Architecture | FLAN-T5 Base fine-tuned on CoEdIT |
| Format | Split LiteRT/TFLite encoder and decoder |
| Quantization | INT8 dynamic range |
| Maximum sequence length | 256 tokens |
| Maximum configured output | 64 tokens |
| Encoder size | 109,978,728 bytes |
| Decoder size | 166,428,952 bytes |
| Graph total | 276,407,680 bytes |
The encoder state is computed once and reused during autoregressive decoder
steps. Tensor names, task prefixes, sizes, and SHA-256 checksums are recorded
in manifest.json.
encoder.tflite: quantized encoder graphdecoder.tflite: quantized autoregressive decoder graphtokenizer.json: tokenizer vocabulary and modeltokenizer_config.json and special_tokens_map.json: tokenizer metadatamanifest.json: runtime contract and integrity metadataFix grammatical errors in this sentence: <text>
Make the sentence formal: <text>
Change the style to casual: <text>
Make the sentence simpler: <text>
Paraphrase the sentence: <text>
Load the two graphs with LiteRT, tokenize to the fixed 256-token input shape,
run the encoder once, and feed its hidden states plus the decoder token buffer
to the decoder for each generated token. Consult manifest.json for the exact
tensor contract and EOS/padding IDs.
The source model is published under Apache License 2.0. This converted form is
distributed under the same license; see LICENSE and NOTICE.