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

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

本站已经建立2583天!

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