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

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

本站已经建立2690天!

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