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

本站现有博文339篇,共被浏览1000876次

本站已经建立2711天!

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