Run this model with HF Jobs
Run litert-community/LFM2-700M on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/litert-community/LFM2-700M. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/litert-community/LFM2-700M on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/litert-community/LFM2-700M. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use litert-community/LFM2-700M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/LFM2-700M with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=litert-community/LFM2-700M \ --prompt="Write me a poem"
- LiteRT
How to use litert-community/LFM2-700M with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Commit History
5 days ago
-
Card: plainer export note
Verified signaturebd527c8
8 days ago
-
README.md and litertlm_manifest.json: name LFM2-700M_int4_v0200.litertlm for the GPU on LiteRT-LM 0.20.0, which refuses the _v0190 file; 0.20.0 results added; corrected the wording of the 2026-11-14 entries (the four benchmark processes ran one after another); other notes updated
Verified signaturee8b6c62
9 days ago
-
Add LFM2-700M_int4_v0200.litertlm (for LiteRT-LM 0.20.0)
Verified signaturea1efb13 -
Add LFM2-700M_int8_v0200.litertlm (for LiteRT-LM 0.20.0)
Verified signature6d373ed
14 days ago
-
README.md and litertlm_manifest.json: the Android GPU notes give the runs measured on each file and what LiteRT-LM#3986 measured, instead of a minimum version; the conversion notes add the step that moved the weights; the tool-call and reply checks are marked as runs of the earlier files
Verified signature4643b33 -
litertlm_manifest.json: the int8 note says the chat template needs litert-lm 0.18.0 or later; the int8 and int4 notes say min_runtime_version is 0.19.0 because of the Android GPU issue
Verified signature1ed9006 -
Card: the external-weights notes name the linear-layer and embedding weights
Verified signature86b8bde -
litertlm_manifest.json: the external-weights notes name the linear-layer and embedding weights; on the Mac the int4 file is the faster of this manifest's two files
Verified signatureb9df8d7 -
Card: the conversion script's rebuild check was on the earlier versions of the int8 and int4 files
Verified signatured472ce2 -
litertlm_manifest.json: each file has one TFLiteWeights section; on the Galaxy S26 GPU the int4 file is the faster of this manifest's two files
Verified signaturef535901
15 days ago
-
Card and manifest: which files the int8 and int4 measurements describe; Pixel 8a CPU sample spacing per file
Verified signature- The int8 and int4 results in the time table, Accuracy, the first paragraph of Correctness and the first three Performance tables were measured on earlier versions of the two files: int8 sha256 ccc95007…, replaced on 2026-10-30, and int4 sha256 4ecfc712…, replaced on 2026-11-09. A new paragraph under the file table says so. - In litertlm_manifest.json, each variant's note on its earlier file now says that the measured rows and the variant's own numbers in recommended and quantization come from runs of that earlier file. Two int8 notes that said "this file" now name the earlier file. - Pixel 8a CPU runs: the clock samples were 2–4 s apart for int8 and 2–3 s apart for int4. The card gave 2–4 s for both. - In litertlm_manifest.json, the int8 note on the thought channel now calls the .litertlm file "the file", as the card does. - In litertlm_manifest.json, the int4 note on file sizes now says that its byte counts are those of the earlier files; the current int4 file is also 40.5% smaller …278ec04 -
Card wording: plainer terms in the notes
Verified signature00d38b8
17 days ago
-
Card and manifest notes: plainer wording
Verified signature- Wording: plain words for named tests and for their inputs. litertlm_manifest.json: - Wording: plain words for the parts of a measurement (runs, configurations, table cells, phone reservations). - Regenerated: the "generated" date changes. - Wording: abbreviations for the 8-question check are written out.905f9b7
18 days ago
-
litertlm_manifest.json: benchmark prefill counts are no longer called prompt lengths; plainer wording
Verified signature- In benchmark mode the number of tokens to prefill is a setting (1024). The text called that number a prompt length; it now says "prefill". - The field prompt_tokens keeps its name and its values. - Plainer wording: "check" or "test" where the text said "gate".5a62d48
19 days ago
-
Card: the LiteRT-LM main build's exit status in Known runtime issues
Verified signature52d92bb -
litertlm_manifest.json: a note on LFM2-700M_int4_gpu_composite_v0190.litertlm (added 2026-11-14)
Verified signaturef3ef3b7 -
Card: add LFM2-700M_int4_gpu_composite_v0190.litertlm (GPU, LiteRT-LM 0.19.0-0.19.2)
Verified signatureed97229 -
Add LFM2-700M_int4_gpu_composite_v0190.litertlm (GPU, LiteRT-LM 0.19.0-0.19.2)
Verified signature4a12dea
20 days ago
-
Plain wording in the litertlm_manifest.json notes
Verified signature6795b4a
24 days ago
-
litertlm_manifest.json: LFM2-700M_int4.litertlm's sha256, size and sections after the move to external weights; min runtime 0.19.0 and the Android GPU known issue (LiteRT-LM#3986)
Verified signature271c6d6 -
LFM2-700M_int4.litertlm: rebuilt from the original with every float weight kept in the model graph (only the quantized weights in the TFLiteWeights section); replaces the file of commit 6835615
Verified signature6873afe
25 days ago
-
litertlm_manifest.json: LFM2-700M_int4.litertlm's sha256, size and sections after the move to external weights; min runtime 0.19.0 and the Android GPU known issue (LiteRT-LM#3986)
Verified signatured6ae6cb -
LFM2-700M_int4.litertlm: weights moved to TFLiteWeights sections at the end of the file (LiteRT external weights); Android GPU needs LiteRT-LM 0.19.0 or later
Verified signature6835615 -
Card: a conversation stops after a message that does not fit in the context window
Verified signatureb07cc40
26 days ago
-
Engine-per-conversation note: add the fix status (LiteRT-LM main e1f86b05, no release yet)
Verified signature0b1d606
29 days ago
-
Add a link to try the model in the LiteRT-LM Web chat demo
Verified signaturee380107
-
litertlm_manifest.json: the externalized file's sha256, size and sections; min runtime 0.19.0 and the Android GPU known issue (LiteRT-LM#3986)
Verified signature67e65f1 -
Weights moved to TFLiteWeights sections at the end of the file, the convolution filters kept in the graph (Android GPU needs LiteRT-LM 0.19.0 or later)
Verified signaturec96ab59
-
Add a known runtime issue: a preface with tools and no messages fails to render the chat template
Verified signatureAdds the lines under Known runtime issues; nothing else in the card changes.6c27ba4
-
Say that the CLI's Init counts engine creation twice (LiteRT-LM #4057)
Verified signatureThe CLI's printed Init includes both Init Total and the phases inside it. One sentence, no number changed.798b872
-
README: the opening workload-time table, init and peak columns in the phone tables, shorter prose; the same measurements
Verified signature456d2ea -
litertlm_manifest.json: measured rows and bundle identity
Verified signature172a178 -
LFM2-700M: int8 and int4 .litertlm bundles and the measured model card
Verified signaturecdaa9f6 -
initial commit
Verified signaturea02a479