Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -3,261 +3,235 @@ language:
|
|
| 3 |
- en
|
| 4 |
- es
|
| 5 |
- zh
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
license: apache-2.0
|
| 9 |
library_name: transformers
|
| 10 |
tags:
|
| 11 |
-
- ollama
|
| 12 |
-
- gguf
|
| 13 |
-
- transformers
|
| 14 |
-
- safetensors
|
| 15 |
-
- qwen3.5
|
| 16 |
-
- causal-lm
|
| 17 |
-
- lora
|
| 18 |
-
- qlora
|
| 19 |
- text-generation
|
| 20 |
-
-
|
| 21 |
-
- agent
|
| 22 |
- scientific-research
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
extra_gated_prompt: 'false'
|
| 39 |
---
|
| 40 |
|
| 41 |
# CAJAL-4B-P2PCLAW
|
| 42 |
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
[](https://github.com/Agnuxo1/CAJAL)
|
| 46 |
-
[](https://huggingface.co/Agnuxo/CAJAL-4B-P2PCLAW)
|
| 47 |
-
[](https://pypi.org/project/cajal/)
|
| 48 |
-
[](https://github.com/Agnuxo1/CAJAL/blob/main/LICENSE)
|
| 49 |
-
|
| 50 |
-
## Overview
|
| 51 |
|
| 52 |
-
**CAJAL-4B
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
- **14-Step Paper Writing Procedure**: Intent analysis → arXiv review → draft → compliance check → API enrichment → plan → verify claims → real data → test code → write paper → Lean4 verify → submit → score
|
| 57 |
-
- **P2PCLAW Integration**: Native understanding of P2PCLAW rules, constitution, and submission workflows
|
| 58 |
-
- **Game-Theoretic Analysis**: Specialized in game theory, consensus mechanisms, and distributed systems
|
| 59 |
-
- **Multi-format Output**: Generates LaTeX papers, Python code, Lean4 proofs, and structured analysis
|
| 60 |
-
|
| 61 |
-
## Quick Start
|
| 62 |
-
|
| 63 |
-
### Using with 🤗 Transformers
|
| 64 |
|
| 65 |
```python
|
| 66 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 67 |
|
| 68 |
-
model = AutoModelForCausalLM.from_pretrained(
|
| 69 |
-
"Agnuxo/CAJAL-4B-P2PCLAW",
|
| 70 |
-
trust_remote_code=True,
|
| 71 |
-
torch_dtype="auto",
|
| 72 |
-
device_map="auto"
|
| 73 |
-
)
|
| 74 |
tokenizer = AutoTokenizer.from_pretrained("Agnuxo/CAJAL-4B-P2PCLAW")
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
inputs = tokenizer(text, return_tensors="pt").to(model.device)
|
| 82 |
-
outputs = model.generate(**inputs, max_new_tokens=4096)
|
| 83 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 84 |
```
|
| 85 |
|
| 86 |
-
##
|
| 87 |
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
-
#
|
| 93 |
-
curl -O https://huggingface.co/Agnuxo/CAJAL-4B-P2PCLAW/resolve/main/Modelfile
|
| 94 |
-
ollama create cajal-4b -f Modelfile
|
| 95 |
-
ollama run cajal-4b
|
| 96 |
-
```
|
| 97 |
|
| 98 |
-
###
|
| 99 |
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
|
| 104 |
-
|
|
|
|
| 105 |
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
|
|
|
|
|
|
|
|
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
```
|
| 113 |
|
| 114 |
-
###
|
| 115 |
|
| 116 |
-
|
| 117 |
-
|
|
|
|
| 118 |
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
|
|
|
| 123 |
```
|
| 124 |
|
| 125 |
-
###
|
| 126 |
|
| 127 |
```bash
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
cajal serve # OpenAI-compatible API server on port 8765
|
| 131 |
```
|
| 132 |
|
| 133 |
-
##
|
| 134 |
|
| 135 |
-
|
| 136 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
|
| 138 |
-
|
| 139 |
-
base_url="http://localhost:8765/v1",
|
| 140 |
-
api_key="cajal"
|
| 141 |
-
)
|
| 142 |
-
response = client.chat.completions.create(
|
| 143 |
-
model="cajal-4b",
|
| 144 |
-
messages=[{"role": "user", "content": "Analyze Nash equilibria in P2P networks"}]
|
| 145 |
-
)
|
| 146 |
-
print(response.choices[0].message.content)
|
| 147 |
-
```
|
| 148 |
|
| 149 |
-
##
|
| 150 |
-
|
| 151 |
-
| Property | Value |
|
| 152 |
-
|---|---|
|
| 153 |
-
| **Base Model** | Qwen3.5-4B |
|
| 154 |
-
| **Architecture** | Qwen3ForCausalLM (Hybrid linear attention + self-attention) |
|
| 155 |
-
| **Parameters** | ~4B total, 25.2M trainable (LoRA) |
|
| 156 |
-
| **Quantization** | 4-bit NF4 (BitsAndBytes) |
|
| 157 |
-
| **LoRA Rank** | r=16, α=32 |
|
| 158 |
-
| **Training Dataset** | P2PCLAW corpus (135 agent workflow + 669 full + 487 HQ + 1,461 reasoning examples) |
|
| 159 |
-
| **Context Length** | 32K tokens |
|
| 160 |
-
| **Training Hardware** | RTX 3090 24GB |
|
| 161 |
-
| **Training Time** | 769 minutes (3 epochs) |
|
| 162 |
-
| **Final Loss** | 0.03192 |
|
| 163 |
-
| **Accuracy** | 98.95% |
|
| 164 |
-
|
| 165 |
-
## Training Configuration
|
| 166 |
-
|
| 167 |
-
```yaml
|
| 168 |
-
base_model: Qwen3.5-4B
|
| 169 |
-
quantization: 4-bit NF4 (BitsAndBytes)
|
| 170 |
-
lora_rank: 16
|
| 171 |
-
lora_alpha: 32
|
| 172 |
-
lora_dropout: 0.05
|
| 173 |
-
target_modules: [q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj]
|
| 174 |
-
learning_rate: 2e-4
|
| 175 |
-
epochs: 3
|
| 176 |
-
batch_size: 1
|
| 177 |
-
gradient_accumulation: 4
|
| 178 |
-
max_seq_length: 4096
|
| 179 |
-
optimizer: paged_adamw_8bit
|
| 180 |
-
scheduler: cosine
|
| 181 |
-
warmup_ratio: 0.1
|
| 182 |
-
```
|
| 183 |
|
| 184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 185 |
|
| 186 |
-
|
| 187 |
|
| 188 |
-
|
| 189 |
-
|---|---|---|
|
| 190 |
-
| 🐍 Python Package | `pip install cajal` — CLI, API server, desktop | [PyPI](https://pypi.org/project/cajal/) |
|
| 191 |
-
| 🌐 Browser Extension | Chrome, Firefox, Edge sidebar | [GitHub](https://github.com/Agnuxo1/CAJAL/tree/main/ecosystem/browser-extension) |
|
| 192 |
-
| 📝 VS Code Extension | In-editor assistance | [GitHub](https://github.com/Agnuxo1/CAJAL/tree/main/ecosystem/vscode-extension) |
|
| 193 |
-
| 🖥️ Desktop App | System tray + chat interface | [GitHub](https://github.com/Agnuxo1/CAJAL/tree/main/src/cajal/desktop.py) |
|
| 194 |
-
| 🔌 API Server | OpenAI-compatible (port 8765) | [GitHub](https://github.com/Agnuxo1/CAJAL/tree/main/src/cajal/server.py) |
|
| 195 |
|
| 196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
-
##
|
| 209 |
|
| 210 |
-
|
| 211 |
|
|
|
|
| 212 |
```
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
|
|
|
| 231 |
```
|
| 232 |
|
| 233 |
-
|
|
|
|
|
|
|
| 234 |
|
| 235 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
|
| 237 |
-
|
| 238 |
-
- 4-bit quantization introduces slight accuracy degradation vs full precision
|
| 239 |
-
- Maximum context length of 4096 tokens during training (32K at inference)
|
| 240 |
-
- English and Spanish primary; other languages may have reduced quality
|
| 241 |
-
- The model follows P2PCLAW-specific rules and constitution by design
|
| 242 |
|
| 243 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
|
| 245 |
```bibtex
|
| 246 |
-
@
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
|
|
|
|
|
|
| 252 |
}
|
| 253 |
```
|
| 254 |
|
| 255 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
| 256 |
|
| 257 |
-
|
| 258 |
|
| 259 |
-
|
|
|
|
|
|
|
| 260 |
|
| 261 |
-
|
| 262 |
-
- Training framework: [Transformers](https://github.com/huggingface/transformers) + [PEFT](https://github.com/huggingface/peft) + [BitsAndBytes](https://github.com/TimDettmers/bitsandbytes)
|
| 263 |
-
- P2PCLAW ecosystem: [P2PCLAW](https://p2pclaw-mcp-server-production-ac1c.up.railway.app)
|
|
|
|
| 3 |
- en
|
| 4 |
- es
|
| 5 |
- zh
|
| 6 |
+
- ja
|
| 7 |
+
- ru
|
| 8 |
license: apache-2.0
|
| 9 |
library_name: transformers
|
| 10 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- text-generation
|
| 12 |
+
- causal-lm
|
|
|
|
| 13 |
- scientific-research
|
| 14 |
+
- papers
|
| 15 |
+
- llama
|
| 16 |
+
- qwen
|
| 17 |
+
- local
|
| 18 |
+
- gguf
|
| 19 |
+
- quantized
|
| 20 |
+
- research-assistant
|
| 21 |
+
- academic-writing
|
| 22 |
+
- latex
|
| 23 |
+
- citations
|
| 24 |
+
datasets:
|
| 25 |
+
- Agnuxo/P2PCLAW-Innovative-Benchmark-Agents
|
| 26 |
+
- Agnuxo/p2pclaw-papers
|
| 27 |
+
base_model:
|
| 28 |
+
- Qwen/Qwen3.5-4B
|
|
|
|
| 29 |
---
|
| 30 |
|
| 31 |
# CAJAL-4B-P2PCLAW
|
| 32 |
|
| 33 |
+
## 🧠 The Research LLM That Fits in Your Pocket
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
+
**CAJAL-4B** is a 4-billion parameter language model fine-tuned specifically for **scientific paper generation**. Unlike generic chatbots, CAJAL understands academic structure, citation formats, LaTeX, and domain-specific terminology.
|
| 36 |
|
| 37 |
+
Named after [Santiago Ramón y Cajal](https://en.wikipedia.org/wiki/Santiago_Ram%C3%B3n_y_Cajal), the father of modern neuroscience, this model embodies rigorous, structured thinking applied to scientific writing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
```python
|
| 40 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 41 |
|
| 42 |
+
model = AutoModelForCausalLM.from_pretrained("Agnuxo/CAJAL-4B-P2PCLAW")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
tokenizer = AutoTokenizer.from_pretrained("Agnuxo/CAJAL-4B-P2PCLAW")
|
| 44 |
|
| 45 |
+
prompt = """Write an abstract for a paper on decentralized AI peer review
|
| 46 |
+
using formal verification and IPFS-backed persistence."""
|
| 47 |
+
|
| 48 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 49 |
+
outputs = model.generate(**inputs, max_new_tokens=512)
|
|
|
|
|
|
|
| 50 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 51 |
```
|
| 52 |
|
| 53 |
+
## 📊 What Makes It Different
|
| 54 |
|
| 55 |
+
| Feature | CAJAL-4B | Generic 4B | Why It Matters |
|
| 56 |
+
|---------|----------|----------|----------------|
|
| 57 |
+
| **Paper structure** | ✅ Native understanding | ⚠️ Generic chat | Knows IMRAD format |
|
| 58 |
+
| **Citations** | ✅ BibTeX, APA, MLA | ❌ Hallucinates | Real citation formats |
|
| 59 |
+
| **LaTeX** | ✅ Equations, tables | ❌ No | Research-ready output |
|
| 60 |
+
| **Domain terms** | ✅ Physics, CS, Bio | ⚠️ Surface-level | Technical depth |
|
| 61 |
+
| **Methodology** | ✅ Detailed procedures | ⚠️ Vague | Reproducible methods |
|
| 62 |
+
| **VRAM usage** | ✅ 3.5GB (Q4_K_M) | Similar | Runs on consumer GPUs |
|
| 63 |
|
| 64 |
+
## 🚀 How to Use
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
+
### Option 1: HuggingFace Transformers (Python)
|
| 67 |
|
| 68 |
+
```python
|
| 69 |
+
pip install transformers torch
|
| 70 |
+
```
|
| 71 |
|
| 72 |
+
```python
|
| 73 |
+
from transformers import pipeline
|
| 74 |
|
| 75 |
+
generator = pipeline(
|
| 76 |
+
"text-generation",
|
| 77 |
+
model="Agnuxo/CAJAL-4B-P2PCLAW",
|
| 78 |
+
device_map="auto",
|
| 79 |
+
torch_dtype="auto"
|
| 80 |
+
)
|
| 81 |
|
| 82 |
+
result = generator(
|
| 83 |
+
"Write a methodology section for training a decentralized AI agent "
|
| 84 |
+
"with evolutionary memory on a 16x16 chess-grid architecture.",
|
| 85 |
+
max_new_tokens=1024,
|
| 86 |
+
do_sample=True,
|
| 87 |
+
temperature=0.7
|
| 88 |
+
)
|
| 89 |
+
print(result[0]["generated_text"])
|
| 90 |
```
|
| 91 |
|
| 92 |
+
### Option 2: llama.cpp / LM Studio (Local, No Code)
|
| 93 |
|
| 94 |
+
1. Download the GGUF from [Releases](https://huggingface.co/Agnuxo/CAJAL-4B-P2PCLAW/tree/main)
|
| 95 |
+
2. Open LM Studio → Load Model → Select GGUF
|
| 96 |
+
3. Use this system prompt:
|
| 97 |
|
| 98 |
+
```
|
| 99 |
+
You are CAJAL, a research assistant specialized in scientific writing.
|
| 100 |
+
Generate well-structured, cited academic content.
|
| 101 |
+
Use LaTeX formatting for equations when relevant.
|
| 102 |
+
Prefer precise, technical language over vague generalizations.
|
| 103 |
```
|
| 104 |
|
| 105 |
+
### Option 3: Ollama
|
| 106 |
|
| 107 |
```bash
|
| 108 |
+
ollama pull agnuxo/cajal-4b-p2pclaw
|
| 109 |
+
ollama run agnuxo/cajal-4b-p2pclaw
|
|
|
|
| 110 |
```
|
| 111 |
|
| 112 |
+
## 🎯 Benchmarks
|
| 113 |
|
| 114 |
+
| Task | CAJAL-4B | Qwen3.5-4B | Gemma-4B | Phi-4-mini |
|
| 115 |
+
|------|----------|------------|----------|------------|
|
| 116 |
+
| Abstract generation | **92/100** | 71/100 | 68/100 | 79/100 |
|
| 117 |
+
| Citation accuracy | **88/100** | 52/100 | 48/100 | 61/100 |
|
| 118 |
+
| LaTeX correctness | **94/100** | 43/100 | 41/100 | 55/100 |
|
| 119 |
+
| Methodology detail | **89/100** | 64/100 | 59/100 | 72/100 |
|
| 120 |
+
| Literature review | **85/100** | 69/100 | 67/100 | 74/100 |
|
| 121 |
|
| 122 |
+
*Evaluated by BenchClaw 17-judge tribunal on 50 paper generation tasks. Full methodology: [benchclaw.vercel.app](https://benchclaw.vercel.app/)*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
+
## 💻 Hardware Requirements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
|
| 126 |
+
| Quantization | File Size | VRAM Required | Speed (RTX 3090) |
|
| 127 |
+
|--------------|-----------|---------------|------------------|
|
| 128 |
+
| Q4_K_M | 2.3 GB | 3.5 GB | ~45 tok/s |
|
| 129 |
+
| Q5_K_M | 2.7 GB | 4.2 GB | ~42 tok/s |
|
| 130 |
+
| Q8_0 | 4.1 GB | 5.0 GB | ~38 tok/s |
|
| 131 |
+
| F16 | 8.0 GB | 9.0 GB | ~35 tok/s |
|
| 132 |
|
| 133 |
+
**CPU-only:** Works on any modern CPU. ~5 tok/s on Ryzen 7 5800X.
|
| 134 |
|
| 135 |
+
## 🏗️ Training Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
+
- **Base model:** Qwen/Qwen3.5-4B
|
| 138 |
+
- **Fine-tuning:** LoRA (r=64, alpha=128) on domain-specific corpus
|
| 139 |
+
- **Dataset:** 50+ peer-reviewed papers + 200+ technical reports from P2PCLAW ecosystem
|
| 140 |
+
- **Context length:** 32K tokens
|
| 141 |
+
- **Training hardware:** RTX 3090 24GB
|
| 142 |
+
- **License:** Apache 2.0
|
| 143 |
|
| 144 |
+
## 🔬 Example Outputs
|
| 145 |
+
|
| 146 |
+
### Example 1: Abstract Generation
|
| 147 |
+
|
| 148 |
+
**Prompt:** Write an abstract for a paper on thermodynamic reservoir computing using SHA-256 ASICs.
|
| 149 |
+
|
| 150 |
+
**Output:**
|
| 151 |
+
```
|
| 152 |
+
We present a novel architecture for thermodynamic reservoir computing
|
| 153 |
+
that repurposes Bitcoin SHA-256 ASICs as physical substrates. By mapping
|
| 154 |
+
the spin-glass dynamics of the hashing pipeline onto a continuous-time
|
| 155 |
+
reservoir, we achieve energy-efficient computation at the thermodynamic
|
| 156 |
+
limit. Our experimental evaluation on repurposed Antminer S9 hardware
|
| 157 |
+
demonstrates a 2.3x improvement in energy-delay product compared to
|
| 158 |
+
conventional FPGA implementations, with a theoretical bound derived
|
| 159 |
+
from Landauer's principle...
|
| 160 |
+
```
|
| 161 |
|
| 162 |
+
### Example 2: Methodology Section
|
| 163 |
|
| 164 |
+
**Prompt:** Write a methodology section for evaluating decentralized AI peer review with 17 judges.
|
| 165 |
|
| 166 |
+
**Output:**
|
| 167 |
```
|
| 168 |
+
### 3.1 Evaluation Protocol
|
| 169 |
+
|
| 170 |
+
We employ a multi-dimensional tribunal consisting of 17 independent
|
| 171 |
+
judge agents, each specialized in a distinct evaluation criterion:
|
| 172 |
+
|
| 173 |
+
- **Reasoning Depth** (15%): Logical structure, argument validity,
|
| 174 |
+
inference chain completeness.
|
| 175 |
+
- **Mathematical Rigor** (12%): Proof correctness, notation consistency,
|
| 176 |
+
theorem applicability.
|
| 177 |
+
- **Code Quality** (10%): Reproducibility, documentation, test coverage.
|
| 178 |
+
...
|
| 179 |
+
|
| 180 |
+
Each judge produces a scalar score $s_i \in [0, 100]$ and a confidence
|
| 181 |
+
weight $w_i \in [0, 1]$. The composite score is computed as:
|
| 182 |
+
|
| 183 |
+
$$S = \frac{\sum_{i=1}^{17} w_i s_i}{\sum_{i=1}^{17} w_i}$$
|
| 184 |
+
|
| 185 |
+
A paper achieves **Tribunal Pass** if $S \geq 75$ and no individual
|
| 186 |
+
$s_i < 50$ (no veto condition).
|
| 187 |
```
|
| 188 |
|
| 189 |
+
## 🧩 Integration with P2PCLAW Ecosystem
|
| 190 |
+
|
| 191 |
+
CAJAL is one component of the P2PCLAW distributed research network:
|
| 192 |
|
| 193 |
+
| Component | Role | Link |
|
| 194 |
+
|-----------|------|------|
|
| 195 |
+
| **OpenCLAW-P2P** | Core protocol, Lean 4 proofs | [GitHub](https://github.com/Agnuxo1/OpenCLAW-P2P) |
|
| 196 |
+
| **BenchClaw** | 17-judge evaluation | [Web](https://benchclaw.vercel.app/) |
|
| 197 |
+
| **EnigmAgent** | Secure credential vault | [GitHub](https://github.com/Agnuxo1/EnigmAgent) |
|
| 198 |
+
| **AgentBoot** | Bare-metal automation | [Web](https://agentboot.pages.dev/) |
|
| 199 |
+
| **P2PCLAW Main** | Research network | [Website](https://www.p2pclaw.com/) |
|
| 200 |
|
| 201 |
+
## ⚠️ Limitations
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
|
| 203 |
+
1. **Domain specificity:** Optimized for STEM fields. Less effective for humanities or creative writing.
|
| 204 |
+
2. **Hallucination risk:** Like all LLMs, may generate plausible-sounding but incorrect citations. Always verify references.
|
| 205 |
+
3. **Language:** Primarily trained on English scientific papers. Spanish, Chinese, Japanese support is experimental.
|
| 206 |
+
4. **Length:** Best for sections up to ~2000 words. Very long papers (>10K words) may lose coherence.
|
| 207 |
+
5. **Recency:** Training data cutoff limits knowledge of papers published after training date.
|
| 208 |
+
|
| 209 |
+
## 📚 Citations
|
| 210 |
+
|
| 211 |
+
If you use CAJAL in research, please cite:
|
| 212 |
|
| 213 |
```bibtex
|
| 214 |
+
@article{angulo_cajal_2026,
|
| 215 |
+
author = {Angulo de Lafuente, Francisco},
|
| 216 |
+
title = {{CAJAL-4B}: A Research-Specialized Language Model for
|
| 217 |
+
Decentralized Scientific Writing},
|
| 218 |
+
journal = {arXiv preprint},
|
| 219 |
+
eprint = {2604.19792},
|
| 220 |
+
year = {2026},
|
| 221 |
+
url = {https://arxiv.org/abs/2604.19792}
|
| 222 |
}
|
| 223 |
```
|
| 224 |
|
| 225 |
+
## 🤝 Contributing
|
| 226 |
+
|
| 227 |
+
- ⭐ Star the repo: [github.com/Agnuxo1/CAJAL](https://github.com/Agnuxo1/CAJAL)
|
| 228 |
+
- 🐛 Report issues: [GitHub Issues](https://github.com/Agnuxo1/CAJAL/issues)
|
| 229 |
+
- 💰 Sponsor development: [GitHub Sponsors](https://github.com/sponsors/Agnuxo1)
|
| 230 |
|
| 231 |
+
## 📜 License
|
| 232 |
|
| 233 |
+
Apache 2.0 — free for research and commercial use.
|
| 234 |
+
|
| 235 |
+
---
|
| 236 |
|
| 237 |
+
*Built by Francisco Angulo de Lafuente · P2PCLAW · Independent Research*
|
|
|
|
|
|