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 precompiled CPU and Vulkan GPU runners for AVX2 processors. Inference on those machines needs no Git, CMake, C++ compiler, or Vulkan SDK. Vulkan GPU inference still needs a compatible graphics driver and its vulkan-1.dll runtime. The 1.19 GB GGUF downloads from Hugging Face on first use; installation itself does not download model weights. Other platforms build the native runner on demand and require Git, CMake 3.28+, and a C++17 compiler (Windows C++ Build Tools). Source builds of Vulkan also need its SDK; CUDA builds need a CUDA Toolkit. Both precompiled programs use pinned BitNet and llama.cpp source with the ReLU² runtime patch and carry 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.10.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bit_jev-0.10.10.tar.gz | 16.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bit_jev-0.10.10-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
Total release size: 32.5 MB
Release files / bit_jev-0.10.10.tar.gz
| Download URL | bit_jev-0.10.10.tar.gz |
|---|---|
| Size | 16.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09cb7ea46e014f3b1521f2d150e77fb67503e6d59bda67b99e38c17f9f2d59b0
|
|
BLAKE2b-256 checksum How to use checksums |
006e34f76ba73708a7392658d027fc23d4feabe9d0e2a139ec3e86008dd0f37b
|
| 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.10.10-py3-none-win_amd64.whl
| Download URL | bit_jev-0.10.10-py3-none-win_amd64.whl |
|---|---|
| Size | 16.4 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
146baa2a035e9873de9284dbb1c20299f4bd01ea68f741096dbd45ef6dc8a2a1
|
|
BLAKE2b-256 checksum How to use checksums |
b4ae23540a10d714eae771dcf4dc184d0a95d30ce9370fc4b9f54db84334a82e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|