上一页 1 2 3 4 5 6 ··· 35 下一页
摘要: 在notebook上输入如下代码并运行后,输入write的token from huggingface_hub import notebook_login notebook_login() # 设置训练参数 from transformers import TrainingArguments bat 阅读全文
posted @ 2023-03-24 15:33 tiansz 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 下载如下链接的浏览器拓展:https://wwvy.lanzouo.com/iR2G80q2qyhg 然后开启浏览器的拓展开发者模式,并将下载的压缩包拖到浏览器窗口中 阅读全文
posted @ 2023-03-15 17:48 tiansz 阅读(107) 评论(0) 推荐(0) 编辑
摘要: import requests import json # 每5个评论的 url 请求 url = "https://www.douyin.com/aweme/v1/web/comment/list/?device_platform=webapp&aid=6383&channel=channel_p 阅读全文
posted @ 2023-03-12 21:10 tiansz 阅读(1310) 评论(0) 推荐(0) 编辑
摘要: https://www.yitoujing.com/article/21 阅读全文
posted @ 2023-03-10 11:51 tiansz 阅读(218) 评论(0) 推荐(0) 编辑
摘要: ubuntu显示标题所示报错,首先需要更新: sudo apt-get update sudo apt-get upgrade sudo apt install python3-pip 参考资料:https://blog.csdn.net/wangcassy/article/details/1243 阅读全文
posted @ 2023-03-08 10:58 tiansz 阅读(526) 评论(0) 推荐(0) 编辑
摘要: pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 参考资料:https://blog.csdn.net/godnightshao/article/details/126051624 阅读全文
posted @ 2023-03-08 10:56 tiansz 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 在windows系统中搜索“传递优化”,选择开启,并选择互联网电脑即可 阅读全文
posted @ 2023-03-07 16:08 tiansz 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1、首先要重装电脑为win10专业版(其中acer的bios键为F2,启动键为F12。惠普的bios键为F10,启动键为F9) 2、启动后使用命令wsl --install安装即可,若ubuntu长时间停止下载,可以在微软商店下载 3、之后在ubuntu终端可以输入explorer.exe .查看文 阅读全文
posted @ 2023-03-07 15:55 tiansz 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 保存以下文件为 grequests.py # -*- coding: utf-8 -*- """ grequests ~~~~~~~~~ This module contains an asynchronous replica of ``requests.api``, powered by geve 阅读全文
posted @ 2023-03-06 23:17 tiansz 阅读(76) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd df = pd.read_csv("combination.csv", encoding="gbk") print(df) 阅读全文
posted @ 2023-03-06 11:30 tiansz 阅读(10) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 35 下一页