Text Generation
Transformers
Safetensors
English
spike_whale
feature-extraction
small-models
base-model
mla
jepa
experimental
custom_code
Instructions to use Quazim0t0/Escarda-86M-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Quazim0t0/Escarda-86M-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Quazim0t0/Escarda-86M-Base", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Quazim0t0/Escarda-86M-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Quazim0t0/Escarda-86M-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Quazim0t0/Escarda-86M-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Quazim0t0/Escarda-86M-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Quazim0t0/Escarda-86M-Base
- SGLang
How to use Quazim0t0/Escarda-86M-Base with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Quazim0t0/Escarda-86M-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Quazim0t0/Escarda-86M-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Quazim0t0/Escarda-86M-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Quazim0t0/Escarda-86M-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Quazim0t0/Escarda-86M-Base with Docker Model Runner:
docker model run hf.co/Quazim0t0/Escarda-86M-Base
Apply engram repair to weights: bit-identical outputs, trainable n-gram memory for downstream distill/SFT
Browse files- README.md +13 -0
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -237,3 +237,16 @@ Family repos: [Byrne-VE](https://huggingface.co/Quazim0t0/Byrne-VE) ·
|
|
| 237 |
[Escarda-VE](https://huggingface.co/Quazim0t0/Escarda-VE) ·
|
| 238 |
[Byrne-Docling-131M](https://huggingface.co/Quazim0t0/Byrne-Docling-131M) ·
|
| 239 |
[Escarda-Docling-126M](https://huggingface.co/Quazim0t0/Escarda-Docling-126M)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
[Escarda-VE](https://huggingface.co/Quazim0t0/Escarda-VE) ·
|
| 238 |
[Byrne-Docling-131M](https://huggingface.co/Quazim0t0/Byrne-Docling-131M) ·
|
| 239 |
[Escarda-Docling-126M](https://huggingface.co/Quazim0t0/Escarda-Docling-126M)
|
| 240 |
+
|
| 241 |
+
## Update: engram repair (behavior-preserving)
|
| 242 |
+
|
| 243 |
+
The n-gram Engram memory in the original weights was degenerate: with the frozen
|
| 244 |
+
LSH compressor at init scale, every token hashed to bucket 0, so only one table
|
| 245 |
+
row ever received gradient. This revision rescales the (frozen) compressor and
|
| 246 |
+
broadcasts the learned bucket-0 vector across all table rows.
|
| 247 |
+
|
| 248 |
+
**Outputs are bit-identical to the previous revision** (verified: max logit
|
| 249 |
+
difference 0.0 across a prompt battery). The only change: the Engram's hash now
|
| 250 |
+
spreads across the full table and every bucket is independently trainable — so
|
| 251 |
+
if you distill or SFT on top of this base, the n-gram memory will actually learn
|
| 252 |
+
instead of staying a constant bias.
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 389129376
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9d88f130b882daa2a64ca9cb070e5bc9de9128e801eec76b7846bee9f97cfb6
|
| 3 |
size 389129376
|