Views
No views yet
| Parameter | Value |
|---|---|
hidden_size | 768 |
num_hidden_layers | 12 |
num_attention_heads | 12 |
num_key_value_heads | 4 |
intermediate_size | 3072 |
max_position_embeddings | 2048 |
hidden_act | SwiGLU (SiLU) |
jax, flax, and transformers):1from transformers import AutoTokenizer
2import jax.numpy as jnp
3# Note: Ensure your local ZenyxVanta architecture definition matches the model weights
4# model = ZenyxVanta(vocab_size=151646)
5
6tokenizer = AutoTokenizer.from_pretrained("Arko007/zenyx-vanta-bert")
7text = "The powerhouse of the cell is the ___."
8prompt = text.replace("___", "<|MASK|>")
9
10inputs = tokenizer(prompt, return_tensors="np")
11# logits = model.apply({'params': params}, inputs['input_ids'])
12# ... (Standard JAX inference logic)