方法1:观察attention中的线性层
import numpy as np
import pandas as pd
from peft import PeftModel
import torch
import torch.nn.functional as F
from torch import Tensor
from transformers import AutoTokenizer, AutoModel, BitsAndBytesConfig
from typ…
安装scrapy出现警告Consider adding this directory to PATH导致的问题
今天安装pip install scrapy 成功了,但出现了如下警告:
The script automat-visualize.exe is installed in ‘C:\Users\bnb88\AppData\Roaming\Python\Python37\Scripts’ which…