Text Generation
Transformers
Safetensors
English
spike_whale
feature-extraction
small-models
mla
jepa
experimental
custom_code
Instructions to use Quazim0t0/Byrne-86M-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Quazim0t0/Byrne-86M-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Quazim0t0/Byrne-86M-Base", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Quazim0t0/Byrne-86M-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Quazim0t0/Byrne-86M-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Quazim0t0/Byrne-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/Byrne-86M-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Quazim0t0/Byrne-86M-Base
- SGLang
How to use Quazim0t0/Byrne-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/Byrne-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/Byrne-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/Byrne-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/Byrne-86M-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Quazim0t0/Byrne-86M-Base with Docker Model Runner:
docker model run hf.co/Quazim0t0/Byrne-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
|
@@ -106,3 +106,16 @@ If you use this model, please cite:
|
|
| 106 |
}
|
| 107 |
```
|
| 108 |
<!-- CITE_END -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
}
|
| 107 |
```
|
| 108 |
<!-- CITE_END -->
|
| 109 |
+
|
| 110 |
+
## Update: engram repair (behavior-preserving)
|
| 111 |
+
|
| 112 |
+
The n-gram Engram memory in the original weights was degenerate: with the frozen
|
| 113 |
+
LSH compressor at init scale, every token hashed to bucket 0, so only one table
|
| 114 |
+
row ever received gradient. This revision rescales the (frozen) compressor and
|
| 115 |
+
broadcasts the learned bucket-0 vector across all table rows.
|
| 116 |
+
|
| 117 |
+
**Outputs are bit-identical to the previous revision** (verified: max logit
|
| 118 |
+
difference 0.0 across a prompt battery). The only change: the Engram's hash now
|
| 119 |
+
spreads across the full table and every bucket is independently trainable — so
|
| 120 |
+
if you distill or SFT on top of this base, the n-gram memory will actually learn
|
| 121 |
+
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 387815772
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce10eed160fd9adbcd1a8682dd962f533faed86cde45e6941399e7616704b2ca
|
| 3 |
size 387815772
|