d1f1c203229c6653357468440360bd1e63735fe4
Model: h2oai/h2ogpt-4096-llama2-7b-chat Source: Original Platform
inference, language, license, model_type, pipeline_tag, tags
| inference | language | license | model_type | pipeline_tag | tags | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| false |
|
llama2 | llama | text-generation |
|
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
Model Architecture
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)
)
Description
Languages
Markdown
100%