EADST

QWEN7B to LLAMA GPTQ model structure

Here is the markdown format for the GPTQ model structure, detailing each layer and component:


GPTQ Model Structure

The GPTQ 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:

    • k_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

    • o_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

    • q_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

    • v_proj:

      • qweight: torch.Size([512, 4096])

      • qzeros: torch.Size([32, 512])

      • scales: torch.Size([32, 4096])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([4096])

  • MLP (Multi-Layer Perceptron) Sublayer:

    • down_proj:

      • qweight: torch.Size([1376, 4096])

      • qzeros: torch.Size([86, 512])

      • scales: torch.Size([86, 4096])

      • g_idx: torch.Size([11008])

      • bias: torch.Size([4096])

    • gate_proj:

      • qweight: torch.Size([512, 11008])

      • qzeros: torch.Size([32, 1376])

      • scales: torch.Size([32, 11008])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([11008])

    • up_proj:

      • qweight: torch.Size([512, 11008])

      • qzeros: torch.Size([32, 1376])

      • scales: torch.Size([32, 11008])

      • g_idx: torch.Size([4096])

      • bias: torch.Size([11008])

  • post_attention_layernorm.weight: torch.Size([4096])

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

本站现有博文338篇,共被浏览977805次

本站已经建立2690天!

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