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

本站现有博文335篇,共被浏览937521

本站已经建立2648天!

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