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

本站现有博文332篇,共被浏览875515

本站已经建立2583天!

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