emrevrg commited on
Commit
d85c028
·
verified ·
1 Parent(s): 481627c

AUBIN-Learn: instant self-learning memory, fast skills, self-calibration + reports

Browse files
README.md CHANGED
@@ -51,8 +51,6 @@ python mind2web_eval.py --adapter hf:emrevrg/AUBIN-12B-Web --split test_domain -
51
  <details><summary><b>AUBIN-Learn and the latest family results</b></summary>
52
 
53
  <!-- AUBIN-LEARN:BEGIN -->
54
- 🎬 **Watch the 80-second AUBIN film:** [English](https://huggingface.co/emrevrg/AUBIN-12B/blob/main/media/aubin_family_en.mp4) · [Türkçe](https://huggingface.co/emrevrg/AUBIN-12B/blob/main/media/aubin_family_tr.mp4)
55
-
56
  ## AUBIN-Learn — instant self-learning (experimental, Norovox core)
57
 
58
  AUBIN can learn from feedback without retraining. Verified cases go into an external **decision memory** (a write takes well under
@@ -86,7 +84,7 @@ On Kev's own training sources AUBIN is still 1.7 points behind Kev-9B; this is s
86
  |---|---|---|
87
  | ScreenSpot click accuracy (visual computer use) | **67.7** AUBIN-E4B-Screen (zero-shot 48.5) | SeeClick 53.4 · CogAgent 47.4 · UGround-7B 73.3 · UI-TARS-7B 89.5 |
88
  | Mind2Web step success, cross-task / website / domain | 47.0 / 37.0 / 43.5 (12B) · 47.0 / 34.5 / 42.0 (E4B, ≈2× faster) | MindAct-XL 52.0 / 38.9 / 39.6 |
89
- | ViZDoom FPS, kills per episode | **18.3** with in-game self-learning (AUBIN-Learn) · 15.1 without (AUBIN-12B, 0.6 s/move) | random 1.25 · scripted rule 19.6 |
90
  | Kev training sources + learned skills (selected on kev_dev + cal only) | **87.08**, NLL 0.43 (ensemble 85.69, NLL 0.79) | Kev-9B 87.4 (not yet beaten) · Kev-27B 87.0 · Kev-4B 86.5 |
91
 
92
  New in `code/`: `AubinLearning.acquire_skill` (learns a skill, self-tests on held-out data, enables only on proven gain), `learn_skill2/3.py`, `fuse_multi.py`, `screenspot_train/eval.py`, `fps_vizdoom.py`.
@@ -99,15 +97,8 @@ New in `code/`: `AubinLearning.acquire_skill` (learns a skill, self-tests on hel
99
  | web agent | [AUBIN-12B-Web](https://huggingface.co/emrevrg/AUBIN-12B-Web) · [AUBIN-E4B-Web](https://huggingface.co/emrevrg/AUBIN-E4B-Web) (fast) · 31B web training running | Mind2Web cross-domain 43.5 (MindAct-XL 39.6) |
100
  | visual computer use (click on screenshots) | [AUBIN-E4B-Screen](https://huggingface.co/emrevrg/AUBIN-E4B-Screen) · 12B screen training running | ScreenSpot 67.7 |
101
  | real-time control | [AUBIN-12B-Control](https://huggingface.co/emrevrg/AUBIN-12B-Control) · [AUBIN-E4B-Control](https://huggingface.co/emrevrg/AUBIN-E4B-Control) | 92% success, 0 lava deaths |
102
- | FPS play, self-learning in game | AUBIN-12B + AUBIN-Learn | ViZDoom 18.3 kills/episode (15.1 without learning) |
103
  | self-learning, self-acquired skills | `AubinLearning` (`learn`, `acquire_skill`) in every repo | skills switch on only after a held-out self-test proves a gain |
104
-
105
- ---
106
-
107
- **Built by a 17-year-old high school student: no sponsor, no budget, just free GPUs and AI subscriptions paid for with difficulty.** Support goes straight into GPU compute, and supporters are credited and get early access. Contact: **zgremre@gmail.com** · **emrevrgdev@gmail.com** · [SUPPORT.md](SUPPORT.md)
108
- **17 yaşında bir lise öğrencisinin eseri: destekçisiz, bütçesiz; ücretsiz GPU'lar ve zorlukla ödenen yapay zekâ abonelikleriyle.** Desteğin doğrudan GPU'ya gider. Destekçiler teşekkür listesinde yer alır ve erken erişim kazanır.
109
-
110
- <sub>Built with Claude Opus 5.5 and GPT-5.6 Sol; because of OpenAI usage limits, the final stretch was completed with Claude Opus 5.5. · Geliştirme Claude Opus 5.5 ve GPT-5.6 Sol ile başladı; OpenAI'ın kullanım limitleri nedeniyle son noktayı Claude Opus 5.5 ile koyduk.</sub>
111
  <!-- AUBIN-LEARN:END -->
112
 
113
  </details>
 
51
  <details><summary><b>AUBIN-Learn and the latest family results</b></summary>
52
 
53
  <!-- AUBIN-LEARN:BEGIN -->
 
 
54
  ## AUBIN-Learn — instant self-learning (experimental, Norovox core)
55
 
56
  AUBIN can learn from feedback without retraining. Verified cases go into an external **decision memory** (a write takes well under
 
84
  |---|---|---|
85
  | ScreenSpot click accuracy (visual computer use) | **67.7** AUBIN-E4B-Screen (zero-shot 48.5) | SeeClick 53.4 · CogAgent 47.4 · UGround-7B 73.3 · UI-TARS-7B 89.5 |
86
  | Mind2Web step success, cross-task / website / domain | 47.0 / 37.0 / 43.5 (12B) · 47.0 / 34.5 / 42.0 (E4B, ≈2× faster) | MindAct-XL 52.0 / 38.9 / 39.6 |
87
+ | ViZDoom FPS, kills per episode (30 episodes) | **17.3** with in-game self-learning (AUBIN-Learn) · 15.6 without (AUBIN-12B, 0.6 s/move) | random 1.3 · scripted rule 18.8 |
88
  | Kev training sources + learned skills (selected on kev_dev + cal only) | **87.08**, NLL 0.43 (ensemble 85.69, NLL 0.79) | Kev-9B 87.4 (not yet beaten) · Kev-27B 87.0 · Kev-4B 86.5 |
89
 
90
  New in `code/`: `AubinLearning.acquire_skill` (learns a skill, self-tests on held-out data, enables only on proven gain), `learn_skill2/3.py`, `fuse_multi.py`, `screenspot_train/eval.py`, `fps_vizdoom.py`.
 
97
  | web agent | [AUBIN-12B-Web](https://huggingface.co/emrevrg/AUBIN-12B-Web) · [AUBIN-E4B-Web](https://huggingface.co/emrevrg/AUBIN-E4B-Web) (fast) · 31B web training running | Mind2Web cross-domain 43.5 (MindAct-XL 39.6) |
98
  | visual computer use (click on screenshots) | [AUBIN-E4B-Screen](https://huggingface.co/emrevrg/AUBIN-E4B-Screen) · 12B screen training running | ScreenSpot 67.7 |
99
  | real-time control | [AUBIN-12B-Control](https://huggingface.co/emrevrg/AUBIN-12B-Control) · [AUBIN-E4B-Control](https://huggingface.co/emrevrg/AUBIN-E4B-Control) | 92% success, 0 lava deaths |
100
+ | FPS play, self-learning in game | AUBIN-12B + AUBIN-Learn | ViZDoom 17.3 kills/episode vs 15.6 without learning (30 episodes) |
101
  | self-learning, self-acquired skills | `AubinLearning` (`learn`, `acquire_skill`) in every repo | skills switch on only after a held-out self-test proves a gain |
 
 
 
 
 
 
 
102
  <!-- AUBIN-LEARN:END -->
103
 
104
  </details>
SUPPORT.md CHANGED
@@ -12,7 +12,7 @@ Even so, AUBIN has measured results today:
12
  Every number comes with code and result files, so anyone can reproduce it.
13
 
14
  My goal is to grow **Norovox** into a strong, open AI venture from Türkiye that anyone can use. For that I need support and investment.
15
- - **Where support goes:** every contribution goes directly into GPU compute and model training.
16
  - **What supporters get:** a place in our acknowledgments and early access to new releases.
17
 
18
  To support, invest, or simply talk, reach me at **zgremre@gmail.com** or **emrevrgdev@gmail.com**.
@@ -29,7 +29,7 @@ Buna rağmen AUBIN bugün ölçülmüş sonuçlara sahip:
29
  Her sayının kodu ve sonuç dosyası açık, herkes kendisi tekrar üretebilir.
30
 
31
  Hayalim **Norovox**'u Türkiye'den çıkan, herkesin kullanabileceği güçlü ve açık bir yapay zekâ girişimine dönüştürmek. Bunun için desteğinize ve yatırımınıza ihtiyacım var.
32
- - **Desteğin gittiği yer:** Her katkı doğrudan GPU gücüne ve modelin eğitimine gidecek.
33
  - **Destekçilere:** Teşekkür listesinde yer ve yeni sürümlere erken erişim.
34
 
35
  Destek olmak, yatırım yapmak ya da sadece tanışmak isterseniz **zgremre@gmail.com** veya **emrevrgdev@gmail.com** adresinden bana ulaşabilirsiniz.
 
12
  Every number comes with code and result files, so anyone can reproduce it.
13
 
14
  My goal is to grow **Norovox** into a strong, open AI venture from Türkiye that anyone can use. For that I need support and investment.
15
+ - **Where support goes:** GPU compute, model training, and the AI development tools this work depends on (such as Claude). I build AUBIN with them every day, and paying for them is one of the hardest parts.
16
  - **What supporters get:** a place in our acknowledgments and early access to new releases.
17
 
18
  To support, invest, or simply talk, reach me at **zgremre@gmail.com** or **emrevrgdev@gmail.com**.
 
29
  Her sayının kodu ve sonuç dosyası açık, herkes kendisi tekrar üretebilir.
30
 
31
  Hayalim **Norovox**'u Türkiye'den çıkan, herkesin kullanabileceği güçlü ve açık bir yapay zekâ girişimine dönüştürmek. Bunun için desteğinize ve yatırımınıza ihtiyacım var.
32
+ - **Desteğin gittiği yer:** GPU gücü, modelin eğitimi ve bu işin dayandığı yapay zekâ geliştirme araçları (Claude gibi). AUBIN'i her gün bu araçlarla geliştiriyorum ve bunların ücretini karşılamak en zor kısımlardan biri.
33
  - **Destekçilere:** Teşekkür listesinde yer ve yeni sürümlere erken erişim.
34
 
35
  Destek olmak, yatırım yapmak ya da sadece tanışmak isterseniz **zgremre@gmail.com** veya **emrevrgdev@gmail.com** adresinden bana ulaşabilirsiniz.
code/aubin/omni.py CHANGED
@@ -28,7 +28,7 @@ CLICK_PROMPT = ('You are a GUI agent. In this screenshot, where should I click t
28
 
29
 
30
  class AubinOmni:
31
- def __init__(self, base, adapters, four_bit=True, device_map="auto"):
32
  import torch
33
  from transformers import AutoProcessor, AutoModelForImageTextToText, BitsAndBytesConfig
34
  from peft import PeftModel
@@ -40,14 +40,27 @@ class AubinOmni:
40
  self.tok = getattr(self.proc, "tokenizer", self.proc)
41
  m = AutoModelForImageTextToText.from_pretrained(base, **kw)
42
  names = list(adapters)
43
- self.model = PeftModel.from_pretrained(m, adapters[names[0]], adapter_name=names[0])
44
- for n in names[1:]:
45
- self.model.load_adapter(adapters[n], adapter_name=n)
 
 
 
 
46
  self.model.eval()
47
- self.base, self.adapters, self._active = base, dict(adapters), None
48
  self._scorers = {}
49
  self.learning = None
50
 
 
 
 
 
 
 
 
 
 
51
  @classmethod
52
  def preset(cls, size="12B", **kw):
53
  p = dict(PRESETS[size]); base = p.pop("base")
@@ -59,6 +72,9 @@ class AubinOmni:
59
  def use(self, ability):
60
  if ability not in self.adapters:
61
  raise ValueError(f"'{ability}' bu boyutta henüz yok (mevcut: {self.abilities()})")
 
 
 
62
  if self._active != ability:
63
  self.model.set_adapter(ability); self._active = ability
64
  return self
 
28
 
29
 
30
  class AubinOmni:
31
+ def __init__(self, base, adapters, four_bit=True, device_map="auto", lazy=True):
32
  import torch
33
  from transformers import AutoProcessor, AutoModelForImageTextToText, BitsAndBytesConfig
34
  from peft import PeftModel
 
40
  self.tok = getattr(self.proc, "tokenizer", self.proc)
41
  m = AutoModelForImageTextToText.from_pretrained(base, **kw)
42
  names = list(adapters)
43
+ first = "decide" if "decide" in adapters else names[0]
44
+ self.model = PeftModel.from_pretrained(m, adapters[first], adapter_name=first)
45
+ self._loaded = {first}
46
+ if not lazy: # lazy=True (varsayılan): diğer yetenekler ilk kullanımda yüklenir → hızlı açılış
47
+ for n in names:
48
+ if n not in self._loaded:
49
+ self.model.load_adapter(adapters[n], adapter_name=n); self._loaded.add(n)
50
  self.model.eval()
51
+ self.base, self.adapters, self._active = base, dict(adapters), first
52
  self._scorers = {}
53
  self.learning = None
54
 
55
+ @classmethod
56
+ def from_hub(cls, repo="emrevrg/AUBIN-Omni", size="E4B", **kw):
57
+ """Yetenek manifestosunu (omni.json) Hub'dan okur: {boyut: {"base": ..., yetenek: adaptör}}. Yeni yetenekler eklendikçe
58
+ kod değişmeden gelir."""
59
+ from huggingface_hub import hf_hub_download
60
+ man = json.load(open(hf_hub_download(repo, "omni.json"), encoding="utf-8"))
61
+ p = dict(man["sizes"][size]); base = p.pop("base")
62
+ return cls(base, p, **kw)
63
+
64
  @classmethod
65
  def preset(cls, size="12B", **kw):
66
  p = dict(PRESETS[size]); base = p.pop("base")
 
72
  def use(self, ability):
73
  if ability not in self.adapters:
74
  raise ValueError(f"'{ability}' bu boyutta henüz yok (mevcut: {self.abilities()})")
75
+ if ability not in self._loaded: # tembel yükleme: yalnız ilk kullanımda (~saniyeler)
76
+ self.model.load_adapter(self.adapters[ability], adapter_name=ability); self._loaded.add(ability)
77
+ self.model.eval()
78
  if self._active != ability:
79
  self.model.set_adapter(ability); self._active = ability
80
  return self
reports/AUBIN_RESULTS_2026-10-03.md CHANGED
@@ -171,7 +171,8 @@ Code is in `code/`. Every number above can be reproduced from the scripts and ru
171
  - A bug in the memory recall made the first self-learning runs collapse: with only a handful of stored cases, an unrelated case voted on every situation.
172
  - This is fixed with a similarity threshold (min_sim) in ubin/learn.py.
173
  - **Fixed run, same 12 seeds:** AUBIN-12B + AUBIN-Learn scores **18.3 kills per episode (max 25)**, against **15.1** for the same model without learning: +3.2, or +21%. The memory stores moves that made progress, keyed by game situation, and persists across episodes.
174
- - Per-episode differences range from −12 to +15, so 12 episodes are not yet statistically conclusive. A longer run is planned.
 
175
 
176
  ### E. Self-acquired skills (product)
177
 
 
171
  - A bug in the memory recall made the first self-learning runs collapse: with only a handful of stored cases, an unrelated case voted on every situation.
172
  - This is fixed with a similarity threshold (min_sim) in ubin/learn.py.
173
  - **Fixed run, same 12 seeds:** AUBIN-12B + AUBIN-Learn scores **18.3 kills per episode (max 25)**, against **15.1** for the same model without learning: +3.2, or +21%. The memory stores moves that made progress, keyed by game situation, and persists across episodes.
174
+ - Per-episode differences range from −12 to +15, so 12 episodes were not conclusive.
175
+ - **30-episode confirmation, same seeds:** with learning **17.3**, without learning **15.6** (+1.7, +11%); scripted rule 18.8; random 1.3. The paired difference is not yet statistically significant (t ≈ 1.15). The 12-episode figure overstated the gain; the 30-episode figure is the one to cite.
176
 
177
  ### E. Self-acquired skills (product)
178
 
reports/fps30.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"learn": [19, 11, 24, 21, 8, 25, 23, 23, 15, 9, 21, 20, 24, 11, 22, 11, 13, 16, 11, 10, 26, 24, 25, 25, 9, 15, 12, 14, 25, 7], "plain": [22, 23, 9, 16, 10, 11, 10, 14, 17, 15, 21, 13, 19, 14, 12, 9, 16, 10, 8, 23, 25, 17, 22, 25, 24, 10, 23, 8, 11, 11], "rule_mean": 18.8, "random_mean": 1.3}