Views
No views yet
trust_remote_code build prepared by NeuroTechX so the model loads anywhere with
only torch + transformers + a few public pip deps — no private packages required.pip install torch transformers vector_quantize_pytorch einx einops1from transformers import AutoModel
2model = AutoModel.from_pretrained("NeuroTechX/zuna", trust_remote_code=True).cuda().eval()
3
4# encoder-only latents (the typical EEG-FM use):
5latents = model.encode(encoder_input, seq_lens, ...) # [B, L', encoder_output_dim]make_hf_encoder("NeuroTechX/zuna") (emeg-fm).mhough/zuna-base, made standalone. The
original modeling_zuna.py imported a private zuna package, so it could not load via
trust_remote_code for anyone without that environment. Here the EncoderDecoder
architecture is vendored from the Zyphra source + Meta's
lingua (MIT), imports rewritten to be
self-contained, and the train-only activation-probe stubbed to a no-op at inference.
Weights are byte-identical to the original.lingua (MIT).