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

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

本站已经建立2583天!

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