Skip to main content

bit-jev

bit-jev scores explicit options over a 1.58-bit BitNet backbone. Its I2_S GGUF inference path loads a resident model and returns structured answers, logits, and probabilities without generating answer tokens.

GitHub documentation · GGUF model and model card · 中文说明

Install

pip install bit-jev

The wheel contains Python code and native build sources. The 1.19 GB GGUF is downloaded from Hugging Face on first use. Native compilation requires Git, CMake 3.28+, and a C++17 compiler (Windows C++ Build Tools). Git retrieves and verifies pinned BitNet and llama.cpp source and applies the ReLU² patch; normal inference does not need Git. Version 0.8.8 checks build tools before downloading the model. Vulkan GPU mode additionally requires a Vulkan SDK; CUDA mode requires a CUDA Toolkit. Neither model download nor compilation runs during pip install.

Resident inference

from bit_jev.gguf import BitJev

request = {
    "state": "A customer reports a duplicate charge.",
    "questions": {
        "team": {
            "type": "choice",
            "instructions": "Which team should handle this?",
            "criteria": {"billing": "Payment and refund issues", "shipping": "Delivery issues"},
        }
    },
}

with BitJev.from_pretrained(device="cpu", threads=8) as model:
    result = model.infer(request)
    print(result["answers"], result["latency_ms"])

Use device="gpu" for Vulkan or device="cuda" for an NVIDIA CUDA build. GPU requests fail clearly if a backend or visible GPU is unavailable. A local model directory can replace the default Hugging Face repo, and binary="/path/to/bit-jev-cpu" can select an existing native runner. The model stays loaded for repeated infer() calls; latency_ms reports native compute only, excluding download, build, loading, encoding, and IPC.

The CLI accepts UTF-8 JSONL input:

bit-jev --device cpu --input requests.jsonl --output results.jsonl

Training and distillation dependencies are optional: pip install 'bit-jev[train]'. The native runner evaluates one causal row per question; multiple questions repeat the shared state. The repository's Apache-2.0 license covers source code, while the checkpoint has no standalone open-weights license. The model card documents Yelp training-data provenance and its unresolved permission request.

Metadata

Release files for bit-jev 0.8.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bit-jev 0.8.8
File Size Uploaded
bit_jev-0.8.8.tar.gz 54.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bit-jev 0.8.8
File Interpreter ABI Platform
bit_jev-0.8.8-py3-none-any.whl Python 3 none any Details

Total release size: 114.5 kB

Release files / bit_jev-0.8.8.tar.gz

Download URL bit_jev-0.8.8.tar.gz
Size 54.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8517e74bcec1ae0c159157a18cbfc86e9a050de3af999f8f2cbe6a1f1a1fffcf
BLAKE2b-256 checksum
How to use checksums
fa394bcd90ca67974748e9ed4e9517d171b951257ab6e84f3e7c504efbdbd9e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Release files / bit_jev-0.8.8-py3-none-any.whl

Download URL bit_jev-0.8.8-py3-none-any.whl
Size 60.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9dd9945661bc15c5811ea4ebcc7eb63993aa7ef379382f871ff926295ba02663
BLAKE2b-256 checksum
How to use checksums
caa2aed64920724243f2ed7ccaed14275478768dec64136b36a44fbc8037531f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Release history Release notifications | RSS feed

0.9.10

2 release files

0.9.9

2 release files

0.8.9

2 release files

This release

0.8.8 This release

2 release files

0.8.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page