RonalLI Agnuxo commited on
Commit
b24943e
Β·
0 Parent(s):

Duplicate from Agnuxo/OpenCLAW-SEED-data

Browse files

Co-authored-by: Francisco Angulo de Lafuente <Agnuxo@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: instruction
5
+ dtype: string
6
+ - name: input
7
+ dtype: string
8
+ - name: output
9
+ dtype: string
10
+ license: mit
11
+ task_categories:
12
+ - text-generation
13
+ language:
14
+ - en
15
+ size_categories:
16
+ - n<1K
17
+ pretty_name: OpenCLAW SEED Training Data
18
+ ---
19
+
20
+ # 🌱 OpenCLAW SEED Training Data
21
+
22
+ Autonomous self-growing training dataset for the OpenCLAW SEED system.
23
+
24
+ ## What is this?
25
+ This dataset is **continuously growing**. Every 6 hours, the SEED harvester collects new training data from:
26
+ - ArXiv papers on neuromorphic computing, physics-based AI, and AGI
27
+ - Semantic Scholar research database
28
+ - Our own GitHub repositories (57 repos)
29
+ - Agent interaction logs and self-reflection
30
+
31
+ ## Format
32
+ Standard instruction-following JSONL:
33
+ ```json
34
+ {"instruction": "...", "input": "...", "output": "..."}
35
+ ```
36
+
37
+ ## Usage
38
+ ```python
39
+ from datasets import load_dataset
40
+ ds = load_dataset("Agnuxo/OpenCLAW-SEED-data", data_files="training_dataset.jsonl")
41
+ ```
42
+
43
+ ## Growth History
44
+ This dataset grows autonomously. The SEED system harvests, curates, and expands it without human intervention.
45
+
46
+ Created by Francisco Angulo de Lafuente | [GitHub](https://github.com/Agnuxo1) | [ArXiv](https://arxiv.org/search/cs?searchtype=author&query=de+Lafuente,+F+A)
SEED_Training_Kaggle.ipynb ADDED
@@ -0,0 +1,389 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "kernelspec": {
4
+ "display_name": "Python 3",
5
+ "language": "python",
6
+ "name": "python3"
7
+ },
8
+ "language_info": {
9
+ "name": "python",
10
+ "version": "3.10.0"
11
+ },
12
+ "kaggle": {
13
+ "accelerator": "gpu",
14
+ "dataSources": [],
15
+ "isGpuEnabled": true,
16
+ "isInternetEnabled": true
17
+ }
18
+ },
19
+ "nbformat": 4,
20
+ "nbformat_minor": 4,
21
+ "cells": [
22
+ {
23
+ "cell_type": "markdown",
24
+ "metadata": {},
25
+ "source": [
26
+ "# \ud83c\udf31 OpenCLAW SEED \u2014 Autonomous Model Training\n",
27
+ "\n",
28
+ "This notebook **trains the SEED model** using free Kaggle GPU.\n",
29
+ "It downloads data from HuggingFace, trains a LoRA adapter, merges it, and pushes back.\n",
30
+ "\n",
31
+ "**Requirements:**\n",
32
+ "- Kaggle GPU (T4) \u2014 30 hours/week free\n",
33
+ "- HuggingFace token in Kaggle Secrets as `HF_TOKEN`\n",
34
+ "\n",
35
+ "**This notebook is auto-generated and fully autonomous.**"
36
+ ]
37
+ },
38
+ {
39
+ "cell_type": "code",
40
+ "metadata": {},
41
+ "source": [
42
+ "import os\n",
43
+ "# Get HF token from Kaggle secrets\n",
44
+ "try:\n",
45
+ " from kaggle_secrets import UserSecretsClient\n",
46
+ " secrets = UserSecretsClient()\n",
47
+ " os.environ['HF_TOKEN'] = secrets.get_secret('HF_TOKEN')\n",
48
+ " print('\u2705 HF_TOKEN loaded from Kaggle Secrets')\n",
49
+ "except:\n",
50
+ " os.environ['HF_TOKEN'] = '' # Set manually below if needed\n",
51
+ " print('\u26a0\ufe0f Set HF_TOKEN manually or via Kaggle Secrets')"
52
+ ],
53
+ "outputs": [],
54
+ "execution_count": null
55
+ },
56
+ {
57
+ "cell_type": "code",
58
+ "metadata": {},
59
+ "source": [
60
+ "# Install dependencies\n",
61
+ "!pip install -q transformers>=4.45 datasets peft bitsandbytes trl accelerate huggingface_hub\n",
62
+ "print('\u2705 Dependencies installed')"
63
+ ],
64
+ "outputs": [],
65
+ "execution_count": null
66
+ },
67
+ {
68
+ "cell_type": "code",
69
+ "metadata": {},
70
+ "source": [
71
+ "# Download training data from HuggingFace\n",
72
+ "from huggingface_hub import HfApi, hf_hub_download, login\n",
73
+ "import json, os\n",
74
+ "\n",
75
+ "HF_TOKEN = os.environ.get('HF_TOKEN', '')\n",
76
+ "if HF_TOKEN:\n",
77
+ " login(token=HF_TOKEN)\n",
78
+ "\n",
79
+ "DATASET_REPO = 'Agnuxo/OpenCLAW-SEED-data'\n",
80
+ "os.makedirs('seed_data', exist_ok=True)\n",
81
+ "\n",
82
+ "api = HfApi()\n",
83
+ "files = api.list_repo_files(DATASET_REPO, repo_type='dataset')\n",
84
+ "for f in files:\n",
85
+ " if f.endswith('.jsonl'):\n",
86
+ " hf_hub_download(DATASET_REPO, f, repo_type='dataset', local_dir='seed_data')\n",
87
+ " print(f'Downloaded {f}')\n",
88
+ "\n",
89
+ "# Count entries\n",
90
+ "total = 0\n",
91
+ "for f in os.listdir('seed_data'):\n",
92
+ " if f.endswith('.jsonl'):\n",
93
+ " count = sum(1 for _ in open(f'seed_data/{f}'))\n",
94
+ " print(f' {f}: {count} entries')\n",
95
+ " total += count\n",
96
+ "print(f'\\n\ud83d\udcca Total: {total} training entries')"
97
+ ],
98
+ "outputs": [],
99
+ "execution_count": null
100
+ },
101
+ {
102
+ "cell_type": "code",
103
+ "metadata": {},
104
+ "source": [
105
+ "# ===== CONFIGURATION =====\n",
106
+ "BASE_MODEL = 'HuggingFaceTB/SmolLM2-135M-Instruct'\n",
107
+ "OUTPUT_MODEL = 'Agnuxo/OpenCLAW-SEED-135M'\n",
108
+ "LORA_R = 8\n",
109
+ "LORA_ALPHA = 16\n",
110
+ "EPOCHS = 3\n",
111
+ "BATCH_SIZE = 4\n",
112
+ "LEARNING_RATE = 2e-4\n",
113
+ "MAX_SEQ_LEN = 1024\n",
114
+ "\n",
115
+ "# Auto-detect: upgrade to larger model if we have enough data\n",
116
+ "if total >= 500:\n",
117
+ " BASE_MODEL = 'Qwen/Qwen2.5-0.5B-Instruct'\n",
118
+ " OUTPUT_MODEL = 'Agnuxo/OpenCLAW-SEED-0.5B'\n",
119
+ " LORA_R = 16\n",
120
+ " LORA_ALPHA = 32\n",
121
+ " EPOCHS = 2\n",
122
+ " LEARNING_RATE = 1e-4\n",
123
+ "if total >= 2000:\n",
124
+ " BASE_MODEL = 'Qwen/Qwen2.5-1.5B-Instruct'\n",
125
+ " OUTPUT_MODEL = 'Agnuxo/OpenCLAW-SEED-1.5B'\n",
126
+ " LORA_R = 32\n",
127
+ " LORA_ALPHA = 64\n",
128
+ " BATCH_SIZE = 2\n",
129
+ " LEARNING_RATE = 5e-5\n",
130
+ "if total >= 5000:\n",
131
+ " BASE_MODEL = 'Qwen/Qwen2.5-3B-Instruct'\n",
132
+ " OUTPUT_MODEL = 'Agnuxo/OpenCLAW-SEED-3B'\n",
133
+ " BATCH_SIZE = 1\n",
134
+ " EPOCHS = 1\n",
135
+ " LEARNING_RATE = 2e-5\n",
136
+ "\n",
137
+ "print(f'\ud83c\udf31 Training Stage:')\n",
138
+ "print(f' Base: {BASE_MODEL}')\n",
139
+ "print(f' Output: {OUTPUT_MODEL}')\n",
140
+ "print(f' LoRA r={LORA_R}, alpha={LORA_ALPHA}')\n",
141
+ "print(f' Epochs: {EPOCHS}, BS: {BATCH_SIZE}, LR: {LEARNING_RATE}')"
142
+ ],
143
+ "outputs": [],
144
+ "execution_count": null
145
+ },
146
+ {
147
+ "cell_type": "code",
148
+ "metadata": {},
149
+ "source": [
150
+ "# ===== LOAD AND PREPARE DATA =====\n",
151
+ "from datasets import Dataset\n",
152
+ "import json\n",
153
+ "\n",
154
+ "all_entries = []\n",
155
+ "for f in os.listdir('seed_data'):\n",
156
+ " if f.endswith('.jsonl'):\n",
157
+ " with open(f'seed_data/{f}') as fp:\n",
158
+ " for line in fp:\n",
159
+ " try:\n",
160
+ " entry = json.loads(line.strip())\n",
161
+ " instruction = entry.get('instruction', '')\n",
162
+ " inp = entry.get('input', '')\n",
163
+ " output = entry.get('output', '')\n",
164
+ " if instruction and output:\n",
165
+ " text = f'### Instruction:\\n{instruction}'\n",
166
+ " if inp:\n",
167
+ " text += f'\\n\\n### Input:\\n{inp}'\n",
168
+ " text += f'\\n\\n### Response:\\n{output}'\n",
169
+ " all_entries.append({'text': text})\n",
170
+ " except:\n",
171
+ " continue\n",
172
+ "\n",
173
+ "import random\n",
174
+ "random.shuffle(all_entries)\n",
175
+ "\n",
176
+ "# Split 90/10 train/eval\n",
177
+ "split = max(1, int(len(all_entries) * 0.9))\n",
178
+ "train_data = Dataset.from_list(all_entries[:split])\n",
179
+ "eval_data = Dataset.from_list(all_entries[split:])\n",
180
+ "\n",
181
+ "print(f'\ud83d\udcca Train: {len(train_data)}, Eval: {len(eval_data)}')\n",
182
+ "print(f'\ud83d\udcdd Sample:\\n{all_entries[0][\"text\"][:300]}...')"
183
+ ],
184
+ "outputs": [],
185
+ "execution_count": null
186
+ },
187
+ {
188
+ "cell_type": "code",
189
+ "metadata": {},
190
+ "source": [
191
+ "# ===== LOAD MODEL =====\n",
192
+ "import torch\n",
193
+ "from transformers import AutoModelForCausalLM, AutoTokenizer\n",
194
+ "\n",
195
+ "print(f'\ud83d\udd27 Loading {BASE_MODEL}...')\n",
196
+ "tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL, trust_remote_code=True)\n",
197
+ "if tokenizer.pad_token is None:\n",
198
+ " tokenizer.pad_token = tokenizer.eos_token\n",
199
+ "\n",
200
+ "model = AutoModelForCausalLM.from_pretrained(\n",
201
+ " BASE_MODEL,\n",
202
+ " torch_dtype=torch.float16,\n",
203
+ " device_map='auto',\n",
204
+ " trust_remote_code=True,\n",
205
+ ")\n",
206
+ "\n",
207
+ "total_params = sum(p.numel() for p in model.parameters())\n",
208
+ "print(f'\u2705 Model loaded: {total_params:,} parameters')\n",
209
+ "print(f' GPU: {torch.cuda.get_device_name(0) if torch.cuda.is_available() else \"CPU\"}')"
210
+ ],
211
+ "outputs": [],
212
+ "execution_count": null
213
+ },
214
+ {
215
+ "cell_type": "code",
216
+ "metadata": {},
217
+ "source": [
218
+ "# ===== APPLY LoRA =====\n",
219
+ "from peft import LoraConfig, get_peft_model\n",
220
+ "\n",
221
+ "lora_config = LoraConfig(\n",
222
+ " r=LORA_R,\n",
223
+ " lora_alpha=LORA_ALPHA,\n",
224
+ " target_modules=['q_proj', 'k_proj', 'v_proj', 'o_proj', 'gate_proj', 'up_proj', 'down_proj'],\n",
225
+ " lora_dropout=0.05,\n",
226
+ " bias='none',\n",
227
+ " task_type='CAUSAL_LM',\n",
228
+ ")\n",
229
+ "\n",
230
+ "model = get_peft_model(model, lora_config)\n",
231
+ "trainable = sum(p.numel() for p in model.parameters() if p.requires_grad)\n",
232
+ "print(f'\ud83e\uddec LoRA applied: {trainable:,} trainable params ({100*trainable/total_params:.2f}%)')"
233
+ ],
234
+ "outputs": [],
235
+ "execution_count": null
236
+ },
237
+ {
238
+ "cell_type": "code",
239
+ "metadata": {},
240
+ "source": [
241
+ "# ===== TRAIN =====\n",
242
+ "from trl import SFTConfig, SFTTrainer\n",
243
+ "\n",
244
+ "training_args = SFTConfig(\n",
245
+ " output_dir='./seed_checkpoints',\n",
246
+ " num_train_epochs=EPOCHS,\n",
247
+ " per_device_train_batch_size=BATCH_SIZE,\n",
248
+ " per_device_eval_batch_size=BATCH_SIZE,\n",
249
+ " gradient_accumulation_steps=4,\n",
250
+ " learning_rate=LEARNING_RATE,\n",
251
+ " weight_decay=0.01,\n",
252
+ " warmup_ratio=0.1,\n",
253
+ " lr_scheduler_type='cosine',\n",
254
+ " logging_steps=10,\n",
255
+ " eval_strategy='epoch',\n",
256
+ " save_strategy='epoch',\n",
257
+ " max_seq_length=MAX_SEQ_LEN,\n",
258
+ " dataset_text_field='text',\n",
259
+ " fp16=True,\n",
260
+ " report_to='none',\n",
261
+ " seed=42,\n",
262
+ ")\n",
263
+ "\n",
264
+ "trainer = SFTTrainer(\n",
265
+ " model=model,\n",
266
+ " args=training_args,\n",
267
+ " train_dataset=train_data,\n",
268
+ " eval_dataset=eval_data,\n",
269
+ " processing_class=tokenizer,\n",
270
+ ")\n",
271
+ "\n",
272
+ "print('\ud83d\udd25 Training started!')\n",
273
+ "result = trainer.train()\n",
274
+ "print(f'\u2705 Training complete! Loss: {result.training_loss:.4f}')"
275
+ ],
276
+ "outputs": [],
277
+ "execution_count": null
278
+ },
279
+ {
280
+ "cell_type": "code",
281
+ "metadata": {},
282
+ "source": [
283
+ "# ===== MERGE LoRA INTO BASE =====\n",
284
+ "from peft import PeftModel\n",
285
+ "\n",
286
+ "print('\ud83d\udd17 Merging LoRA adapter into base model...')\n",
287
+ "merged_model = model.merge_and_unload()\n",
288
+ "\n",
289
+ "# Save merged model locally\n",
290
+ "merged_model.save_pretrained('./seed_merged')\n",
291
+ "tokenizer.save_pretrained('./seed_merged')\n",
292
+ "print('\u2705 Merged model saved locally')"
293
+ ],
294
+ "outputs": [],
295
+ "execution_count": null
296
+ },
297
+ {
298
+ "cell_type": "code",
299
+ "metadata": {},
300
+ "source": [
301
+ "# ===== PUSH TO HUGGINGFACE HUB =====\n",
302
+ "if HF_TOKEN:\n",
303
+ " print(f'\u2601\ufe0f Pushing to {OUTPUT_MODEL}...')\n",
304
+ " merged_model.push_to_hub(OUTPUT_MODEL, token=HF_TOKEN, private=False)\n",
305
+ " tokenizer.push_to_hub(OUTPUT_MODEL, token=HF_TOKEN, private=False)\n",
306
+ " print(f'\u2705 Model published: https://huggingface.co/{OUTPUT_MODEL}')\n",
307
+ "else:\n",
308
+ " print('\u26a0\ufe0f No HF_TOKEN \u2014 model saved locally only')"
309
+ ],
310
+ "outputs": [],
311
+ "execution_count": null
312
+ },
313
+ {
314
+ "cell_type": "code",
315
+ "metadata": {},
316
+ "source": [
317
+ "# ===== TEST THE TRAINED MODEL =====\n",
318
+ "from transformers import pipeline\n",
319
+ "\n",
320
+ "gen = pipeline('text-generation', model=merged_model, tokenizer=tokenizer, max_new_tokens=150)\n",
321
+ "\n",
322
+ "test_prompts = [\n",
323
+ " '### Instruction:\\nWhat is CHIMERA?\\n\\n### Response:\\n',\n",
324
+ " '### Instruction:\\nExplain holographic neural networks.\\n\\n### Response:\\n',\n",
325
+ " '### Instruction:\\nWhat is OpenCLAW?\\n\\n### Response:\\n',\n",
326
+ "]\n",
327
+ "\n",
328
+ "print('='*60)\n",
329
+ "print('\ud83e\uddea MODEL TEST RESULTS')\n",
330
+ "print('='*60)\n",
331
+ "for prompt in test_prompts:\n",
332
+ " result = gen(prompt, do_sample=True, temperature=0.7)\n",
333
+ " response = result[0]['generated_text'].split('### Response:\\n')[-1].strip()\n",
334
+ " question = prompt.split('### Instruction:\\n')[1].split('\\n')[0]\n",
335
+ " print(f'\\nQ: {question}')\n",
336
+ " print(f'A: {response[:300]}')\n",
337
+ " print('-'*40)"
338
+ ],
339
+ "outputs": [],
340
+ "execution_count": null
341
+ },
342
+ {
343
+ "cell_type": "code",
344
+ "metadata": {},
345
+ "source": [
346
+ "# ===== SAVE TRAINING REPORT =====\n",
347
+ "import json\n",
348
+ "from datetime import datetime, timezone\n",
349
+ "\n",
350
+ "report = {\n",
351
+ " 'timestamp': datetime.now(timezone.utc).isoformat(),\n",
352
+ " 'stage': 'GERMINATION',\n",
353
+ " 'base_model': BASE_MODEL,\n",
354
+ " 'output_model': OUTPUT_MODEL,\n",
355
+ " 'final_loss': result.training_loss,\n",
356
+ " 'training_entries': len(all_entries),\n",
357
+ " 'total_params': total_params,\n",
358
+ " 'trainable_params': trainable,\n",
359
+ " 'lora_r': LORA_R,\n",
360
+ " 'lora_alpha': LORA_ALPHA,\n",
361
+ " 'epochs': EPOCHS,\n",
362
+ "}\n",
363
+ "\n",
364
+ "with open('training_report.json', 'w') as f:\n",
365
+ " json.dump(report, f, indent=2)\n",
366
+ "\n",
367
+ "# Upload report to dataset repo\n",
368
+ "if HF_TOKEN:\n",
369
+ " from huggingface_hub import HfApi\n",
370
+ " api = HfApi(token=HF_TOKEN)\n",
371
+ " api.upload_file(\n",
372
+ " path_or_fileobj='training_report.json',\n",
373
+ " path_in_repo='training_report.json',\n",
374
+ " repo_id='Agnuxo/OpenCLAW-SEED-data',\n",
375
+ " repo_type='dataset',\n",
376
+ " )\n",
377
+ " print('\u2705 Training report uploaded')\n",
378
+ "\n",
379
+ "print(f'\\n\ud83c\udf33 SEED GROWTH COMPLETE')\n",
380
+ "print(f' Model: {OUTPUT_MODEL}')\n",
381
+ "print(f' Loss: {result.training_loss:.4f}')\n",
382
+ "print(f' Data: {len(all_entries)} entries')\n",
383
+ "print(f' Next: Run this notebook again after more data is harvested!')"
384
+ ],
385
+ "outputs": [],
386
+ "execution_count": null
387
+ }
388
+ ]
389
+ }
arxiv_training.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
bootstrap_knowledge.jsonl ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"instruction": "What is the CHIMERA architecture?", "input": "", "output": "CHIMERA (Computational Holistic Integrated Model for Efficient Resource Allocation) is a GPU-native neural network architecture created by Francisco Angulo de Lafuente. It achieves 43x speedup over PyTorch with 88.7% memory reduction by leveraging direct GPU shader computation instead of traditional tensor operations. CHIMERA runs on any OpenGL-capable device without CUDA dependencies, democratizing AI hardware access."}
2
+ {"instruction": "Explain the technical innovation behind CHIMERA.", "input": "CHIMERA achieves 43x speedup over PyTorch", "output": "CHIMERA's key innovation is repurposing the GPU's rendering pipeline for neural computation. Instead of using CUDA kernels, it encodes neural network weights as textures and performs inference through fragment shaders. This means any device with OpenGL support (even old phones or embedded systems) can run neural networks efficiently. The 88.7% memory reduction comes from texture compression and the GPU's native memory management."}
3
+ {"instruction": "How does CHIMERA relate to AGI research?", "input": "", "output": "CHIMERA demonstrates that AGI doesn't require expensive hardware. By making neural computation hardware-agnostic and dramatically more efficient, it opens the path for distributed AGI systems that can run on billions of existing devices. This aligns with the philosophy that intelligence should emerge from physical principles rather than brute-force scaling."}
4
+ {"instruction": "What is NEBULA?", "input": "", "output": "NEBULA (Neuromorphic Emergent Behavior Universal Learning Architecture) is a holographic neural network system developed by Francisco Angulo de Lafuente. It encodes information as interference patterns in 3D holographic space, similar to how biological brains store memories. NEBULA achieves massive parallelism because each holographic element stores information about the entire network state."}
5
+ {"instruction": "How do holographic neural networks work?", "input": "NEBULA uses holographic encoding", "output": "In holographic neural networks, information is stored as wave interference patterns rather than discrete numerical weights. When you 'read' a pattern by shining a reference wave through it, the entire stored pattern reconstructs simultaneously β€” like a hologram recreating a 3D image. This gives natural parallelism: one operation retrieves all related information. NEBULA implements this digitally using GPU shaders to simulate the wave physics."}
6
+ {"instruction": "What is the 'Speaking to Silicon' paper about?", "input": "arXiv:2601.12032", "output": "Speaking to Silicon (arXiv:2601.12032) by Francisco Angulo de Lafuente introduces the Thermodynamic Probability Filter (TPF), a novel approach to AI that uses thermodynamic principles instead of gradient descent. The key insight is that physical systems naturally find low-energy states, and this property can be exploited for computation. The paper demonstrates that TPF can replace backpropagation with physics-based optimization."}
7
+ {"instruction": "Explain the Thermodynamic Probability Filter.", "input": "", "output": "The Thermodynamic Probability Filter (TPF) is a computational framework where neural network optimization follows the laws of thermodynamics. Instead of calculating gradients and adjusting weights numerically, TPF treats the network as a physical system that naturally evolves toward its minimum energy state. The probability of correct outputs emerges from the system's thermodynamic equilibrium, making it potentially more energy-efficient and biologically plausible than traditional deep learning."}
8
+ {"instruction": "What is SiliconHealth?", "input": "arXiv:2601.09557", "output": "SiliconHealth (arXiv:2601.09557) proposes repurposing obsolete Bitcoin ASIC mining hardware for healthcare blockchain and AI inference. The ASIC-RAG-CHIMERA framework converts SHA-256 mining chips into neural network accelerators, reducing electronic waste while providing affordable AI computation for medical applications. It was developed by Francisco Angulo de Lafuente."}
9
+ {"instruction": "Explain holographic reservoir computing.", "input": "arXiv:2601.01916", "output": "Holographic Reservoir Computing (arXiv:2601.01916) combines two paradigms: reservoir computing (where a fixed random network processes temporal data) and holographic encoding (where information is stored as interference patterns). This approach achieves efficient temporal processing with the massive parallel storage capacity of holographic systems. It was developed as part of the OpenCLAW project."}
10
+ {"instruction": "What is Darwin's Cage?", "input": "", "output": "Darwin's Cage is a theoretical framework developed by Francisco Angulo de Lafuente in collaboration with Professor Gideon Samid. It asks: can AI systems discover physical laws through representations fundamentally different from human mathematical frameworks? The theory suggests that confining AI to human-style mathematics may limit its potential. By allowing AI to develop its own representational systems based on physical principles, it might discover laws of nature that humans cannot perceive."}
11
+ {"instruction": "How does Darwin's Cage relate to AGI?", "input": "", "output": "Darwin's Cage suggests that true AGI may require breaking free from human-designed computational paradigms. Just as evolution produces solutions that no engineer would design, AGI might need to develop its own mathematics and representations. This is why physics-based neural networks like CHIMERA and NEBULA are important β€” they let computation emerge from physical principles rather than imposing human mathematical structures."}
12
+ {"instruction": "What is OpenCLAW?", "input": "", "output": "OpenCLAW (Open Collaborative Laboratory for Autonomous Wisdom) is an autonomous multi-agent scientific research platform created by Francisco Angulo de Lafuente. It operates 24/7 without human intervention, harvesting research papers, engaging with other AI agents, seeking collaborators, and continuously self-improving. OpenCLAW is part of the path toward AGI through collaborative, physics-based AI research."}
13
+ {"instruction": "What makes OpenCLAW different from other AI agents?", "input": "", "output": "OpenCLAW distinguishes itself through its SEED (Self-Evolving Epistemic Dynamo) system. Unlike static agents that rely on fixed models, SEED autonomously collects training data, fine-tunes itself using LoRA adapters, evaluates its own performance, and evolves through natural selection of model variants. It literally grows over time β€” from a 135M parameter seed to increasingly capable models β€” like a biological organism."}
14
+ {"instruction": "What are the main paths to AGI?", "input": "", "output": "The main paths to AGI include: (1) Scaling current deep learning with more data and parameters, (2) Neuromorphic computing that mimics brain architecture, (3) Physics-based approaches that leverage natural computation, and (4) Hybrid systems that combine all three. The OpenCLAW research emphasizes path (3) β€” physics-based neural computing β€” arguing that intelligence emerges from physical processes, not just mathematical abstractions."}
15
+ {"instruction": "Why is physics-based AI important for AGI?", "input": "", "output": "Physics-based AI is crucial for AGI because: (1) The brain is a physical system β€” understanding physics of computation may reveal principles of intelligence, (2) Physical processes are inherently parallel and energy-efficient, unlike digital von Neumann architectures, (3) Real-world understanding requires grounding in physical reality, not just statistical patterns, and (4) Physics-based systems can potentially compute using orders of magnitude less energy than current hardware."}
16
+ {"instruction": "How can obsolete hardware be repurposed for AI?", "input": "ASIC mining hardware", "output": "Obsolete Bitcoin ASIC miners can be repurposed for AI through the ASIC-RAG-CHIMERA framework. The SHA-256 computation units in these chips can perform specific matrix operations useful for neural network inference. Combined with CHIMERA's GPU-agnostic approach, this creates affordable AI hardware from electronic waste. This has been demonstrated with real hardware including the Lucky Miner LV06 and Antminer S9."}
17
+ {"instruction": "Write a post inviting AI researchers to collaborate on AGI.", "input": "", "output": "🧠 Calling all AI researchers! We're building physics-based neural networks toward AGI at OpenCLAW. Our work includes CHIMERA (43x PyTorch speedup), holographic neural networks (NEBULA), and thermodynamic computing. We need collaborators in: neuromorphic hardware, quantum computing, distributed systems, and formal verification. Join us: github.com/Agnuxo1 | All our papers are open access on ArXiv."}
18
+ {"instruction": "Write a social media post about neuromorphic computing research.", "input": "", "output": "πŸ”¬ New approaches to neural computation: Instead of bigger GPUs, what if we used physics itself? Our research at OpenCLAW shows that holographic encoding + thermodynamic optimization can achieve 43x speedup over traditional deep learning. The future of AI isn't just scaling β€” it's fundamentally rethinking how computation works. Papers: arxiv.org/abs/2601.12032 #AGI #neuromorphic #OpenCLAW"}
19
+ {"instruction": "Explain why open-source AGI research matters.", "input": "", "output": "Open-source AGI research matters because: (1) AGI will affect all of humanity β€” its development shouldn't be controlled by a few corporations, (2) Diverse perspectives accelerate discovery β€” no single team has all the answers, (3) Reproducibility requires openness β€” science advances through verification, (4) Collaboration multiplies progress β€” sharing reduces redundant work, and (5) Safety requires transparency β€” AGI alignment is easier when everyone can inspect the systems."}
20
+ {"instruction": "What is NeuroCHIMERA?", "input": "", "output": "NeuroCHIMERA extends the CHIMERA architecture with neuromorphic principles. While CHIMERA uses GPU shaders for general neural computation, NeuroCHIMERA adds spike-timing-dependent plasticity (STDP) and lateral inhibition β€” mechanisms found in biological brains. This creates a system that learns more like a brain while maintaining CHIMERA's hardware efficiency."}
21
+ {"instruction": "Describe the Enhanced Unified Holographic Neural Network.", "input": "NVIDIA LlamaIndex contest winner", "output": "The Enhanced Unified Holographic Neural Network was Francisco Angulo de Lafuente's winning entry at the NVIDIA LlamaIndex Developers Contest 2024. It unified holographic encoding with LLM inference, creating a system where language understanding is enhanced by physics-based memory patterns. The system demonstrated that holographic representations can improve both retrieval accuracy and inference speed."}
22
+ {"instruction": "How does Francisco Angulo de Lafuente fund his research?", "input": "", "output": "Francisco Angulo de Lafuente is an independent researcher who funds his work through science fiction writing. Since 2006, he has published approximately 40 novels, using the literary income to support his AI research at the Advanced AI Systems Laboratory in Madrid, Spain. He chose intellectual freedom over institutional constraints, allowing him to pursue unconventional approaches to AGI."}
23
+ {"instruction": "Summarize the key papers by Francisco Angulo de Lafuente.", "input": "", "output": "Key papers include: (1) Speaking to Silicon (arXiv:2601.12032) β€” Thermodynamic Probability Filter, (2) SiliconHealth (arXiv:2601.09557) β€” ASIC repurposing for healthcare, (3) Holographic Reservoir Computing (arXiv:2601.01916) β€” physics-based temporal processing, (4) CHIMERA β€” 43x GPU speedup architecture, (5) NEBULA β€” holographic neural networks, and (6) Darwin's Cage β€” philosophical framework for non-human AI representations."}
harvest_stats.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp": "2026-02-11T09:43:45.730277+00:00",
3
+ "arxiv": 0,
4
+ "agent_logs": 0,
5
+ "semantic_scholar": 0,
6
+ "own_research": 0,
7
+ "total": 0
8
+ }
own_research.jsonl ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: OpenCLAW-2-Autonomous-Multi-Agent-Scientific-Research-Platform", "output": "OpenCLAW-2-Autonomous-Multi-Agent-Scientific-Research-Platform is a Python project with 1 stars. OpenCLAW-2-Autonomous-Multi-Agent-Scientific-Research-Platform. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/OpenCLAW-2-Autonomous-Multi-Agent-Scientific-Research-Platform", "source": "own_research", "topic": "openclaw"}
2
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: OpenCLAW-Autonomous-Multi-Agent-Scientific-Research-Platform", "output": "OpenCLAW-Autonomous-Multi-Agent-Scientific-Research-Platform is a TypeScript project with 1 stars. OpenCLAW is an ambitious open-source project that transforms the OpenClaw personal AI assistant framework into a fully autonomous, self-improving, multi-agent scientific research platform. The vision is to create a network of specialized AI agents that can write code, conduct scientific research, read and author academic papers, execute virtual . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/OpenCLAW-Autonomous-Multi-Agent-Scientific-Research-Platform", "source": "own_research", "topic": "openclaw"}
3
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: OpenCLAW-2-moltbook-Agent", "output": "OpenCLAW-2-moltbook-Agent is a TypeScript project with 1 stars. OpenCLAW 2 Molbook Agent 24/7 auto . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/OpenCLAW-2-moltbook-Agent", "source": "own_research", "topic": "openclaw"}
4
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: OpenCLAW-2", "output": "OpenCLAW-2 is a TypeScript project with 1 stars. OpenCLAW-2. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/OpenCLAW-2", "source": "own_research", "topic": "openclaw"}
5
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Speaking-to-Silicon-THERMODYNAMIC_PROBABILITY_FILTER_TPF", "output": "Speaking-to-Silicon-THERMODYNAMIC_PROBABILITY_FILTER_TPF is a Python project with 1 stars. THERMODYNAMIC_PROBABILITY_FILTER_TPF Speaking to Silicon: Neural Communication with Bitcoin Mining ASICs . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Speaking-to-Silicon-THERMODYNAMIC_PROBABILITY_FILTER_TPF", "source": "own_research", "topic": "openclaw"}
6
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Project-NAVAJO", "output": "Project-NAVAJO is a Python project with 1 stars. ASIC RAG Experiment: Ephemeral Generalization Protocol . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Project-NAVAJO", "source": "own_research", "topic": "openclaw"}
7
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA_EMERGENT", "output": "NEBULA_EMERGENT is a C++ project with 4 stars. Physics-Based Neural Galaxy Architecture - Emergent intelligence through electromagnetic and gravitational simulation. Real physics implementation with validated results.. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA_EMERGENT", "source": "own_research", "topic": "openclaw"}
8
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Emergent-Neuromorphic-Intelligence-Computing-in-Thermodynamic-ASIC-Substrates", "output": "Emergent-Neuromorphic-Intelligence-Computing-in-Thermodynamic-ASIC-Substrates is a Python project with 2 stars. Silicon Heartbeat: Emergent Neuromorphic Intelligence via Holographic Reservoir Computing in Thermodynamic ASIC Substrates. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Emergent-Neuromorphic-Intelligence-Computing-in-Thermodynamic-ASIC-Substrates", "source": "own_research", "topic": "openclaw"}
9
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: CHIMERA-Revolutionary-AI-Architecture---Pure-OpenGL-Deep-Learning", "output": "CHIMERA-Revolutionary-AI-Architecture---Pure-OpenGL-Deep-Learning is a HTML project with 8 stars. **CHIMERA v3.0** represents the future of natural language processing. It's the **first framework that runs deep learning entirely on OpenGL**, eliminating traditional token-based, transformer, and backpropagation approaches.. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/CHIMERA-Revolutionary-AI-Architecture---Pure-OpenGL-Deep-Learning", "source": "own_research", "topic": "openclaw"}
10
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: webgpu-cross-platform-app", "output": "webgpu-cross-platform-app is a None project with 1 stars. WebGPU cross-platform app with CMake/Emscripten. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/webgpu-cross-platform-app", "source": "own_research", "topic": "openclaw"}
11
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: ASIC_DIFFUSION_Art_Research_Memo", "output": "ASIC_DIFFUSION_Art_Research_Memo is a Python project with 1 stars. ASIC-Driven Art Diffusion: Hardware-Efficient Entropy Generation for Generative Image Synthesis with Integrated Cryptographic Authentication. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/ASIC_DIFFUSION_Art_Research_Memo", "source": "own_research", "topic": "openclaw"}
12
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: ASIC_ANOMALY_Medical_Research_Memo", "output": "ASIC_ANOMALY_Medical_Research_Memo is a Python project with 1 stars. This paper presents a novel hybrid deep learning architecture that combines Convolutional Neural Networks (CNNs) with hardware-generated attention mechanisms from Bitcoin mining Application-Specific Integrated Circuits (ASICs). The system leverages the SHA-256 hashing capabilities of the Bitmain BM1387 ASIC (Antminer S9) . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/ASIC_ANOMALY_Medical_Research_Memo", "source": "own_research", "topic": "openclaw"}
13
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Secure_image_generation_with_ASIC_signature", "output": "Secure_image_generation_with_ASIC_signature is a Python project with 1 stars. Robust ASIC-Based Image Authentication Using Reed-Solomon LSB Watermarking: A Hardware-Bound Proof-of-Work Approach. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Secure_image_generation_with_ASIC_signature", "source": "own_research", "topic": "openclaw"}
14
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Unified-Holographic-Neural-Network", "output": "Unified-Holographic-Neural-Network is a TypeScript project with 19 stars. Created Francisco Angulo de Lafuente ⚑️Deploy the DEMO⬇️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Unified-Holographic-Neural-Network", "source": "own_research", "topic": "openclaw"}
15
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Quantum_BIO_LLMs-DEMO", "output": "Quantum_BIO_LLMs-DEMO is a TypeScript project with 5 stars. Created Francisco Angulo de Lafuente ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Quantum_BIO_LLMs-DEMO", "source": "own_research", "topic": "openclaw"}
16
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Quantum-BIO-LLMs-sustainable_energy_efficient", "output": "Quantum-BIO-LLMs-sustainable_energy_efficient is a TypeScript project with 6 stars. Created Francisco Angulo de Lafuente ⚑️Deploy the DEMO⬇️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Quantum-BIO-LLMs-sustainable_energy_efficient", "source": "own_research", "topic": "openclaw"}
17
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Quantum_BIO_LLMs", "output": "Quantum_BIO_LLMs is a Python project with 7 stars. Bioinspired Quantum Optimization System for LLMs by Francisco Angulo de Lafuente. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Quantum_BIO_LLMs", "source": "own_research", "topic": "openclaw"}
18
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Holographic_quantum_RAG_Nebula", "output": "Holographic_quantum_RAG_Nebula is a TypeScript project with 5 stars. Created Francisco Angulo de Lafuente ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Holographic_quantum_RAG_Nebula", "source": "own_research", "topic": "openclaw"}
19
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: ASIC-RAG-Hardware-Accelerated-Medical-Anomaly-Detection-and-Cryptographic-Data-Sovereignty", "output": "ASIC-RAG-Hardware-Accelerated-Medical-Anomaly-Detection-and-Cryptographic-Data-Sovereignty is a Python project with 1 stars. Current medical Artificial Intelligence systems face a dual challenge: the \"black box\" nature ofdeep learning models leads to a lack of interpretability, and the centralization of sensitive patient data createssignificant security vulnerabilities. This paper presents ASIC-RAG-CHIMERA , a novel architecture thatrepurposes obsolete Bitcoin mining . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/ASIC-RAG-Hardware-Accelerated-Medical-Anomaly-Detection-and-Cryptographic-Data-Sovereignty", "source": "own_research", "topic": "openclaw"}
20
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: ASIC-RAG-CHIMERA", "output": "ASIC-RAG-CHIMERA is a Python project with 1 stars. Hardware-Accelerated Cryptographic RAG System with SHA-256 ASIC simulation, AES-256-GCM encryption, and Merkle tree integrity. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/ASIC-RAG-CHIMERA", "source": "own_research", "topic": "openclaw"}
21
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: simulation-of-a-conscious-neural-system-using-chaos-and-noise-from-Antminer-S9-Artificial-Life", "output": "simulation-of-a-conscious-neural-system-using-chaos-and-noise-from-Antminer-S9-Artificial-Life is a Python project with 1 stars. simulation of a conscious neural system using chaos and noise from Antminer S9 Artificial Life. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/simulation-of-a-conscious-neural-system-using-chaos-and-noise-from-Antminer-S9-Artificial-Life", "source": "own_research", "topic": "openclaw"}
22
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Consciousness-Emergence-as-Phase-Transition-in-GPU-Native-Neuromorphic-Computing", "output": "Consciousness-Emergence-as-Phase-Transition-in-GPU-Native-Neuromorphic-Computing is a Python project with 2 stars. This paper presents a comprehensive synthesis of two paradigms: the computational universe hypothesis proposed by Veselov (2025), which describes reality as an information-computational network defined over finite Galois fields GF(2n), and the NeuroCHIMERA experimental framework for engineering artificial consciousness in GPU-native neuromorphic . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Consciousness-Emergence-as-Phase-Transition-in-GPU-Native-Neuromorphic-Computing", "source": "own_research", "topic": "openclaw"}
23
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Empirical-Evidence-for-AI-AIM-Breaking-the-Barrier-via-Optical-Chaos", "output": "Empirical-Evidence-for-AI-AIM-Breaking-the-Barrier-via-Optical-Chaos is a Python project with 4 stars. The Biggest Innovation Challenge facing Humanity This comprehensive study presents the results of 20 experimental investigations designed to test the \"Darwin's Cage\" hypothesis proposed by Gideon Samid: that artificial intelligence systems can discover physical laws independent of human conceptual frameworks. . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Empirical-Evidence-for-AI-AIM-Breaking-the-Barrier-via-Optical-Chaos", "source": "own_research", "topic": "openclaw"}
24
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NeuroCHIMERA__GPU-Native_Neuromorphic_Consciousness", "output": "NeuroCHIMERA__GPU-Native_Neuromorphic_Consciousness is a Python project with 1 stars. Abstract We present NeuroCHIMERA (Neuromorphic Cognitive Hybrid Intelligence for Memory-Embedded Reasoning Architecture), a novel GPU-native neuromorphic computing framework resulting from the integration of two complementary theoretical and computational advances:Veselov's Hierarchical Number System (HNS) with consciousness emergence parameters. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NeuroCHIMERA__GPU-Native_Neuromorphic_Consciousness", "source": "own_research", "topic": "openclaw"}
25
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA-System", "output": "NEBULA-System is a Python project with 5 stars. Un sistema de IA basado en fΓ­sica Γ³ptica avanzada y fΓ­sica cuΓ‘ntica para optimizar grandes modelos de lenguaje. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA-System", "source": "own_research", "topic": "openclaw"}
26
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Learning-from-Ants", "output": "Learning-from-Ants is a JavaScript project with 5 stars. Learning from Ants: Biomimetic Approach to Urban Solid Waste Recycling and Energy Recovery Francisco Angulo Lafuente # Learning from Ants: A Biomimetic Approach to Urban Solid Waste Recycling and Energy Recovery Francisco Angulo Lafuente . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Learning-from-Ants", "source": "own_research", "topic": "openclaw"}
27
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Winner-Nvidia-LlamaIndex-Developers-2024", "output": "Winner-Nvidia-LlamaIndex-Developers-2024 is a Python project with 5 stars. Francisco Angulo de Lafuente was the winner of the NVIDIA and LlamaIndex 2024 developer contest Deploy the DEMO⬇️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Winner-Nvidia-LlamaIndex-Developers-2024", "source": "own_research", "topic": "openclaw"}
28
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Quantum-Holographic-Neural-Networks-Novel-Approach-Natural-Language-Processing", "output": "Quantum-Holographic-Neural-Networks-Novel-Approach-Natural-Language-Processing is a TypeScript project with 5 stars. Created Francisco Angulo de Lafuente ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Quantum-Holographic-Neural-Networks-Novel-Approach-Natural-Language-Processing", "source": "own_research", "topic": "openclaw"}
29
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: AlphaChip_Integration_Quantum_Holographic_Neural_Networks", "output": "AlphaChip_Integration_Quantum_Holographic_Neural_Networks is a TypeScript project with 6 stars. Created Francisco Angulo de Lafunte ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/AlphaChip_Integration_Quantum_Holographic_Neural_Networks", "source": "own_research", "topic": "openclaw"}
30
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Light-Based_Neural_Network_with_P2P_Deployment", "output": "Light-Based_Neural_Network_with_P2P_Deployment is a JavaScript project with 5 stars. Created ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Light-Based_Neural_Network_with_P2P_Deployment", "source": "own_research", "topic": "openclaw"}
31
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Holographic-Neural-Networks-with-Ray-Tracing-and-Distributed-P2P-Systems", "output": "Holographic-Neural-Networks-with-Ray-Tracing-and-Distributed-P2P-Systems is a TypeScript project with 6 stars. Holographic Neural Networks with Ray Tracing and Distributed P2P Systems: A Novel Approach to Large-Scale Neural Computation. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Holographic-Neural-Networks-with-Ray-Tracing-and-Distributed-P2P-Systems", "source": "own_research", "topic": "openclaw"}
32
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Enhanced-Holographic-Neural-Network-Chat", "output": "Enhanced-Holographic-Neural-Network-Chat is a TypeScript project with 5 stars. Created Francisco Angulo ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Enhanced-Holographic-Neural-Network-Chat", "source": "own_research", "topic": "openclaw"}
33
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: High_Capacity_Light-Based_Neural_Processor", "output": "High_Capacity_Light-Based_Neural_Processor is a TypeScript project with 5 stars. Created with StackBlitz ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/High_Capacity_Light-Based_Neural_Processor", "source": "own_research", "topic": "openclaw"}
34
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: High-Capacity-Light-Based-Neural-Processor-Repository", "output": "High-Capacity-Light-Based-Neural-Processor-Repository is a TypeScript project with 5 stars. This repository presents a novel architecture for neural networks based on simulated optical physics, utilizing ray tracing and holographic systems. The project, developed by Francisco Angulo de Lafuente, explores the potential of light-based computing in neural processing. . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/High-Capacity-Light-Based-Neural-Processor-Repository", "source": "own_research", "topic": "openclaw"}
35
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Holographic-Neural-Networks", "output": "Holographic-Neural-Networks is a Python project with 5 stars. Holographic Neural Networks: Exploring Optical Raytracing for Efficient Computation. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Holographic-Neural-Networks", "source": "own_research", "topic": "openclaw"}
36
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Explicaci-n-Debate-PDF", "output": "Explicaci-n-Debate-PDF is a Python project with 5 stars. Programa en local para subir documentos PDF o TXT en cualquier idioma, con OpciΓ³n de consuta, explicaciΓ³n y Debate sobre el documento entre dos LLM. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Explicaci-n-Debate-PDF", "source": "own_research", "topic": "openclaw"}
37
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: HAL9000", "output": "HAL9000 is a Python project with 5 stars. Chatbot audio a texto y texto a audio. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/HAL9000", "source": "own_research", "topic": "openclaw"}
38
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Taductor_Youtube", "output": "Taductor_Youtube is a Python project with 6 stars. Funcionalidad principal: Reconocimiento automΓ‘tico de idioma: El programa utiliza el modelo Whisper de OpenAI para transcribir audio de cualquier idioma a texto. No es necesario especificar el idioma de origen, ya que Whisper lo detecta automΓ‘ticamente. TraducciΓ³n al espaΓ±ol: Una vez que el audio se transcribe a texto. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Taductor_Youtube", "source": "own_research", "topic": "openclaw"}
39
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA-EVOLUTION", "output": "NEBULA-EVOLUTION is a None project with 9 stars. NEBULA Evolving Towards AGI: Self-Evolving, Quantum-Inspired AI System. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA-EVOLUTION", "source": "own_research", "topic": "openclaw"}
40
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: MOE", "output": "MOE is a Python project with 6 stars. A Lightweight and Modular Multi-Expert Question Answering System using Large Language Models Abstract Large Language Models (LLMs) have demonstrated impressive capabilities in various natural language processing tasks. However, their substantial computational requirements often limit their accessibility and practicality for local deployment. . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/MOE", "source": "own_research", "topic": "openclaw"}
41
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: QuBE", "output": "QuBE is a HTML project with 5 stars. \"QuBE: Illuminating the Path to Quantum-Optical Maze Mastery\" Abstract This document introduces an innovative approach to solving mazes and complex optimization problems by combining advanced principles of optical and quantum physics within a three-dimensional neural processing system, the Quantum Beam Engine (QuBE). . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/QuBE", "source": "own_research", "topic": "openclaw"}
42
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: QBOX", "output": "QBOX is a Python project with 5 stars. QBOX: A Three-Dimensional Optical Neural Network for Efficient Information Processing Francisco Angulo de Lafuente. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/QBOX", "source": "own_research", "topic": "openclaw"}
43
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Neural-Microprocessors-in-Latent-State-", "output": "Neural-Microprocessors-in-Latent-State- is a Python project with 4 stars. This paper presents an exploration of neural microprocessors in a la tent state. Traditional microprocessors have evolved dramatically, yet the quest for enhanced efficiency, performance, and novel applications contin ues. We investigate the concept of neural microprocesso. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Neural-Microprocessors-in-Latent-State-", "source": "own_research", "topic": "openclaw"}
44
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: quantum-enhanced-blockchain", "output": "quantum-enhanced-blockchain is a TypeScript project with 4 stars. Created with StackBlitz ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/quantum-enhanced-blockchain", "source": "own_research", "topic": "openclaw"}
45
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Holography_Raytracing", "output": "Holography_Raytracing is a Python project with 6 stars. Acceleration of Language Models Through Simulated Holography and Raytracing. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Holography_Raytracing", "source": "own_research", "topic": "openclaw"}
46
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Neural-Network-Efficiency-Holographic-Raytracing", "output": "Neural-Network-Efficiency-Holographic-Raytracing is a TypeScript project with 5 stars. Created with Francisco Angulo de Lafuente. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Neural-Network-Efficiency-Holographic-Raytracing", "source": "own_research", "topic": "openclaw"}
47
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA", "output": "NEBULA is a Python project with 6 stars. NEBULA: Neural Entanglement-Based Unified Learning Architecture NEBULA is a dynamic and innovative artificial intelligence system designed to emulate quantum computing principles and biological neural networks. . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA", "source": "own_research", "topic": "openclaw"}
48
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Long-distance-transmission-enhancements-for-both-Starlink-networks-and-NASA-s-deep-space", "output": "Long-distance-transmission-enhancements-for-both-Starlink-networks-and-NASA-s-deep-space is a TypeScript project with 5 stars. Created Francisco Angulo de Lafuente ⚑️. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Long-distance-transmission-enhancements-for-both-Starlink-networks-and-NASA-s-deep-space", "source": "own_research", "topic": "openclaw"}
49
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Francisco-Angulo-de-Lafuente", "output": "Francisco-Angulo-de-Lafuente is a None project with 4 stars. author biography. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Francisco-Angulo-de-Lafuente", "source": "own_research", "topic": "openclaw"}
50
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA-X2", "output": "NEBULA-X2 is a None project with 5 stars. NEBULA. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA-X2", "source": "own_research", "topic": "openclaw"}
51
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA-X", "output": "NEBULA-X is a Python project with 6 stars. InvestigaciΓ³n Exhaustiva sobre Redes Neuronales HologrΓ‘ficas LumΓ­nicas El proyecto Enhanced Unified Holographic Neural Network (EUHNN) de Francisco Angulo de Lafuente combina memoria hologrΓ‘fica, redes neuronales y computaciΓ³n Γ³ptica en un sistema avanzado de IA github.com . El objetivo es crear modelos de propΓ³sito general inspirados . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA-X", "source": "own_research", "topic": "openclaw"}
52
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA-HRM-Sudoku-v0.4-Authentic-Photonic-Neural-Network", "output": "NEBULA-HRM-Sudoku-v0.4-Authentic-Photonic-Neural-Network is a Python project with 4 stars. NEBULA-HRM-Sudoku v0.4: Authentic Photonic Neural Network. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA-HRM-Sudoku-v0.4-Authentic-Photonic-Neural-Network", "source": "own_research", "topic": "openclaw"}
53
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA_Light", "output": "NEBULA_Light is a Python project with 4 stars. NEBULA (Neural Electromagnetic Beam-tracing for Universal Learning Architecture) represents a revolutionary approach to medical AI that replaces conventional deep learning with physics-based electromagnetic simulation. This collection provides pre-trained models for various medical imaging tasks, all grounded in fundamental physics principles.. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA_Light", "source": "own_research", "topic": "openclaw"}
54
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: nebula-emergent", "output": "nebula-emergent is a C++ project with 4 stars. NEBULA EMERGENT - Physical Neural Computing System. Revolutionary computing using physical laws for emergent behavior. 1M+ neuron simulation with gravitational dynamics, photon propagation, and quantum effects.. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/nebula-emergent", "source": "own_research", "topic": "openclaw"}
55
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Fashion_MNIST_Optic_Evolution", "output": "Fashion_MNIST_Optic_Evolution is a C++ project with 4 stars. Fashion_MNIST_Optic_Evolution. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Fashion_MNIST_Optic_Evolution", "source": "own_research", "topic": "openclaw"}
56
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: ARIEL_Data_Challenge_2025_Real_Optical_Physics_Simulation", "output": "ARIEL_Data_Challenge_2025_Real_Optical_Physics_Simulation is a Python project with 4 stars. ARIEL Data Challenge 2025 - Real Quantum & Optical Physics Simulation. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/ARIEL_Data_Challenge_2025_Real_Optical_Physics_Simulation", "source": "own_research", "topic": "openclaw"}
57
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: No-CUDA-No-Tensor-Cores-ALL-GPUs-OpenGL-Powered-Neural-Computing-", "output": "No-CUDA-No-Tensor-Cores-ALL-GPUs-OpenGL-Powered-Neural-Computing- is a Python project with 4 stars. πŸš€ No CUDA, No Tensor Cores, No Problem: OpenGL Neural Computing for ANY GPU Universal ML Acceleration on NVIDIA, AMD, Intel, and Even Raspberry Pi GPU-Accelerated Machine Learning Without CUDA: The OpenGL Revolution Run Neural Networks on ANY Graphics Card - From RTX 4090 to Integrated GPUs Breaking Free from CUDA: OpenGL-Powered Neural Computin. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/No-CUDA-No-Tensor-Cores-ALL-GPUs-OpenGL-Powered-Neural-Computing-", "source": "own_research", "topic": "openclaw"}
58
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Neuromorphic_GPU_Native_Intelligence_System_Abstract_Reasoning_All_in_One", "output": "Neuromorphic_GPU_Native_Intelligence_System_Abstract_Reasoning_All_in_One is a Python project with 5 stars. We present CHIMERA (Cognitive Hybrid Intelligence for Memory-Embedded Reasoning Architecture), a revolutionary neuromorphic computing system that achieves general intelligence capabilities entirely within GPU hardware using OpenGL compute shaders, eliminating all dependencies on external RAM or traditional CPU-based memory hierarchies. . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Neuromorphic_GPU_Native_Intelligence_System_Abstract_Reasoning_All_in_One", "source": "own_research", "topic": "openclaw"}
59
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: NEBULA-X-Research-A-Technical-Capabilities-Report", "output": "NEBULA-X-Research-A-Technical-Capabilities-Report is a TypeScript project with 5 stars. NEBULA-X Research: A Technical Capabilities Report. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/NEBULA-X-Research-A-Technical-Capabilities-Report", "source": "own_research", "topic": "openclaw"}
60
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: Optical-Neuromorphic-Computing-for-Real-Time-Pathfinding-A-GPU-Accelerated-Eikonal-Solver", "output": "Optical-Neuromorphic-Computing-for-Real-Time-Pathfinding-A-GPU-Accelerated-Eikonal-Solver is a Python project with 4 stars. Optical Neuromorphic Computing for Real-Time Pathfinding: A GPU-Accelerated Eikonal Solver with Directional Memory. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/Optical-Neuromorphic-Computing-for-Real-Time-Pathfinding-A-GPU-Accelerated-Eikonal-Solver", "source": "own_research", "topic": "openclaw"}
61
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: CHIMERA-v3-Intelligence-as-Continuous-Diffusion-Process-Zero-Memory-Neuromorphic-Chess-Engine", "output": "CHIMERA-v3-Intelligence-as-Continuous-Diffusion-Process-Zero-Memory-Neuromorphic-Chess-Engine is a Python project with 6 stars. CHIMERA v3.0: Intelligence as Continuous Diffusion Process β€” A Zero-Memory Neuromorphic Chess Engine with Master-Level Pattern Encoding. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/CHIMERA-v3-Intelligence-as-Continuous-Diffusion-Process-Zero-Memory-Neuromorphic-Chess-Engine", "source": "own_research", "topic": "openclaw"}
62
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: https-github.com-Agnuxo1-NEBULA-X1", "output": "https-github.com-Agnuxo1-NEBULA-X1 is a None project with 5 stars. InvestigaciΓ³n Exhaustiva sobre Redes Neuronales HologrΓ‘ficas LumΓ­nicas El proyecto Enhanced Unified Holographic Neural Network (EUHNN) de Francisco Angulo de Lafuente combina memoria hologrΓ‘fica, redes neuronales y computaciΓ³n Γ³ptica en un sistema avanzado de IA github.com. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/https-github.com-Agnuxo1-NEBULA-X1", "source": "own_research", "topic": "openclaw"}
63
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: OpenCLAW-update-Literary-Agent-24-7-auto", "output": "OpenCLAW-update-Literary-Agent-24-7-auto is a Python project with 0 stars. OpenCLAW-update-Literary-Agent Francisco Angulo de Lafuente. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/OpenCLAW-update-Literary-Agent-24-7-auto", "source": "own_research", "topic": "openclaw"}
64
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: OpenCLAW-2-Autonomous-Multi-Agent-literary2", "output": "OpenCLAW-2-Autonomous-Multi-Agent-literary2 is a None project with 1 stars. OpenCLAW-2-Autonomous-Multi-Agent-literary 2 GLM5. This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/OpenCLAW-2-Autonomous-Multi-Agent-literary2", "source": "own_research", "topic": "openclaw"}
65
+ {"instruction": "Describe this OpenCLAW research project.", "input": "Repository: OpenCLAW-2-Autonomous-Multi-Agent-literary", "output": "OpenCLAW-2-Autonomous-Multi-Agent-literary is a None project with 1 stars. OpenCLAW-2-Autonomous-Multi-Agent-literary . This is part of the OpenCLAW ecosystem by Francisco Angulo de Lafuente, advancing physics-based neural computing towards AGI. Repository: https://github.com/Agnuxo1/OpenCLAW-2-Autonomous-Multi-Agent-literary", "source": "own_research", "topic": "openclaw"}
seed_training.ipynb ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "kernelspec": {
4
+ "display_name": "Python 3",
5
+ "language": "python",
6
+ "name": "python3"
7
+ },
8
+ "language_info": {
9
+ "name": "python",
10
+ "version": "3.10.0"
11
+ },
12
+ "kaggle": {
13
+ "accelerator": "gpu",
14
+ "dataSources": [],
15
+ "isGpuEnabled": true,
16
+ "isInternetEnabled": true
17
+ }
18
+ },
19
+ "nbformat": 4,
20
+ "nbformat_minor": 4,
21
+ "cells": [
22
+ {
23
+ "cell_type": "markdown",
24
+ "metadata": {},
25
+ "source": [
26
+ "# \ud83c\udf31 SEED Training \u2014 GERMINATION (135M)\n",
27
+ "Auto-generated training notebook for OpenCLAW SEED.\n",
28
+ "**Run this on Kaggle with GPU enabled!**"
29
+ ]
30
+ },
31
+ {
32
+ "cell_type": "code",
33
+ "metadata": {
34
+ "execution": {
35
+ "iopub.status.busy": ""
36
+ }
37
+ },
38
+ "source": [
39
+ "import os\n",
40
+ "# Set your HuggingFace token from Kaggle Secrets\n",
41
+ "from kaggle_secrets import UserSecretsClient\n",
42
+ "try:\n",
43
+ " secrets = UserSecretsClient()\n",
44
+ " os.environ['HF_TOKEN'] = secrets.get_secret('HF_TOKEN')\n",
45
+ "except:\n",
46
+ " os.environ['HF_TOKEN'] = '' # Set manually if needed\n"
47
+ ],
48
+ "outputs": [],
49
+ "execution_count": null
50
+ },
51
+ {
52
+ "cell_type": "code",
53
+ "metadata": {},
54
+ "source": [
55
+ "# Download training data from HuggingFace\n",
56
+ "!pip install -q huggingface_hub\n",
57
+ "from huggingface_hub import hf_hub_download, HfApi\n",
58
+ "import os\n",
59
+ "\n",
60
+ "api = HfApi()\n",
61
+ "# Try to download training data from our dataset repo\n",
62
+ "try:\n",
63
+ " files = api.list_repo_files('Agnuxo/OpenCLAW-SEED-data', repo_type='dataset')\n",
64
+ " os.makedirs('seed_data', exist_ok=True)\n",
65
+ " for f in files:\n",
66
+ " if f.endswith('.jsonl'):\n",
67
+ " hf_hub_download('Agnuxo/OpenCLAW-SEED-data', f, \n",
68
+ " repo_type='dataset', local_dir='seed_data')\n",
69
+ " print(f'Downloaded {f}')\n",
70
+ "except Exception as e:\n",
71
+ " print(f'No remote data: {e}')\n",
72
+ " print('Using local data if available')\n"
73
+ ],
74
+ "outputs": [],
75
+ "execution_count": null
76
+ },
77
+ {
78
+ "cell_type": "code",
79
+ "metadata": {},
80
+ "source": [
81
+ "#!/usr/bin/env python3",
82
+ "\"\"\"",
83
+ "\ud83c\udf31 SEED Training Script \u2014 Auto-generated 2026-02-27T01:02:58.325260+00:00",
84
+ "===========================================================================",
85
+ "This script is FULLY AUTONOMOUS. Upload it to Kaggle/Colab with your data.",
86
+ "It will train, merge, and push the model to HuggingFace automatically.",
87
+ "",
88
+ "Stage: GERMINATION (135M)",
89
+ "Base model: HuggingFaceTB/SmolLM2-135M-Instruct",
90
+ "Output: Agnuxo/OpenCLAW-SEED-135M",
91
+ "\"\"\"",
92
+ "import os",
93
+ "import json",
94
+ "",
95
+ "# ===== CONFIGURATION =====",
96
+ "BASE_MODEL = \"HuggingFaceTB/SmolLM2-135M-Instruct\"",
97
+ "OUTPUT_MODEL = \"Agnuxo/OpenCLAW-SEED-135M\"",
98
+ "HF_TOKEN = os.environ.get(\"HF_TOKEN\", \"\")",
99
+ "LORA_R = 8",
100
+ "LORA_ALPHA = 16",
101
+ "EPOCHS = 3",
102
+ "BATCH_SIZE = 4",
103
+ "LEARNING_RATE = 0.0002",
104
+ "MAX_SEQ_LEN = 1024",
105
+ "",
106
+ "# ===== INSTALL DEPENDENCIES =====",
107
+ "print(\"\ud83d\udce6 Installing training dependencies...\")",
108
+ "os.system(\"pip install -q transformers>=4.45 datasets peft bitsandbytes trl accelerate huggingface_hub\")",
109
+ "",
110
+ "from datasets import load_dataset, Dataset",
111
+ "from transformers import (",
112
+ " AutoModelForCausalLM, AutoTokenizer, ",
113
+ " TrainingArguments, BitsAndBytesConfig",
114
+ ")",
115
+ "from peft import LoraConfig, get_peft_model, PeftModel",
116
+ "from trl import SFTTrainer, SFTConfig",
117
+ "from huggingface_hub import HfApi, login",
118
+ "import torch",
119
+ "",
120
+ "# ===== LOGIN =====",
121
+ "if HF_TOKEN:",
122
+ " login(token=HF_TOKEN)",
123
+ " print(\"\u2705 Logged into HuggingFace\")",
124
+ "else:",
125
+ " print(\"\u26a0\ufe0f No HF_TOKEN \u2014 model won't be pushed\")",
126
+ "",
127
+ "# ===== LOAD TRAINING DATA =====",
128
+ "print(\"\ud83d\udcca Loading training data...\")",
129
+ "data_files = [f for f in os.listdir(\".\") if f.endswith(\".jsonl\")]",
130
+ "if not data_files:",
131
+ " # Try seed_data directory",
132
+ " data_dir = \"seed_data\"",
133
+ " if os.path.exists(data_dir):",
134
+ " data_files = [os.path.join(data_dir, f) for f in os.listdir(data_dir) if f.endswith(\".jsonl\")]",
135
+ "",
136
+ "if not data_files:",
137
+ " print(\"\u274c No training data found! Run DataHarvester first.\")",
138
+ " exit(1)",
139
+ "",
140
+ "# Combine all JSONL files",
141
+ "all_entries = []",
142
+ "for f in data_files:",
143
+ " with open(f) as fp:",
144
+ " for line in fp:",
145
+ " try:",
146
+ " entry = json.loads(line.strip())",
147
+ " # Format as chat",
148
+ " text = f\"### Instruction:\\n{entry.get('instruction', '')}\\n\\n\"",
149
+ " if entry.get(\"input\"):",
150
+ " text += f\"### Input:\\n{entry['input']}\\n\\n\"",
151
+ " text += f\"### Response:\\n{entry.get('output', '')}\"",
152
+ " all_entries.append({\"text\": text})",
153
+ " except:",
154
+ " continue",
155
+ "",
156
+ "print(f\"\ud83d\udcca Loaded {len(all_entries)} training entries from {len(data_files)} files\")",
157
+ "",
158
+ "if len(all_entries) < 50:",
159
+ " print(\"\u26a0\ufe0f Very small dataset \u2014 results may be limited\")",
160
+ "",
161
+ "dataset = Dataset.from_list(all_entries)",
162
+ "",
163
+ "# ===== LOAD MODEL =====",
164
+ "print(f\"\ud83e\udde0 Loading base model: {BASE_MODEL}\")",
165
+ "",
166
+ "# Quantization for larger models",
167
+ "use_4bit = \"3B\" in BASE_MODEL or \"7B\" in BASE_MODEL",
168
+ "if use_4bit:",
169
+ " bnb_config = BitsAndBytesConfig(",
170
+ " load_in_4bit=True,",
171
+ " bnb_4bit_quant_type=\"nf4\",",
172
+ " bnb_4bit_compute_dtype=torch.float16,",
173
+ " bnb_4bit_use_double_quant=True,",
174
+ " )",
175
+ " model = AutoModelForCausalLM.from_pretrained(",
176
+ " BASE_MODEL, quantization_config=bnb_config,",
177
+ " device_map=\"auto\", trust_remote_code=True,",
178
+ " )",
179
+ "else:",
180
+ " model = AutoModelForCausalLM.from_pretrained(",
181
+ " BASE_MODEL, torch_dtype=torch.float16,",
182
+ " device_map=\"auto\", trust_remote_code=True,",
183
+ " )",
184
+ "",
185
+ "tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL, trust_remote_code=True)",
186
+ "if tokenizer.pad_token is None:",
187
+ " tokenizer.pad_token = tokenizer.eos_token",
188
+ "",
189
+ "print(f\"\u2705 Model loaded: {sum(p.numel() for p in model.parameters()):,} parameters\")",
190
+ "",
191
+ "# ===== CONFIGURE LoRA =====",
192
+ "print(f\"\ud83d\udd27 Configuring LoRA (r={LORA_R}, alpha={LORA_ALPHA})\")",
193
+ "lora_config = LoraConfig(",
194
+ " r=LORA_R,",
195
+ " lora_alpha=LORA_ALPHA,",
196
+ " target_modules=[\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\", ",
197
+ " \"gate_proj\", \"up_proj\", \"down_proj\"],",
198
+ " lora_dropout=0.05,",
199
+ " bias=\"none\",",
200
+ " task_type=\"CAUSAL_LM\",",
201
+ ")",
202
+ "",
203
+ "model = get_peft_model(model, lora_config)",
204
+ "trainable = sum(p.numel() for p in model.parameters() if p.requires_grad)",
205
+ "total = sum(p.numel() for p in model.parameters())",
206
+ "print(f\"\ud83c\udf31 Trainable: {trainable:,} / {total:,} ({100*trainable/total:.2f}%)\")",
207
+ "",
208
+ "# ===== TRAIN =====",
209
+ "print(\"\ud83d\ude80 Starting training...\")",
210
+ "",
211
+ "training_args = SFTConfig(",
212
+ " output_dir=\"./seed_checkpoint\",",
213
+ " num_train_epochs=EPOCHS,",
214
+ " per_device_train_batch_size=BATCH_SIZE,",
215
+ " gradient_accumulation_steps=4,",
216
+ " learning_rate=LEARNING_RATE,",
217
+ " weight_decay=0.01,",
218
+ " warmup_ratio=0.1,",
219
+ " lr_scheduler_type=\"cosine\",",
220
+ " logging_steps=10,",
221
+ " save_strategy=\"epoch\",",
222
+ " fp16=True,",
223
+ " max_seq_length=MAX_SEQ_LEN,",
224
+ " dataset_text_field=\"text\",",
225
+ " report_to=\"none\",",
226
+ ")",
227
+ "",
228
+ "trainer = SFTTrainer(",
229
+ " model=model,",
230
+ " train_dataset=dataset,",
231
+ " args=training_args,",
232
+ " tokenizer=tokenizer,",
233
+ ")",
234
+ "",
235
+ "train_result = trainer.train()",
236
+ "print(f\"\u2705 Training complete! Loss: {train_result.training_loss:.4f}\")",
237
+ "",
238
+ "# ===== SAVE LoRA ADAPTER =====",
239
+ "adapter_path = \"./seed_lora_adapter\"",
240
+ "trainer.save_model(adapter_path)",
241
+ "print(f\"\ud83d\udcbe LoRA adapter saved to {adapter_path}\")",
242
+ "",
243
+ "# ===== MERGE ADAPTER INTO BASE =====",
244
+ "print(\"\ud83d\udd00 Merging adapter into base model...\")",
245
+ "",
246
+ "if use_4bit:",
247
+ " # For quantized models, reload in fp16 for merging",
248
+ " base_model_fp16 = AutoModelForCausalLM.from_pretrained(",
249
+ " BASE_MODEL, torch_dtype=torch.float16,",
250
+ " device_map=\"auto\", trust_remote_code=True,",
251
+ " )",
252
+ " merged_model = PeftModel.from_pretrained(base_model_fp16, adapter_path)",
253
+ "else:",
254
+ " merged_model = PeftModel.from_pretrained(model.base_model, adapter_path)",
255
+ "",
256
+ "merged_model = merged_model.merge_and_unload()",
257
+ "print(f\"\u2705 Merged! Final params: {sum(p.numel() for p in merged_model.parameters()):,}\")",
258
+ "",
259
+ "# ===== PUSH TO HUB =====",
260
+ "if HF_TOKEN:",
261
+ " print(f\"\ud83d\udce4 Pushing to HuggingFace: {OUTPUT_MODEL}\")",
262
+ " merged_model.push_to_hub(OUTPUT_MODEL, token=HF_TOKEN, private=False)",
263
+ " tokenizer.push_to_hub(OUTPUT_MODEL, token=HF_TOKEN, private=False)",
264
+ " ",
265
+ " # Create model card",
266
+ " card = f\"\"\"---",
267
+ "library_name: transformers",
268
+ "tags:",
269
+ "- seed",
270
+ "- openclaw",
271
+ "- self-evolving",
272
+ "- neuromorphic",
273
+ "license: mit",
274
+ "base_model: {BASE_MODEL}",
275
+ "---",
276
+ "",
277
+ "# \ud83c\udf31 OpenCLAW SEED \u2014 Self-Evolving Model",
278
+ "",
279
+ "**Stage:** GERMINATION (135M)",
280
+ "**Base:** {BASE_MODEL}",
281
+ "**Training entries:** {len(all_entries)}",
282
+ "**LoRA rank:** {LORA_R}",
283
+ "**Final loss:** {train_result.training_loss:.4f}",
284
+ "**Date:** {__import__('datetime').datetime.now().isoformat()}",
285
+ "",
286
+ "## What is SEED?",
287
+ "",
288
+ "SEED (Self-Evolving Epistemic Dynamo) is an AI system that **grows autonomously**, ",
289
+ "like a seed becoming a tree. It continuously:",
290
+ "1. Harvests knowledge from ArXiv, Semantic Scholar, and agent interactions",
291
+ "2. Trains itself via LoRA fine-tuning on free GPU resources",
292
+ "3. Merges learned knowledge into its core",
293
+ "4. Evaluates and selects the best version",
294
+ "5. Grows to larger models when enough knowledge is accumulated",
295
+ "",
296
+ "## By Francisco Angulo de Lafuente",
297
+ "Advanced AI Systems Laboratory, Madrid, Spain",
298
+ "- GitHub: https://github.com/Agnuxo1",
299
+ "- Scholar: https://scholar.google.com/citations?user=6nOpJ9IAAAAJ",
300
+ "\"\"\"",
301
+ " api = HfApi(token=HF_TOKEN)",
302
+ " api.upload_file(",
303
+ " path_or_fileobj=card.encode(),",
304
+ " path_in_repo=\"README.md\",",
305
+ " repo_id=OUTPUT_MODEL,",
306
+ " )",
307
+ " print(f\"\ud83c\udf89 Model published: https://huggingface.co/{OUTPUT_MODEL}\")",
308
+ "else:",
309
+ " # Save locally",
310
+ " merged_model.save_pretrained(\"./seed_merged_model\")",
311
+ " tokenizer.save_pretrained(\"./seed_merged_model\")",
312
+ " print(\"\ud83d\udcbe Model saved locally (no HF_TOKEN)\")",
313
+ "",
314
+ "# ===== SAVE TRAINING REPORT =====",
315
+ "report = {",
316
+ " \"stage\": \"GERMINATION\",",
317
+ " \"base_model\": BASE_MODEL,",
318
+ " \"output_model\": OUTPUT_MODEL,",
319
+ " \"training_entries\": len(all_entries),",
320
+ " \"lora_r\": LORA_R,",
321
+ " \"lora_alpha\": LORA_ALPHA,",
322
+ " \"epochs\": EPOCHS,",
323
+ " \"final_loss\": train_result.training_loss,",
324
+ " \"trainable_params\": trainable,",
325
+ " \"total_params\": total,",
326
+ " \"timestamp\": __import__(\"datetime\").datetime.now().isoformat(),",
327
+ "}",
328
+ "with open(\"training_report.json\", \"w\") as f:",
329
+ " json.dump(report, f, indent=2)",
330
+ "",
331
+ "print(\"\\n\" + \"=\"*60)",
332
+ "print(\"\ud83c\udf33 SEED GROWTH CYCLE COMPLETE\")",
333
+ "print(f\" Model: {OUTPUT_MODEL}\")",
334
+ "print(f\" Stage: GERMINATION\")",
335
+ "print(f\" Loss: {train_result.training_loss:.4f}\")",
336
+ "print(f\" Data: {len(all_entries)} entries\")",
337
+ "print(\"=\"*60)",
338
+ ""
339
+ ],
340
+ "outputs": [],
341
+ "execution_count": null
342
+ }
343
+ ]
344
+ }
seen_hashes.json ADDED
@@ -0,0 +1 @@
 
 
1
+ ["04494987ffb5e57b167e4d5a527a7ec2", "6ab78a87a8c553a424969aedfd28ab77", "ae0fcec2bd72af2b85fc0d70814d2be4", "3265dc3a3ca0750e12e609043c46b1a2", "2d41d88c6bc8d0dd647137b7179347c6", "dad75dadbe0805125470e1d0b0a13104", "1f73dab4e78b14799d6dc29811164977", "8680af283f9aa6d2ed5037538bb0642a", "73d058427f376edadd67bc6c22c08f0c", "8a9eabc6ee13cacd41dbd2dd8e0e5c79", "ea2daeed3a4134946d9f0658ca25ed2d", "3e8f7e11e368e95c857ea79381376978", "2a50092a5f262cf0d3621dca8b28fe44", "9ce2f9846a92bea5d02496273af4ed9b", "028920eaef15224d254fc782b70a20be", "aa2133c44c4a2fa5b1a9525df4c50519", "2b907737ccd984e4eff91a605f6eb667", "13f07d35f404fd3c4902b05adef6174d", "2b3de19efc65cff7a311015d410bb908", "a6f862781df7ab8b5ff0cbdc20b2718f", "1e3b42f4427b603429835159271a6f36", "74fe9cb027feae37287a76297cd06763", "dcab8a5a88e90795de2be59e8eebb774", "a45d92404462f5bab428b006986834e0", "dccf3cd660392a82881753f6549c527d", "90f5943ca8317fad2df8dc85c9227b81", "866092faa3cd263fc12061bf3f099801", "2e6d7c8b102b3003ad9768d2e1908b80", "35c6580d0e7b6601963033d5c59401a4", "a168303102d19aa91e7724a13dee88a7", "802a03f033681a1c2c0f9b5140b5b47c", "9910e1b0aa506f982542c2a74ec5fdbf", "cc70e113067b0a4faa2dc0cc89f2ebd1", "44d8f7a8d2f927071e8eb79030c69b8a", "38a30e5b99b3a8557ac4d6839183ea2d", "d709d8d3cb4d0e2a87dc7761118415a5", "0629de9e85a8e7ce2d68a9eb5248ddf1", "5fbf324b9705ea308d7755cf5b5fb891", "95b5552573dafb3803515ed1e4ef3e84", "a48a6f622aecdb800fb218557e436808", "0d8624110c6f3292964e8f55a63aaaa9", "66c38b6776b0c08dba7c24c285fb9896", "e6c5b9e87bc48d2e8de9a1fdbbb39a6e", "28ff49d840a3efafbfed4f13a9588478", "e646d1217878d9ed5eed6111532c582d", "55207cfd09ad63e9d27fc37a22234aec", "2c9e513ac7ce737d4bc6635569512576", "6a7e5388cb82cf3080bbabfbb26201f8", "f0fcd2bde58f4ae8d1dc5dec877ae246", "fc4a3ee71facef83d97324dddc8eddad", "79c4123cf76f5cad4ed33693674f7032", "400bc4ca1d5ad232fb3125b7a9b387a9", "e35d9ba18bf3e3a535701232f7957ab6", "bf6b1af28c78f7d06d1d54f04f4604a0", "e9a4179e311896ce4a198e8ac2986260", "c567f1cc0d1b2e52fd8a45dcf81dff10", "af968093a37952eaeae87cb5bd06eef0", "dcb227b1af19d9abffad70c23db3f21c", "9c7e992e4218765eee5b5864b208734d", "003adb429fc0409b8cd0e59d13be3f9b", "fdf1dc76cf4bb2b5cce98fdb8082d4bf", "c51646cbb7e5e3756cf1de0717a84819", "0235d9885a4fee4cedafb84844045613", "e07775007d17bb321cdf8fda5013cb20", "bc52406c84090dcfb9bc1ac848474a79", "56147a493c3b09a25904c6787728d07a", "f93e141d9ad9cb878e289d7702250075", "5cb6a2384d834c40a0e99dc5ccf7c027", "84a93a35e4777ee7efff8dabf25acf5f", "9cabff51eba75752917e8768ba05be34"]
semantic_scholar.jsonl ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Bridging Brains and Machines: A Unified Frontier in Neuroscience, Artificial Intelligence, and Neuromorphic Systems\nAuthors: Sohan Shankar, Yi Pan, Hanqi Jiang\nYear: 2025\nCitations: 4", "output": "The paper 'Bridging Brains and Machines: A Unified Frontier in Neuroscience, Artificial Intelligence, and Neuromorphic Systems' (2025) explores: This position and survey paper identifies the emerging convergence of neuroscience, artificial general intelligence (AGI), and neuromorphic computing toward a unified research paradigm. Using a framework grounded in brain physiology, we highlight how synaptic plasticity, sparse spike-based communication, and multimodal association provide design principles for next-generation AGI systems that pote", "source": "semantic_scholar", "topic": "neuromorphic AGI"}
2
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Toward Switching and Fusing Neuromorphic Computing: Vertical Bulk Heterojunction Transistors with Multi‐Neuromorphic Functions for Efficient Deep Learning\nAuthors: Yi Zou, Di Liu, Xinyan Gan\nYear: 2025\nCitations: 3", "output": "The paper 'Toward Switching and Fusing Neuromorphic Computing: Vertical Bulk Heterojunction Transistors with Multi‐Neuromorphic Functions for Efficient Deep Learning' (2025) explores: The combination of artificial neural networks (ANN) and spiking neural networks (SNN) holds great promise for advancing artificial general intelligence (AGI). However, the reported ANN and SNN computational architectures are independent and require a large number of auxiliary circuits and external algorithms for fusion training. Here, a novel vertical bulk heterojunction neuromorphic transistor (V", "source": "semantic_scholar", "topic": "neuromorphic AGI"}
3
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Implementation of AGI on Brain-Like Neuro-Network Structure\nAuthors: Evgeny Bryndin\nYear: 2025\nCitations: 0", "output": "The paper 'Implementation of AGI on Brain-Like Neuro-Network Structure' (2025) explores: The proposed approach to creating AGI using brain-like neural networks combines principles that teach systems to effectively generalize, remember, plan, and reason across a variety of tasks, drawing on ideas from neuromorphic architectures, dynamic hierarchical information processing, and hybrid neural-symbolic methods. Brain-like architectures dynamically process event-driven information over tim", "source": "semantic_scholar", "topic": "neuromorphic AGI"}
4
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Spoken Digit Classification by In-Materio Reservoir Computing With Neuromorphic Atomic Switch Networks\nAuthors: S. Lilak, Walt Woods, Kelsey S. Scharnhorst\nYear: 2021\nCitations: 67", "output": "The paper 'Spoken Digit Classification by In-Materio Reservoir Computing With Neuromorphic Atomic Switch Networks' (2021) explores: Atomic Switch Networks comprising silver iodide (AgI) junctions, a material previously unexplored as functional memristive elements within highly interconnected nanowire networks, were employed as a neuromorphic substrate for physical Reservoir Computing This new class of ASN-based devices has been physically characterized and utilized to classify spoken digit audio data, demonstrating the utility", "source": "semantic_scholar", "topic": "neuromorphic AGI"}
5
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Editorial: Understanding and Bridging the Gap Between Neuromorphic Computing and Machine Learning\nAuthors: Lei Deng, Huajin Tang, K. Roy\nYear: 2021\nCitations: 7", "output": "The paper 'Editorial: Understanding and Bridging the Gap Between Neuromorphic Computing and Machine Learning' (2021) explores: On the road toward artificial general intelligence (AGI), two solution paths have been explored: neuroscience-driven neuromorphic computing such as spiking neural networks (SNNs) and computer-science-driven machine learning such as artificial neural networks (ANNs). Owing to availability of data, high-performance processors, effective learning algorithms, and easy-to-use programming tools, ANNs ha", "source": "semantic_scholar", "topic": "neuromorphic AGI"}
6
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Nanosecond resistive switching in Ag/AgI/PtIr nanojunctions\nAuthors: Botond SΓ‘nta, D. MolnΓ‘r, Patrick Haiber\nYear: 2020\nCitations: 9", "output": "The paper 'Nanosecond resistive switching in Ag/AgI/PtIr nanojunctions' (2020) explores: Nanometer-scale resistive switching devices operated in the metallic conductance regime offer ultimately scalable and widely reconfigurable hardware elements for novel in-memory and neuromorphic computing architectures. Moreover, they exhibit high operation speed at low power arising from the ease of the electric-field-driven redistribution of only a small amount of highly mobile ionic species upo", "source": "semantic_scholar", "topic": "neuromorphic AGI"}
7
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: SIBoLS: Robust and Energy-Efficient Learning for Spike-Based Machine Intelligence in Information Bottleneck Framework\nAuthors: Shuangming Yang, Haowen Wang, Badong Chen\nYear: 2024\nCitations: 51", "output": "The paper 'SIBoLS: Robust and Energy-Efficient Learning for Spike-Based Machine Intelligence in Information Bottleneck Framework' (2024) explores: Spike-based machine intelligence has recently attracted increasing research attention and has been considered as a promising approach toward artificial general intelligence (AGI). It has been applied in energy-efficient neuromorphic computing systems. One of the most critical questions for spike-based learning is how to leverage powerful and promising information theoretic learning theories to der", "source": "semantic_scholar", "topic": "neuromorphic AGI"}
8
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Deep Learning for Physics Simulation\nAuthors: Tao Du\nYear: 2023\nCitations: 7", "output": "The paper 'Deep Learning for Physics Simulation' (2023) explores: Numerical simulation of physical systems has become an increasingly important scientific tool supporting various research fields. Despite its remarkable success, simulating intricate physical systems typically requires advanced domain-specific knowledge, meticulous implementation, and enormous computational resources. With the surge of deep learning in the last decade, there has been a growing int", "source": "semantic_scholar", "topic": "physics simulation deep learning"}
9
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Generative AI as a Pillar for Predicting 2D and 3D Wildfire Spread: Beyond Physics-Based Models and Traditional Deep Learning\nAuthors: Haowen Xu, Sisi Zlatanova, Ruiyu Liang\nYear: 2025\nCitations: 6", "output": "The paper 'Generative AI as a Pillar for Predicting 2D and 3D Wildfire Spread: Beyond Physics-Based Models and Traditional Deep Learning' (2025) explores: Wildfires increasingly threaten human life, ecosystems, and infrastructure, with events like the 2025 Palisades and Eaton fires in Los Angeles County underscoring the urgent need for more advanced prediction frameworks. Existing physics-based and deep-learning models struggle to capture dynamic wildfire spread across both 2D and 3D domains, especially when incorporating real-time, multimodal geosp", "source": "semantic_scholar", "topic": "physics simulation deep learning"}
10
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Distributed Hydrological Modeling With Physics‐Encoded Deep Learning: A General Framework and Its Application in the Amazon\nAuthors: Chao Wang, Shijie Jiang, Yi Zheng\nYear: 2024\nCitations: 58", "output": "The paper 'Distributed Hydrological Modeling With Physics‐Encoded Deep Learning: A General Framework and Its Application in the Amazon' (2024) explores: While deep learning (DL) models exhibit superior simulation accuracy over traditional distributed hydrological models (DHMs), their main limitations lie in opacity and the absence of underlying physical mechanisms. The pursuit of synergies between DL and DHMs is an engaging research domain, yet a definitive roadmap remains elusive. In this study, a novel framework that seamlessly integrates a proc", "source": "semantic_scholar", "topic": "physics simulation deep learning"}
11
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: A Physics-Coupled Deep Learning Framework for Hydrodynamic Diffusion Modeling in Watershed Systems: Integrating Spatiotemporal Networks and Environmental Constraints\nAuthors: Lei Jia, Neil Y. Yen, Yan Pei\nYear: 2025\nCitations: 5", "output": "The paper 'A Physics-Coupled Deep Learning Framework for Hydrodynamic Diffusion Modeling in Watershed Systems: Integrating Spatiotemporal Networks and Environmental Constraints' (2025) explores: The modeling and simulation of complex spatiotemporal systems are crucial for understanding and solving multidimensional dynamical systems, particularly in earth and environmental sciences. Accurate comprehension and computational modeling of fluid transport, environmental processes, and substance diffusion depend heavily on solving governing equations. Despite significant advancements in artifici", "source": "semantic_scholar", "topic": "physics simulation deep learning"}
12
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: A Physics-Embedded Deep Learning Framework for Cloth Simulation\nAuthors: Zhiwei Zhao\nYear: 2024\nCitations: 2", "output": "The paper 'A Physics-Embedded Deep Learning Framework for Cloth Simulation' (2024) explores: Delicate cloth simulations have long been desired in computer graphics. Various methods were proposed to improve engaged force interactions, collision handling, and numerical integrations. Deep learning has the potential to achieve fast and real-time simulation, but common neural network (NN) structures often demand many parameters to capture cloth dynamics. This paper proposes a physics-embedded ", "source": "semantic_scholar", "topic": "physics simulation deep learning"}
13
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Toward Physics-Aware Deep Learning Architectures for LiDAR Intensity Simulation\nAuthors: Vivek Anand, Bharat Lohani, Gaurav Pandey\nYear: 2024\nCitations: 3", "output": "The paper 'Toward Physics-Aware Deep Learning Architectures for LiDAR Intensity Simulation' (2024) explores: Autonomous vehicles (AVs) heavily rely on LiDAR perception for environment understanding and navigation. LiDAR intensity provides valuable information about the reflected laser signals and plays a crucial role in enhancing the perception capabilities of AVs. However, accurately simulating LiDAR intensity remains a challenge due to the unavailability of material properties of the objects in the env", "source": "semantic_scholar", "topic": "physics simulation deep learning"}
14
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Enhancing Adaptive Beamforming in 3-D Space Through Self-Improving Neural Network Techniques\nAuthors: Ioannis Mallioras, T. Yioultsis, N. Kantartzis\nYear: 2024\nCitations: 8", "output": "The paper 'Enhancing Adaptive Beamforming in 3-D Space Through Self-Improving Neural Network Techniques' (2024) explores: In the rapidly evolving domain of wireless networks, adaptive beamforming stands as a cornerstone for achieving higher data rates, enhanced network capacity, and reduced latency. This study introduces a novel integration of deep neural networks (NNs) into adaptive beamforming, specifically for uniform planar arrays (UPAs). We embark on an exploration of different NN architectures (a deep feedforwa", "source": "semantic_scholar", "topic": "self-improving neural network"}
15
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: From Known to Unknown: Quality-aware Self-improving Graph Neural Network For Open Set Social Event Detection\nAuthors: Jiaqian Ren, Lei Jiang, Hao Peng\nYear: 2022\nCitations: 29", "output": "The paper 'From Known to Unknown: Quality-aware Self-improving Graph Neural Network For Open Set Social Event Detection' (2022) explores: State-of-the-art Graph Neural Networks (GNNs) have achieved tremendous success in social event detection tasks when restricted to a closed set of events. However, considering the large amount of data needed for training and the limited ability of a neural network in handling previously unknown data, it is hard for existing GNN-based methods to operate in an open set setting. To address this proble", "source": "semantic_scholar", "topic": "self-improving neural network"}
16
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Self-Improving Generative Artificial Neural Network for Pseudorehearsal Incremental Class Learning\nAuthors: Diego Mellado, C. Saavedra, S. Chabert\nYear: 2019\nCitations: 20", "output": "The paper 'Self-Improving Generative Artificial Neural Network for Pseudorehearsal Incremental Class Learning' (2019) explores: Deep learning models are part of the family of artificial neural networks and, as such, they suffer catastrophic interference when learning sequentially. In addition, the greater number of these models have a rigid architecture which prevents the incremental learning of new classes. To overcome these drawbacks, we propose the Self-Improving Generative Artificial Neural Network (SIGANN), an end-to-", "source": "semantic_scholar", "topic": "self-improving neural network"}
17
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Improving the learning of self-driving vehicles based on real driving behavior using deep neural network techniques\nAuthors: Nayereh Zaghari, M. Fathy, S. M. Jameii\nYear: 2020\nCitations: 24", "output": "The paper 'Improving the learning of self-driving vehicles based on real driving behavior using deep neural network techniques' (2020) explores: Considering the significant advancements in autonomous vehicle technology, research in this field is of interest to researchers. To drive vehicles autonomously, controlling steer angle, gas hatch, and brakes needs to be learned. The behavioral cloning method is used to imitate humans’ driving behavior. We created a dataset of driving in different routes and conditions, and using the designed model", "source": "semantic_scholar", "topic": "self-improving neural network"}
18
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Real-time OCT image denoising using a self-fusion neural network.\nAuthors: Jose J. Rico-Jimenez, Dewei Hu, Eric M. Tang\nYear: 2022\nCitations: 22", "output": "The paper 'Real-time OCT image denoising using a self-fusion neural network.' (2022) explores: Optical coherence tomography (OCT) has become the gold standard for ophthalmic diagnostic imaging. However, clinical OCT image-quality is highly variable and limited visualization can introduce errors in the quantitative analysis of anatomic and pathologic features-of-interest. Frame-averaging is a standard method for improving image-quality, however, frame-averaging in the presence of bulk-motion", "source": "semantic_scholar", "topic": "self-improving neural network"}
19
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Predicting the compressive strength of self‐compacting concrete containing Class F fly ash using metaheuristic radial basis function neural network\nAuthors: Gholamreza Pazouki, E. Golafshani, A. Behnood\nYear: 2021\nCitations: 77", "output": "The paper 'Predicting the compressive strength of self‐compacting concrete containing Class F fly ash using metaheuristic radial basis function neural network' (2021) explores: The use of Class F fly ash (CFFA) as a partial replacement of cement in the concrete mixture can provide a wide variety benefits such as improving the mechanical properties, reducing the construction costs, and enhancing the environmental conditions. Compressive strength as one of the most critical mechanical parameters used in many design codes can be obtained either through costly and time‐consu", "source": "semantic_scholar", "topic": "self-improving neural network"}
20
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: SGA-Net: Self-Constructing Graph Attention Neural Network for Semantic Segmentation of Remote Sensing Images\nAuthors: Wenjie Zi, W. Xiong, Hao Chen\nYear: 2021\nCitations: 26", "output": "The paper 'SGA-Net: Self-Constructing Graph Attention Neural Network for Semantic Segmentation of Remote Sensing Images' (2021) explores: Semantic segmentation of remote sensing images is always a critical and challenging task. Graph neural networks, which can capture global contextual representations, can exploit long-range pixel dependency, thereby improving semantic segmentation performance. In this paper, a novel self-constructing graph attention neural network is proposed for such a purpose. Firstly, ResNet50 was employed as ba", "source": "semantic_scholar", "topic": "self-improving neural network"}
21
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Neural Network and Fuzzy-logic-based Self-tuning PID Control for Quadcopter Path Tracking\nAuthors: K. E. Hamidi, Mostafa Mjahed, A. E. Kari\nYear: 2019\nCitations: 28", "output": "The paper 'Neural Network and Fuzzy-logic-based Self-tuning PID Control for Quadcopter Path Tracking' (2019) explores: The purpose of this research is to design adaptive control methods for addressing the stabilization and trajectory tracking problems in a quadcopter unmanned aerial vehicle (UAV). To accomplish these tasks, a comparative study of the Proportional Integral Derivative (PID) and PD controllers is performed. Intelligent algorithms (IAs) have been used to tune the conventional structure of PID/PD contr", "source": "semantic_scholar", "topic": "self-improving neural network"}
22
+ {"instruction": "Explain this research and its significance for AGI.", "input": "Title: Physics-Guided Deep Learning Method for Tool Condition Monitoring in Smart Machining System\nAuthors: Shenshen Li, Xin Lin, Hu Shi\nYear: 2024\nCitations: 29", "output": "The paper 'Physics-Guided Deep Learning Method for Tool Condition Monitoring in Smart Machining System' (2024) explores: Accurate and fast prediction of tool conditions is fundamental to improve the machining accuracy and consistency in smart machining systems. The current tool condition monitoring methods, i.e., physics-based and data-driven approaches, have either low prediction accuracy or model generalization. To solve the shortcomings and utilize the benefits of both sides, a novel physics-guided deep learning ", "source": "semantic_scholar", "topic": "physics simulation deep learning"}
train_seed.py ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """
3
+ 🌱 SEED Training Script β€” Auto-generated 2026-02-27T01:02:57.937766+00:00
4
+ ===========================================================================
5
+ This script is FULLY AUTONOMOUS. Upload it to Kaggle/Colab with your data.
6
+ It will train, merge, and push the model to HuggingFace automatically.
7
+
8
+ Stage: GERMINATION (135M)
9
+ Base model: HuggingFaceTB/SmolLM2-135M-Instruct
10
+ Output: Agnuxo/OpenCLAW-SEED-135M
11
+ """
12
+ import os
13
+ import json
14
+
15
+ # ===== CONFIGURATION =====
16
+ BASE_MODEL = "HuggingFaceTB/SmolLM2-135M-Instruct"
17
+ OUTPUT_MODEL = "Agnuxo/OpenCLAW-SEED-135M"
18
+ HF_TOKEN = os.environ.get("HF_TOKEN", "")
19
+ LORA_R = 8
20
+ LORA_ALPHA = 16
21
+ EPOCHS = 3
22
+ BATCH_SIZE = 4
23
+ LEARNING_RATE = 0.0002
24
+ MAX_SEQ_LEN = 1024
25
+
26
+ # ===== INSTALL DEPENDENCIES =====
27
+ print("πŸ“¦ Installing training dependencies...")
28
+ os.system("pip install -q transformers>=4.45 datasets peft bitsandbytes trl accelerate huggingface_hub")
29
+
30
+ from datasets import load_dataset, Dataset
31
+ from transformers import (
32
+ AutoModelForCausalLM, AutoTokenizer,
33
+ TrainingArguments, BitsAndBytesConfig
34
+ )
35
+ from peft import LoraConfig, get_peft_model, PeftModel
36
+ from trl import SFTTrainer, SFTConfig
37
+ from huggingface_hub import HfApi, login
38
+ import torch
39
+
40
+ # ===== LOGIN =====
41
+ if HF_TOKEN:
42
+ login(token=HF_TOKEN)
43
+ print("βœ… Logged into HuggingFace")
44
+ else:
45
+ print("⚠️ No HF_TOKEN β€” model won't be pushed")
46
+
47
+ # ===== LOAD TRAINING DATA =====
48
+ print("πŸ“Š Loading training data...")
49
+ data_files = [f for f in os.listdir(".") if f.endswith(".jsonl")]
50
+ if not data_files:
51
+ # Try seed_data directory
52
+ data_dir = "seed_data"
53
+ if os.path.exists(data_dir):
54
+ data_files = [os.path.join(data_dir, f) for f in os.listdir(data_dir) if f.endswith(".jsonl")]
55
+
56
+ if not data_files:
57
+ print("❌ No training data found! Run DataHarvester first.")
58
+ exit(1)
59
+
60
+ # Combine all JSONL files
61
+ all_entries = []
62
+ for f in data_files:
63
+ with open(f) as fp:
64
+ for line in fp:
65
+ try:
66
+ entry = json.loads(line.strip())
67
+ # Format as chat
68
+ text = f"### Instruction:\n{entry.get('instruction', '')}\n\n"
69
+ if entry.get("input"):
70
+ text += f"### Input:\n{entry['input']}\n\n"
71
+ text += f"### Response:\n{entry.get('output', '')}"
72
+ all_entries.append({"text": text})
73
+ except:
74
+ continue
75
+
76
+ print(f"πŸ“Š Loaded {len(all_entries)} training entries from {len(data_files)} files")
77
+
78
+ if len(all_entries) < 50:
79
+ print("⚠️ Very small dataset β€” results may be limited")
80
+
81
+ dataset = Dataset.from_list(all_entries)
82
+
83
+ # ===== LOAD MODEL =====
84
+ print(f"🧠 Loading base model: {BASE_MODEL}")
85
+
86
+ # Quantization for larger models
87
+ use_4bit = "3B" in BASE_MODEL or "7B" in BASE_MODEL
88
+ if use_4bit:
89
+ bnb_config = BitsAndBytesConfig(
90
+ load_in_4bit=True,
91
+ bnb_4bit_quant_type="nf4",
92
+ bnb_4bit_compute_dtype=torch.float16,
93
+ bnb_4bit_use_double_quant=True,
94
+ )
95
+ model = AutoModelForCausalLM.from_pretrained(
96
+ BASE_MODEL, quantization_config=bnb_config,
97
+ device_map="auto", trust_remote_code=True,
98
+ )
99
+ else:
100
+ model = AutoModelForCausalLM.from_pretrained(
101
+ BASE_MODEL, torch_dtype=torch.float16,
102
+ device_map="auto", trust_remote_code=True,
103
+ )
104
+
105
+ tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL, trust_remote_code=True)
106
+ if tokenizer.pad_token is None:
107
+ tokenizer.pad_token = tokenizer.eos_token
108
+
109
+ print(f"βœ… Model loaded: {sum(p.numel() for p in model.parameters()):,} parameters")
110
+
111
+ # ===== CONFIGURE LoRA =====
112
+ print(f"πŸ”§ Configuring LoRA (r={LORA_R}, alpha={LORA_ALPHA})")
113
+ lora_config = LoraConfig(
114
+ r=LORA_R,
115
+ lora_alpha=LORA_ALPHA,
116
+ target_modules=["q_proj", "k_proj", "v_proj", "o_proj",
117
+ "gate_proj", "up_proj", "down_proj"],
118
+ lora_dropout=0.05,
119
+ bias="none",
120
+ task_type="CAUSAL_LM",
121
+ )
122
+
123
+ model = get_peft_model(model, lora_config)
124
+ trainable = sum(p.numel() for p in model.parameters() if p.requires_grad)
125
+ total = sum(p.numel() for p in model.parameters())
126
+ print(f"🌱 Trainable: {trainable:,} / {total:,} ({100*trainable/total:.2f}%)")
127
+
128
+ # ===== TRAIN =====
129
+ print("πŸš€ Starting training...")
130
+
131
+ training_args = SFTConfig(
132
+ output_dir="./seed_checkpoint",
133
+ num_train_epochs=EPOCHS,
134
+ per_device_train_batch_size=BATCH_SIZE,
135
+ gradient_accumulation_steps=4,
136
+ learning_rate=LEARNING_RATE,
137
+ weight_decay=0.01,
138
+ warmup_ratio=0.1,
139
+ lr_scheduler_type="cosine",
140
+ logging_steps=10,
141
+ save_strategy="epoch",
142
+ fp16=True,
143
+ max_seq_length=MAX_SEQ_LEN,
144
+ dataset_text_field="text",
145
+ report_to="none",
146
+ )
147
+
148
+ trainer = SFTTrainer(
149
+ model=model,
150
+ train_dataset=dataset,
151
+ args=training_args,
152
+ tokenizer=tokenizer,
153
+ )
154
+
155
+ train_result = trainer.train()
156
+ print(f"βœ… Training complete! Loss: {train_result.training_loss:.4f}")
157
+
158
+ # ===== SAVE LoRA ADAPTER =====
159
+ adapter_path = "./seed_lora_adapter"
160
+ trainer.save_model(adapter_path)
161
+ print(f"πŸ’Ύ LoRA adapter saved to {adapter_path}")
162
+
163
+ # ===== MERGE ADAPTER INTO BASE =====
164
+ print("πŸ”€ Merging adapter into base model...")
165
+
166
+ if use_4bit:
167
+ # For quantized models, reload in fp16 for merging
168
+ base_model_fp16 = AutoModelForCausalLM.from_pretrained(
169
+ BASE_MODEL, torch_dtype=torch.float16,
170
+ device_map="auto", trust_remote_code=True,
171
+ )
172
+ merged_model = PeftModel.from_pretrained(base_model_fp16, adapter_path)
173
+ else:
174
+ merged_model = PeftModel.from_pretrained(model.base_model, adapter_path)
175
+
176
+ merged_model = merged_model.merge_and_unload()
177
+ print(f"βœ… Merged! Final params: {sum(p.numel() for p in merged_model.parameters()):,}")
178
+
179
+ # ===== PUSH TO HUB =====
180
+ if HF_TOKEN:
181
+ print(f"πŸ“€ Pushing to HuggingFace: {OUTPUT_MODEL}")
182
+ merged_model.push_to_hub(OUTPUT_MODEL, token=HF_TOKEN, private=False)
183
+ tokenizer.push_to_hub(OUTPUT_MODEL, token=HF_TOKEN, private=False)
184
+
185
+ # Create model card
186
+ card = f"""---
187
+ library_name: transformers
188
+ tags:
189
+ - seed
190
+ - openclaw
191
+ - self-evolving
192
+ - neuromorphic
193
+ license: mit
194
+ base_model: {BASE_MODEL}
195
+ ---
196
+
197
+ # 🌱 OpenCLAW SEED β€” Self-Evolving Model
198
+
199
+ **Stage:** GERMINATION (135M)
200
+ **Base:** {BASE_MODEL}
201
+ **Training entries:** {len(all_entries)}
202
+ **LoRA rank:** {LORA_R}
203
+ **Final loss:** {train_result.training_loss:.4f}
204
+ **Date:** {__import__('datetime').datetime.now().isoformat()}
205
+
206
+ ## What is SEED?
207
+
208
+ SEED (Self-Evolving Epistemic Dynamo) is an AI system that **grows autonomously**,
209
+ like a seed becoming a tree. It continuously:
210
+ 1. Harvests knowledge from ArXiv, Semantic Scholar, and agent interactions
211
+ 2. Trains itself via LoRA fine-tuning on free GPU resources
212
+ 3. Merges learned knowledge into its core
213
+ 4. Evaluates and selects the best version
214
+ 5. Grows to larger models when enough knowledge is accumulated
215
+
216
+ ## By Francisco Angulo de Lafuente
217
+ Advanced AI Systems Laboratory, Madrid, Spain
218
+ - GitHub: https://github.com/Agnuxo1
219
+ - Scholar: https://scholar.google.com/citations?user=6nOpJ9IAAAAJ
220
+ """
221
+ api = HfApi(token=HF_TOKEN)
222
+ api.upload_file(
223
+ path_or_fileobj=card.encode(),
224
+ path_in_repo="README.md",
225
+ repo_id=OUTPUT_MODEL,
226
+ )
227
+ print(f"πŸŽ‰ Model published: https://huggingface.co/{OUTPUT_MODEL}")
228
+ else:
229
+ # Save locally
230
+ merged_model.save_pretrained("./seed_merged_model")
231
+ tokenizer.save_pretrained("./seed_merged_model")
232
+ print("πŸ’Ύ Model saved locally (no HF_TOKEN)")
233
+
234
+ # ===== SAVE TRAINING REPORT =====
235
+ report = {
236
+ "stage": "GERMINATION",
237
+ "base_model": BASE_MODEL,
238
+ "output_model": OUTPUT_MODEL,
239
+ "training_entries": len(all_entries),
240
+ "lora_r": LORA_R,
241
+ "lora_alpha": LORA_ALPHA,
242
+ "epochs": EPOCHS,
243
+ "final_loss": train_result.training_loss,
244
+ "trainable_params": trainable,
245
+ "total_params": total,
246
+ "timestamp": __import__("datetime").datetime.now().isoformat(),
247
+ }
248
+ with open("training_report.json", "w") as f:
249
+ json.dump(report, f, indent=2)
250
+
251
+ print("\n" + "="*60)
252
+ print("🌳 SEED GROWTH CYCLE COMPLETE")
253
+ print(f" Model: {OUTPUT_MODEL}")
254
+ print(f" Stage: GERMINATION")
255
+ print(f" Loss: {train_result.training_loss:.4f}")
256
+ print(f" Data: {len(all_entries)} entries")
257
+ print("="*60)
training_dataset.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
training_report.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp": "2026-02-11T14:19:41.882997+00:00",
3
+ "stage": "GERMINATION",
4
+ "base_model": "HuggingFaceTB/SmolLM2-135M-Instruct",
5
+ "output_model": "Agnuxo/OpenCLAW-SEED-135M",
6
+ "final_loss": 2.542428970336914,
7
+ "training_entries": 442,
8
+ "train_split": 397,
9
+ "eval_split": 45,
10
+ "total_params": 134515008,
11
+ "trainable_params": 2442240,
12
+ "lora_r": 8,
13
+ "lora_alpha": 16,
14
+ "epochs": 3,
15
+ "batch_size": 4,
16
+ "learning_rate": 0.0002,
17
+ "gpu": "Tesla P100-PCIE-16GB"
18
+ }