bpHigh commited on
Commit
567557d
·
verified ·
1 Parent(s): c2a71ef

Label the long-context Inkling model 256K

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. openenv/rail_openenv/server.py +2 -2
README.md CHANGED
@@ -86,8 +86,8 @@ above, so these rows compare with each other:
86
  | base | 64K, 8K, high | 0.119 (0.082-0.166) | 9 | 0 |
87
  | base | 64K, 8K, max | 0.111 (0.054-0.187) | 7 | 1 |
88
  | after RL (23 steps) | 64K, 8K, high | 0.186 (0.142-0.242) | 13 | 1 |
89
- | base | 262K, 32K, max | 0.259 (0.192-0.337) | 25 | 2 |
90
- | after RL (12 steps) | 262K, 32K, max | **0.316** (0.231-0.407) | 26 | 3 |
91
 
92
  The **Inkling 2 Small** tab replays every one of these plans on the map.
93
 
 
86
  | base | 64K, 8K, high | 0.119 (0.082-0.166) | 9 | 0 |
87
  | base | 64K, 8K, max | 0.111 (0.054-0.187) | 7 | 1 |
88
  | after RL (23 steps) | 64K, 8K, high | 0.186 (0.142-0.242) | 13 | 1 |
89
+ | base | 256K, 32K, max | 0.259 (0.192-0.337) | 25 | 2 |
90
+ | after RL (12 steps) | 256K, 32K, max | **0.316** (0.231-0.407) | 26 | 3 |
91
 
92
  The **Inkling 2 Small** tab replays every one of these plans on the map.
93
 
openenv/rail_openenv/server.py CHANGED
@@ -78,11 +78,11 @@ def model_name(spec: str) -> str:
78
  version = ".".join(p for p in parts if p.isdigit())
79
  name = f"Claude {family} {version}".strip()
80
  return f"{name} (effort {effort})" if effort and effort != "default" else name
81
- if model.startswith("tinker:"): # "tinker:org/Inkling-2-Small:peft:262144#rl-b@max" -> "Inkling 2 Small 262K, RL rl-b (effort max)"
82
  base, _, ckpt = model[7:].partition("#")
83
  name = base.split(":")[0].split("/")[-1].replace("-", " ")
84
  ctx = base.split(":peft:")[1] if ":peft:" in base else "65536"
85
- size = {"65536": "64K", "262144": "262K"}.get(ctx, f"{int(ctx) // 1000}K") # as the notes and READMEs say
86
  name = f"{name} {size}" + (f", RL {ckpt}" if ckpt else "")
87
  return f"{name} (effort {effort})" if effort and effort != "default" else name
88
  return model
 
78
  version = ".".join(p for p in parts if p.isdigit())
79
  name = f"Claude {family} {version}".strip()
80
  return f"{name} (effort {effort})" if effort and effort != "default" else name
81
+ if model.startswith("tinker:"): # "tinker:org/Inkling-2-Small:peft:262144#rl-b@max" -> "Inkling 2 Small 256K, RL rl-b (effort max)"
82
  base, _, ckpt = model[7:].partition("#")
83
  name = base.split(":")[0].split("/")[-1].replace("-", " ")
84
  ctx = base.split(":peft:")[1] if ":peft:" in base else "65536"
85
+ size = {"65536": "64K", "262144": "256K"}.get(ctx, f"{int(ctx) // 1024}K") # K = 1,024 tokens, as Tinker lists them
86
  name = f"{name} {size}" + (f", RL {ckpt}" if ckpt else "")
87
  return f"{name} (effort {effort})" if effort and effort != "default" else name
88
  return model