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

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

本站已经建立2602天!

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