EADST

Check "bert-base-uncased" Model Structure

Check "bert-base-uncased" Model Structure

import torch
from transformers import BertModel
from torchinfo import summary

model = BertModel.from_pretrained("bert-base-uncased")
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model.to(device)

input_size = (1, 512)  # input size
input_tensor = torch.randint(0, 10000, input_size, dtype=torch.long, device=device)

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

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

本站已经建立2690天!

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