Downloads · 30 days
4
9% of all-time downloads
RichardErkhov/h2oai_-_h2ogpt-4096-llama2-7b-chat-4bits
h2oai_-_h2ogpt-4096-llama2-7b-chat-4bits is a text generation model from RichardErkhov. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
4
9% of all-time downloads
All-time downloads
46
Public
Parameters
6.8B
4.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.2 GB · 100%
How the weights are stored.
U86.5B · 95%
From the Hugging Face model README
Quantization made by Richard Erkhov.
h2ogpt-4096-llama2-7b-chat - bnb 4bits
inference: false language:
h2oGPT clone of Meta's Llama 2 7B Chat.
Try it live on our h2oGPT demo with side-by-side LLM comparisons and private document chat!
See how it compares to other models on our LLM Leaderboard!
See more at H2O.ai
LlamaForCausalLM(
(model): LlamaModel(
(embed_tokens): Embedding(32000, 4096, padding_idx=0)
(layers): ModuleList(
(0-31): 32 x LlamaDecoderLayer(
(self_attn): LlamaAttention(
(q_proj): Linear(in_features=4096, out_features=4096, bias=False)
(k_proj): Linear(in_features=4096, out_features=4096, bias=False)
(v_proj): Linear(in_features=4096, out_features=4096, bias=False)
(o_proj): Linear(in_features=4096, out_features=4096, bias=False)
(rotary_emb): LlamaRotaryEmbedding()
)
(mlp): LlamaMLP(
(gate_proj): Linear(in_features=4096, out_features=11008, bias=False)
(up_proj): Linear(in_features=4096, out_features=11008, bias=False)
(down_proj): Linear(in_features=11008, out_features=4096, bias=False)
(act_fn): SiLUActivation()
)
(input_layernorm): LlamaRMSNorm()
(post_attention_layernorm): LlamaRMSNorm()
)
)
(norm): LlamaRMSNorm()
)
(lm_head): Linear(in_features=4096, out_features=32000, bias=False)
)