src/transformers/models/chinese_clip/convert_chinese_clip_original_pytorch_to_hf.py/copy_linear
def copy_linear(hf_linear, pt_weights, prefix):
    hf_linear.weight.data = pt_weights[f"{prefix}.weight"].data
    hf_linear.bias.data = pt_weights[f"{prefix}.bias"].data