Views
No views yet
model.safetensors with the matching tokenizer.json, CPU-first Reframr runtime source, config, generation defaults, benchmark summary, and runnable examples.| Property | Reframr-RFM-v2-Base |
|---|---|
| Family | Reframr / Recurrent Flow Memory |
| Organization | OkeyMeta Ltd |
| Checkpoint kind | reframr-analytical |
| Base model | Scratch |
| Transformer layers | None |
| Attention stack | None |
| Tokenizer | FrameToken |
| Weight file | model.safetensors |
| Runtime | CPU-first Reframr Python runtime |
| Public size label | 20B structured effective |
| Layout profile | rfm-20b-structured |
| Tokenizer vocab size | 18,083 |
| Embedding dim | 192 |
| State dim | 192 |
| State width | 1,536 |
| Tensor count | 38 |
1python -m pip install -r requirements.txt
2python -m reframr inspect --model model.safetensors1python -m reframr generate \
2 --model model.safetensors \
3 --context "Who are you, and what makes Reframr different?" \
4 --max-tokens 120 \
5 --temperature 0.58 \
6 --decode-top-k 64 \
7 --decode-top-p 0.92 \
8 --repetition-penalty 1.251python -m reframr generate \
2 --model model.safetensors \
3 --system "Be concise, practical, and cite sources when tool results are provided." \
4 --context "Explain how computed weights change the economics of language models." \
5 --max-tokens 120 \
6 --temperature 0.58python -m reframr serve --model model.safetensors --max-tokens 1201{"prompt":"Write a deployment-risk memo for a fintech API migration.","system":"Use a calm CTO tone. Separate risks, mitigations, and decision points.","temperature":0.58,"decode_top_k":64,"max_tokens":180}
2{"prompt":"Who won the most recent mayoral runoff in Rivergate?","tool_results":[{"name":"web.search","ok":true,"source":{"title":"Local Civic Wire","url":"https://example.org/rivergate-runoff","snippet":"Mara Ibekwe won the Rivergate mayoral runoff with 52.4 percent of the vote."}}],"max_tokens":80}python -m reframr chat-completion --model model.safetensors < request.json"stream": true in the request to receive SSE-style data: ... chunks ending with data: [DONE]. See docs/openai_compat.md for chat, streaming, and host-side tool-loop examples.messages and tool results through the included compose_generation_context helper. The model does not browse by itself from static weights; your app provides tool outputs, and Reframr writes the final answer from that evidence.1import json
2from pathlib import Path
3
4from reframr.cli import compose_generation_context
5from reframr.model import ReframrModel
6
7model = ReframrModel.load(Path("model.safetensors"))
8
9messages = [
10 {
11 "role": "system",
12 "content": "Use sources when they are provided. If no source is available for a fresh fact, say what is missing.",
13 },
14 {
15 "role": "user",
16 "content": "Who won the Rivergate mayoral runoff, and what was the margin?",
17 },
18 {
19 "role": "assistant",
20 "tool_calls": [
21 {
22 "id": "call_1",
23 "type": "function",
24 "function": {
25 "name": "web.search",
26 "arguments": json.dumps({"query": "Rivergate mayoral runoff result margin"}),
27 },
28 }
29 ],
30 },
31 {
32 "role": "tool",
33 "tool_call_id": "call_1",
34 "name": "web.search",
35 "content": json.dumps({
36 "ok": True,
37 "source": {
38 "title": "Local Civic Wire",
39 "url": "https://example.org/rivergate-runoff",
40 "snippet": "Mara Ibekwe won the Rivergate mayoral runoff with 52.4 percent of the vote.",
41 },
42 }),
43 },
44]
45
46context = compose_generation_context("", messages=messages)
47print(
48 model.generate_text(
49 context,
50 max_tokens=90,
51 temperature=0.58,
52 top_k=64,
53 top_p=0.92,
54 repetition_penalty=1.25,
55 )
56)1{
2 "max_tokens": 120,
3 "temperature": 0.58,
4 "decode_top_k": 64,
5 "decode_top_p": 0.92,
6 "repetition_penalty": 1.25,
7 "reasoning_profile": "none"
8}0.72. For safer factual answers, keep temperature lower and provide tool/source evidence.0.35, 0.58, and 0.72: identity chat, instruction following, story detail preservation, compound requests, no-tool current-event refusal, emoji use, reasoning, and source-grounded tool result answering. See benchmark-open.json for the recorded local run.LICENSE.md. You may use Reframr-RFM-v2-Base in projects, including commercial projects, as long as attribution is preserved and public uses cite OkeyMeta/Reframr.1@software{okeymeta_reframr_rfm_v2_2026,
2 title = {Reframr-RFM-v2-Base},
3 author = {OkeyMeta Ltd and Nwaozor, Okechukwu Goodnews},
4 year = {2026},
5 url = {https://huggingface.co/OkeyMeta/Reframr-RFM-v2-Base}
6}LICENSE.md for permitted uses and attribution requirements.