Skip to main content

A tiny byte-level conversational language model with the RahuKetu sigma_K channel.

Project description

voxyne

A tiny byte-level conversational language model with the RahuKetu sigma_K control channel. Loads on CPU and runs offline.

The code is Apache-2.0. The released research weights are hosted on Hugging Face under a separate non-commercial model license. See the model card.

Project

Voxyne is a small byte-level conversational model package.

  • rahuketu - the zero-free encoding framework behind the sigma_K control channel.
  • voxyne - this repository contains the model code, marker format, sigma_K encoder, generation helpers, and tests. It does not include a training loop, retrieval system, mutable memory, or autonomous learning runtime.
  • Released research weights and quantized artifacts are published separately on Hugging Face with their own model card and license.

Install

pip install voxyne

Usage

Smoke test with random weights:

import torch
from voxyne import smoke_config, build

model, enc = build(smoke_config())
x = torch.tensor([[1, 2, 3, 4]])
_, aux = enc(x, sigma_K=torch.tensor([[1.0, 1.0, -1.0, 1.0]]))
print(model(x, aux)[0].shape)        # -> next-byte logits

To generate real responses, load a trained checkpoint. The package does not bundle weights. Download voxyne-v0.1.pt from the Hugging Face model repo, review the license there, and pass the local path to load_weights:

from voxyne import VoxyneConfig, build, load_weights, generate

model, enc = build(VoxyneConfig())   # 128.8M base with sigma_K aux
load_weights(model, "/path/to/voxyne-v0.1.pt")
print(generate(model, enc, "hello", device="cpu"))

Components

  • VoxyneConfig - architecture + encoder settings.
  • RahuKetuEncoder - byte digits -> (digits, aux) with the sigma_K channel.
  • VoxyneLM - transformer with out_digit, out_sigma, and KV cache.
  • generate / generate_cached - greedy or top-k decoding. Cached generation uses KV cache.
  • build(config) - construct a matching (model, encoder) pair.

Weights

The package ships the architecture only. No model weights are bundled in this repository.

Released research weights and ONNX artifacts:

  • Model repo: https://huggingface.co/decipherpunk/voxyne
  • PyTorch checkpoint: voxyne-v0.1.pt
  • ONNX artifacts: voxyne-int4.onnx, voxyne-int8.onnx, voxyne-fp32.onnx
  • Weight license: CC BY-NC 4.0 / non-commercial, per the model card

The Apache-2.0 license in this repository covers code only. Weight files remain under the model-card license.

Tests

pytest covers the package API, tensor shapes, loading, and KV-cache path. Model quality depends on the released weights.

Provenance / AI assistance

Built by Ramakrishnan (ORCID 0009-0006-0905-7275). The idea, architecture, and research direction are by Ramakrishnan. AI tools helped with tests, automation, and QA.

License

Apache-2.0 (code). See LICENSE and NOTICE. Weights are licensed separately on the model card.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voxyne-0.1.0.tar.gz (168.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voxyne-0.1.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file voxyne-0.1.0.tar.gz.

File metadata

  • Download URL: voxyne-0.1.0.tar.gz
  • Upload date:
  • Size: 168.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for voxyne-0.1.0.tar.gz
Algorithm Hash digest
SHA256 66015e3b4193e6db8dabca96d5ecc086fcd06d1d5af7e668782a589ed871edbf
MD5 c4ad48ee668fbe51ab813b4ed54cad88
BLAKE2b-256 1c32f0d4c98900417f572c3b7a32232fcc205afffa910b2dbba3da51c30ef4f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for voxyne-0.1.0.tar.gz:

Publisher: publish.yml on decipherpunk/voxyne

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file voxyne-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: voxyne-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for voxyne-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9843fd953b9aa9d6efa8cc3d643479ddf1315c7e6ce7a790c03d3eec31ff2ca
MD5 52680a9471d0b5ff872b491152a6037b
BLAKE2b-256 07276448dfbdfb7891c2dab16eca4d02b3fa50270e67efd18fec60667fe474a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for voxyne-0.1.0-py3-none-any.whl:

Publisher: publish.yml on decipherpunk/voxyne

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page