CoolFace
Modelpublic

ethicalabs/Echo-DSRN-114M-Base

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes33downloads
Model Card

Model Card for ethicalabs/Echo-DSRN-114M-Base

[!WARNING] This repository contains experimental models designed strictly for academic evaluation and research purposes. Critical Constraints: No Production Deployment: Experimental models must not be deployed in commercial, enterprise, or mission-critical environments under any circumstances. No Liability: Experimental models are provided "as-is" without warranties of any kind. The developers assume zero liability for downstream consequences, system integration failures, or regulatory non-compliance resulting from unauthorized deployment.

The Echo-DSRN(N) (Dual State Recurrent Neural Network, short name: Echo-DSRN, also know as echo) is a novel architecture specifically designed to be a viable alternative for low-resource tasks that are currently being inefficiently handled by the excessive scale of Large Language Models (LLMs) ๐ŸŒฑ

โš ๏ธ Important Notice

This is a research prototype and demo model.

  • โ€”Not production-ready
  • โ€”Will hallucinate and give incorrect answers
  • โ€”Do not use for any real-world decisions
  • โ€”Intended for architecture experimentation only

What Works

  • โ€”Text generation is fluent
  • โ€”Memory usage is constant O(1)
  • โ€”Runs on CPUs, NPUs, GPUs (Tested on AMD's ROCm and Apple's MPS)

What Doesn't Work

  • โ€”Factual accuracy
  • โ€”Instruction following
  • โ€”Common sense reasoning

๐Ÿ—๏ธ Architecture Details

PropertyValue
Model Typeecho_dsrn
Layers8
Hidden Dim512
Attention Heads4
MLP Ratio8.0
Vocab Size32011
Hybrid AttentionTrue
RMSNormTrue

๐Ÿ“Š Parameter Breakdown

ComponentParameters% of Total
Total114.69M (114,687,488)100%
Embeddings16.39M14.29%
DSRN Blocks (Aggregate)81.91M71.42%
LM Head16.39M14.29%

๐Ÿงฉ Internal Block Structure (Per Layer)

Sub-ComponentParametersDescription
MLP (Feed-Forward)4.20MUpscaled hidden layers
DSRN Slow State3.15MConstant-time memory gates
GRU Fast State1.58MRecurrent fast path
Surprise Gating264,192Dynamic focus mechanism
Normalization1,024LayerNorm / RMSNorm

Pre-Training

Truncated Backpropagation Through Time (TBPTT) on Fineweb-EDU (10BT)

1 epoch on a single AMD Instinct MI300X 192 GB

image

Continued Pre-Training (SFTTrainer)

1 epoch on a single AMD Radeon AI PRO R9700 32 GB

image image

Evaluation

uv run lm_eval --model hf   --model_args pretrained=ethicalabs/Echo-DSRN-114M-Base,trust_remote_code=True,device_map="auto"   --tasks sciq,piqa --output_path ./results_Echo-DSRN-114M-Base --batch_size 16 --num_fewshot 5 && uv run lm_eval --model hf   --model_args pretrained=ethicalabs/Echo-DSRN-114M-Base,trust_remote_code=True,device_map="auto"   --tasks sciq,piqa --output_path ./results_Echo-DSRN-114M-Base --batch_size 16 --num_fewshot 5
TasksVersionFiltern-shotMetricValueStderr
piqa1none5accโ†‘0.6055ยฑ0.0114
none5acc_normโ†‘0.6012ยฑ0.0114
sciq1none5accโ†‘0.6200ยฑ0.0154
none5acc_normโ†‘0.5480ยฑ0.0157
uv run lm_eval --model hf   --model_args pretrained=ethicalabs/Echo-DSRN-114M-Base,trust_remote_code=True,device_map="auto"   --tasks sciq,piqa --output_path ./results_Echo-DSRN-114M-Base --batch_size 16 --num_fewshot 5 && uv run lm_eval --model hf   --model_args pretrained=ethicalabs/Echo-DSRN-114M-Base,trust_remote_code=True,device_map="auto"   --tasks sciq,piqa --output_path ./results_Echo-DSRN-114M-Base --batch_size 16 --num_fewshot 10
TasksVersionFiltern-shotMetricValueStderr
piqa1none10accโ†‘0.6083ยฑ0.0114
none10acc_normโ†‘0.6066ยฑ0.0114
sciq1none10accโ†‘0.6150ยฑ0.0154
none10acc_normโ†‘0.5600ยฑ0.0157

Gradio App - Next Word Prediction

Echo-DSRN-114M-Base - Next Word Prediction