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 Windows x64 wheel includes a precompiled CPU runner for AVX2 processors. CPU inference on those machines needs no Git, CMake, or C++ compiler. The 1.19 GB GGUF downloads from Hugging Face on first use; installation itself does not download model weights. Other platforms and GPU backends build the native runner on demand and require Git, CMake 3.28+, and a C++17 compiler (Windows C++ Build Tools). GPU builds also require a Vulkan SDK or CUDA Toolkit. The precompiled program uses pinned BitNet and llama.cpp source with the ReLU² runtime patch and carries their MIT license notices.

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.9.10

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.9.10
File Size Uploaded
bit_jev-0.9.10.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for bit-jev 0.9.10
File Interpreter ABI Platform
bit_jev-0.9.10-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details

Total release size: 3.2 MB

Release files / bit_jev-0.9.10.tar.gz

Download URL bit_jev-0.9.10.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
eeac871b6de0f2af68a8cf4d980fbed7da132c17704129b0f67c9287c7606e1d
BLAKE2b-256 checksum
How to use checksums
ec8b520a0bedb81a15c83e8fe1468398a50ce7198042fc9c2f5da572cb33d232
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.9.10-py3-none-win_amd64.whl

Download URL bit_jev-0.9.10-py3-none-win_amd64.whl
Size 1.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3426a37e3b9fcb30000f22752c8d69f9973c0e4204ef6615d5d3be3565734b33
BLAKE2b-256 checksum
How to use checksums
fc5a9b1486264bbbc5b29e8afd27ea592d71e68c13f5f636014ea2deaeacebb9
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

This release

0.9.10 This release

2 release files

0.9.9

2 release files

0.8.9

2 release files

0.8.8

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