摘要: // Copy 制整个文件夹或单个文件 func Copy(from, to string) error {​​​ f, e := os.Stat(from) if e != nil {​​​​​​​​​​ fmt.Println("没有找到要拷贝的路径:", from) return e }​​​ 阅读全文
posted @ 2023-06-15 16:27 tommickey 阅读(220) 评论(0) 推荐(0)
摘要: 方法1: 编写一个url.list文件,一次都下载。 wget -i url.list -o [log_file] -P [target_dir] 方法2: 编写代码可能并不是好办法。 import datetime import os import threading from huggingfa 阅读全文
posted @ 2023-06-15 16:08 tommickey 阅读(446) 评论(0) 推荐(0)
摘要: anaconda pytorch cuda pip3 install --upgrade pip git clone -b main --single-branch https://github.com/OpenBMB/CPM-Bee.git source /etc/network_turbo (a 阅读全文
posted @ 2023-06-15 16:06 tommickey 阅读(192) 评论(0) 推荐(0)
摘要: 中文预训练模型下载原版:https://huggingface.co/models Google原版bert:https://github.com/google-research/bert 中文XLNET预训练模型:https://github.com/ymcui/Chinese-XLNet (只有 阅读全文
posted @ 2023-06-15 16:03 tommickey 阅读(773) 评论(0) 推荐(1)