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

本站现有博文339篇,共被浏览1001514次

本站已经建立2711天!

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