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
标签云
CV FastAPI VPN PDF Diagram COCO v0.dev Windows Firewall FP64 TensorFlow MD5 强化学习 Qwen2 CC Baidu RGB Tiktoken CAM Nginx WebCrawler WAN Docker PyCharm torchinfo 净利润 HuggingFace Pickle Hungarian GPTQ InvalidArgumentError Clash Data CSV Statistics Shortcut Proxy Attention LeetCode Web Excel EXCEL GIT Vmess CLAP GPT4 DeepStream 关于博主 Tensor TensorRT transformers Gemma Conda Rebuttal mmap Animate Magnet Distillation AI Tracking 云服务器 diffusers Hilton NameSilo printf OpenCV Pillow Pytorch Disk 继承 Crawler Miniforge News SVR UNIX Translation tar Food hf Card Color scipy Domain FlashAttention PyTorch Math XML Transformers Agent Claude Video Zip FP8 Paper TTS Sklearn Streamlit Plotly HaggingFace 搞笑 飞书 财报 Augmentation Template Search 域名 Bipartite ChatGPT Github 签证 CTC SPIE Input OpenAI SQL Ubuntu 证件照 GGML Anaconda Bitcoin Dataset Datetime Quantize ONNX 音频 RAR Vim llama.cpp Review LoRA PIP Paddle LLM Image2Text 第一性原理 Llama 报税 Qwen2.5 XGBoost Heatmap BTC DeepSeek 腾讯云 TSV Knowledge git-lfs v2ray CEIR SAM Jupyter LaTeX ResNet-50 BeautifulSoup Interview git Qwen Permission Use 多进程 Google Land ModelScope PDB Django IndexTTS2 论文 顶会 Plate 图形思考法 SQLite Base64 Linux Freesound JSON FP32 图标 Bert LLAMA FP16 Bin Mixtral OCR VGG-16 tqdm Numpy Markdown Logo Ptyhon GoogLeNet Safetensors Website YOLO BF16 Python C++ ms-swift uwsgi 论文速读 NLP 多线程 QWEN 版权 Jetson 阿里云 API VSCode Password Hotel 公式 算法题 NLTK Random CUDA Cloudreve Michelin Algorithm 递归学习法 Pandas Breakpoint icon logger UI Quantization Git RL uWSGI
站点统计

本站现有博文333篇,共被浏览917752

本站已经建立2622天!

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