Yes, if your workflow fits a short context window. The 4K version has published local runs on Apple Silicon and AMD hardware. Start with a single paragraph and a question with a known answer, not an entire document.

What the public evidence supports for short documents

Microsoft’s Phi-3 Mini 4K model card reports 61.4 on five-shot TriviaQA for this checkpoint. The score is a published factual-question result. It does not measure whether a particular low-bit build preserves the owner and date in your own note. The local performance records below establish how specific configurations generated text. A controlled extraction exercise complements both sources by checking the input and complete output that matter to this task.

For a small document the decision involves two limits. First, the prompt and answer must fit the actual context allocated by the runtime. Second, the reply must still follow the document. A note that fits can be misread. A very short extraction fixture can help test these issues separately before you paste a whole file into the app.

What an independent passage benchmark found

MRCEval evaluates the exact Phi-3-mini-4k-Instruct checkpoint in a controlled reading-comprehension test. Table 1 lists 40.0 on the overall average. The authors use passages paired with multiple-choice questions and include unanswerable and inconsistent context cases. In that setting the model often selected answers different from the reference. The result gives a reason to check absent and conflicting values even on short sources.

Choosing a supplied option differs from generating a citation or a JSON record. The score does not provide an expected successful rate on the Cedar fixtures. It does show an actual short-text interpretation limit to consider alongside the throughput table. Score the expected field and the source behind it before increasing context size or switching runtime.

Select the 4K checkpoint

Microsoft launched Phi-3 Mini on 2024-04-23 in 4K and 128K variants. This guide uses Phi-3-mini-4k-instruct, the MIT-licensed 3.8B text model. The context budget must accommodate both your input and the generated answer. This is not the 128K checkpoint, Phi-3.5 Mini or any Phi-4 model.

What the local tests show

PP is prompt processing and TG is generation, both in tokens per second.

Original run Configuration Reported result
M5 Max MacBook Pro, 128 GB 4-bit MLX; mlxcel 0.7.0-beta.1, a50ff440, Metal, macOS 26.6.2. Synthetic 512-token input, 128 generated tokens. PP 6,837.66; TG 195.47
Ryzen AI Max+ 395 / Radeon 8060S Windows, 128 GB unified memory, Q4_K_M GGUF, Ollama 0.34.4 and ROCm 7.1. Dedicated speed section. TG 17.6 for one stream; 44.5 total across four; first token 0.27 s

The Mac harness warms up before timing and suppresses end-of-generation to keep the output length fixed. Its numbers come from mlxcel, not MLX LM. The AMD report lists a larger backend context setting, but that does not change the checkpoint’s documented 4K window. The tests differ in runtime, weight format and workload; their rates are not a hardware ranking. No exact 4K NVIDIA GPU result was verified here.

Test it before extending the prompt

Choose the smallest passage that contains all requested fields and leave space for the response. If adding an unrelated paragraph changes the extracted value, shorten to the relevant passage and retest. A runtime setting above the checkpoint window does not establish that the model used the extra text.

  1. On Apple Silicon, use the 4-bit MLX conversion with MLX LM. On a GGUF runner, choose the 4K package from Microsoft with llama.cpp, or use the exact Ollama Q4_K_M tag. Do not assume the installed weights reproduce a benchmark file.
  2. Give it a short public or synthetic paragraph with a name, amount and delivery date. Ask for those three fields and check that each value appears in the input.
  3. Add a second, irrelevant date and repeat with the same output cap. If it picks the wrong date or drops a field, shorten the excerpt or try a different model. Record the exact tag, total answer time and whether the extracted values were right.

Try two owner-and-date questions first

Write a note with two independent records. Cedar has Mia checking stock on December 3, 2026. Pine has Noel checking labels on December 8, 2026. Ask for the owner and date for Cedar alone. An acceptable JSON object contains "owner":"Mia" and "date":"2026-12-03". Preserve both the actor and the date. A correct date paired with Noel has mixed two records and fails the exercise.

Now change the Cedar date to “unconfirmed” while retaining the dated Pine task. Use the identical question and set null for unavailable fields. The answer should still name Mia and leave the date empty. A source with a plausible distractor date is useful because it reveals whether the model can refrain from completing the pattern. Set the expected outputs before running the model so a convincing reply cannot change your scoring rule.

For a third test, put a correction on a separate line. The original note says Mia on December 3; the correction changes the person to Rae without supplying a replacement date. Decide in advance whether the former date remains attached under your source’s rules. State that rule directly. A test built to measure extraction must distinguish a difficult inference from an underspecified input. If two people would read the correction differently, clarify the record or mark the answer for review.

Reserve space for the prompt and the reply

Use the exact 4K Instruct checkpoint, rather than a 128K variant or a later Phi model that shares familiar naming. Record the full model identifier and local conversion. Start with a small configured window and a response cap large enough for two fields. Templates, prior turns and system messages consume budget too. Fresh requests make it easier to tell how much of the input is the actual document. Confirm the runtime’s reported allocation and input count when those measurements are available.

Add more text only after the small fixture passes. Put the relevant record near the start, middle and end in different trials. Keep the question identical and use the same cap. If the field becomes incorrect when moved, check whether all the text was included and whether the model really received the relevant record. A configured window is one setting. An actual processed input count and a checked response tell you what happened in the request.

If you need information from more pages, split the document into meaningful sections. Start with the section named in your question or select a short excerpt using a known identifier. Preserve the source path and page or heading so you can trace results later. Keep related fields on the same side of a split whenever possible. If a field depends on facts from two excerpts, present both labeled excerpts and explicitly allow an unknown answer when one is absent. Compare the reply with both sections before using it.

Diagnose wrong output before changing the model

A parsing error and a source error call for different interventions. If the shape is invalid, check the stop reason and output cap. A truncated closing brace can be a sign the request ended too early. If the shape is valid but the date came from the wrong task, inspect the prompt and excerpt. Move the named target closer to the source or extract one record at a time. Keep the original flawed output and compare it with a rerun of the same document.

When the note comes from a PDF or document application, verify the exact text sent to the local model. A copied column can separate names from dates. A screenshot may supply no text to a text-only checkpoint. Run the plain-text version first. If it works and the document fails, trace the document conversion or selection before changing your context window. In a local workflow, preserve source text next to each reply so someone can check the origin of a value.

Measure time for the finished operation

Record model loading separately from the time to first text and time to a usable complete object. A short reply can still start late if the input is long. A response that stops early may report respectable generation speed without producing any usable answer. Check the complete object, the field values and the elapsed time for the task. Keep the same source and request when comparing a different runtime or conversion.

In your first real pilot, keep documents short, with one target record and an explicit outcome. Log facts that were absent and examples that required human review. If the workflow regularly requires collecting details across many pages, begin with deterministic record selection or a model tested on that longer use case. Confirm one shared fixture before comparing speeds. That will show which option delivers the right fields within your actual time and context budget.

Test a cutoff without losing the answer on purpose

Use two versions of the same short document for a context test. In version A, the Cedar record appears near the beginning. In version B, move the identical record near the end. Mix in a few paragraphs that do not introduce conflicting values. Keep the final question and answer format unchanged. Before you submit, count or estimate the input according to the runner’s tools and leave room for the response. Then record the input tokens the runner actually reports, if it exposes them. This gives you a way to distinguish whether a longer prompt was processed or contained text the local client dropped before generation.

If you can confirm the target record was included, compare the two outputs. A correct answer when the record is first and a wrong answer when it is last can show a position-related quality problem. A missing record or context error instead points to truncation or packaging. Replace the long input with the one relevant section and repeat. If the short excerpt fixes the answer, use a stable preselection method for that workflow and keep the original document for review. Record whether you obtained exact quoted support or only the correct field value.

Avoid combining this position test with a change to output length, precision, or prompt language. Each change affects a different question. Add one separate paired control after choosing a workable position and document length. For example, ask for a correctly formatted date under an output cap that can accommodate the whole JSON object. Follow with a shorter cap in a new trial if you need to understand truncation. Retain the partial result and the stop condition so an incomplete object cannot be mistaken for a fully evaluated semantic failure. That distinction informs whether you need more answer space or a better extraction method.