Skip to content

Instantly share code, notes, and snippets.

@langren1353
langren1353 / css
Created March 16, 2024 04:44
wiz_styleCSS
/**设置侧边UI**/
.wiznote-left-pane{
background-color: unset !important;
}
.MuiTreeItem-content{
color: black !important;
}
.wiznote-tree-item-selected-highlight{
background-color: rgb(255 191 128 / 40%) !important;
}
@langren1353
langren1353 / python
Last active February 12, 2024 17:21
Pytorch_MyModel_CNN.py
# 定义模型结构
from transformers import AutoModel
import torch.nn as nn
class MyModel_CNN(nn.Module):
def __init__(self):
super().__init__()
self.plm = AutoModel.from_pretrained('bert-base-uncased')
self.convs = nn.ModuleList([
nn.Conv2d(1, 64, (4, 768)),
@langren1353
langren1353 / listen1_aha_playlist.md
Last active August 6, 2022 01:31
updated by Listen1(https://listen1.github.io/listen1/) at 2022/8/6 上午9:31:17

本歌单由Listen1创建, 歌曲数:70,歌单数:1,点击查看更多