EADST

QWEN7B to LLAMA7B Model Structure

Here is the markdown format for the LLAMA7B model structure, detailing each layer and component:


LLAMA7B Model Structure

The LLAMA7B model consists of the following layers and components:

Embedding Layer

  • model.embed_tokens.weight: torch.Size([151851, 4096])

Layers

Each layer in the model has the following components:

Layer 0 to Layer 31

Each layer (model.layers.[0-31]) includes:

  • input_layernorm.weight: torch.Size([4096])

  • Self-Attention Sublayer:

    • q_proj.weight: torch.Size([4096, 4096])

    • k_proj.weight: torch.Size([4096, 4096])

    • v_proj.weight: torch.Size([4096, 4096])

    • q_proj.bias: torch.Size([4096])

    • k_proj.bias: torch.Size([4096])

    • v_proj.bias: torch.Size([4096])

    • o_proj.weight: torch.Size([4096, 4096])

    • post_attention_layernorm.weight: torch.Size([4096])

  • MLP (Multi-Layer Perceptron) Sublayer:

    • up_proj.weight: torch.Size([11008, 4096])

    • gate_proj.weight: torch.Size([11008, 4096])

    • down_proj.weight: torch.Size([4096, 11008])

Final Layer Normalization and Output

  • model.norm.weight: torch.Size([4096])
  • lm_head.weight: torch.Size([151851, 4096])
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
Tiktoken 多智能体协作 PIP Web ReAct 腾讯云 Paddle mmap Disk logger Logo Windows 个人博客 Search Freesound XGBoost Qwen2 CAM Pickle Rebuttal Ubuntu News FastAPI LLAMA tar ms-swift 证件照 git SQLite Attention Animate Miniforge Excel ResNet-50 长程智能体 Base64 Hotel uwsgi diffusers HaggingFace Harness RGB Use Markdown Django Plotly transformers 财报 搞笑 Bitcoin Cloudreve WebCrawler Heatmap Algorithm Jetson 签证 FP8 域名 人工审批 DeepSeek Distillation CEIR SPIE 论文速读 Translation TensorFlow VSCode Dataset Mixtral Image2Text Random Bin Ptyhon Interview 公式 Github ChatGPT Math 国产算力 版权 Review OpenAI EXCEL CV BeautifulSoup Tracking VPN 强化学习 阿里云 Card GIT Datetime LoRA Nginx hf Qwen CC Firewall Video API 音频 自我改进 SAM Data PyTorch GPTQ VGG-16 FlashAttention JSON NLP GoogLeNet Magnet 第一性原理 RAR Numpy InvalidArgumentError QWEN Land TensorRT llama.cpp v0.dev API网关 WAN v2ray 云服务器 icon Sklearn BF16 AI CSV 图形思考法 RL ONNX Hilton HuggingFace Statistics Food DeepStream Python YOLO Conda Vmess 多线程 scipy printf LeetCode torchinfo 长期记忆 高效序列架构 Zip FP16 Quantize Paper TSV SVR 论文 Agent Streamlit git-lfs PDF 净利润 FP64 图标 继承 Quantization GGML Template 具身控制 UI 算法题 C++ 关于博主 Crawler Bipartite Proxy LaTeX Google Pillow 飞书 Docker Knowledge Domain Tensor Breakpoint Password Git ModelScope OpenCV CLAP Pandas Transformers Llama 顶会 Augmentation CUDA MD5 BTC Baidu NLTK PDB Input 报税 Jupyter Jev Website PyCharm tqdm uWSGI FP32 TTS Shortcut XML SQL Agent设计模式 多进程 Permission Linux Anaconda COCO Michelin LLM OCR Diagram Safetensors Color GPT4 Clash CTC Vim IndexTTS2 Pytorch 递归学习法 Hungarian Qwen2.5 Gemma Plate 实时视觉生成 Bert 信用卡 UNIX NameSilo Claude
站点统计

本站现有博文343篇,共被浏览1065247次

本站已经建立2732天!

热门文章
文章归档
回到顶部