会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tiansz
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
35
下一页
2023年3月24日
将模型上传到huggingface
摘要: 在notebook上输入如下代码并运行后,输入write的token from huggingface_hub import notebook_login notebook_login() # 设置训练参数 from transformers import TrainingArguments bat
阅读全文
posted @ 2023-03-24 15:33 tiansz
阅读(383)
评论(0)
推荐(0)
2023年3月15日
解决newbing无法重定向的问题
摘要: 下载如下链接的浏览器拓展:https://wwvy.lanzouo.com/iR2G80q2qyhg 然后开启浏览器的拓展开发者模式,并将下载的压缩包拖到浏览器窗口中
阅读全文
posted @ 2023-03-15 17:48 tiansz
阅读(114)
评论(0)
推荐(0)
2023年3月12日
爬取抖音评论
摘要: 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
阅读(1745)
评论(0)
推荐(0)
2023年3月10日
重定向bing到国际版,用来体验newbing
摘要: https://www.yitoujing.com/article/21
阅读全文
posted @ 2023-03-10 11:51 tiansz
阅读(245)
评论(0)
推荐(0)
2023年3月8日
Package ‘python3-pip‘ has no installation candidate
摘要: 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
阅读(650)
评论(0)
推荐(0)
windows、ubuntu一行命令替换pip源
摘要: 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
阅读(43)
评论(0)
推荐(0)
2023年3月7日
传递优化——加快下载和上网速度
摘要: 在windows系统中搜索“传递优化”,选择开启,并选择互联网电脑即可
阅读全文
posted @ 2023-03-07 16:08 tiansz
阅读(33)
评论(0)
推荐(0)
WSL安装、注意事项、使用
摘要: 1、首先要重装电脑为win10专业版(其中acer的bios键为F2,启动键为F12。惠普的bios键为F10,启动键为F9) 2、启动后使用命令wsl --install安装即可,若ubuntu长时间停止下载,可以在微软商店下载 3、之后在ubuntu终端可以输入explorer.exe .查看文
阅读全文
posted @ 2023-03-07 15:55 tiansz
阅读(56)
评论(0)
推荐(0)
2023年3月6日
修改grequests为返回响应结果和请求头
摘要: 保存以下文件为 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
阅读(87)
评论(0)
推荐(0)
读取乱码csv文件
摘要: import pandas as pd df = pd.read_csv("combination.csv", encoding="gbk") print(df)
阅读全文
posted @ 2023-03-06 11:30 tiansz
阅读(16)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
35
下一页