logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

qwen3 1.7b tools调用代码示例

从输出结果可以看出,有thinking过程,还有tool call的参数。

#深度学习#python#人工智能
[leetcode] 154. Find Minimum in Rotated Sorted Array II

DescriptionSuppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e.,[0,1,2,4,5,6,7] might become[4,5,6,7,0,1,2]).Find the minimum element.The array m...

#leetcode#算法#职场和发展
[leetcode] 147. Insertion Sort List

DescriptionSort a linked list using insertion sort.A graphical example of insertion sort. The partial sorted list (black) initially contains only the first element in the list.With each iteration ...

#leetcode#list#算法
[leetcode] 139. Word Break

DescriptionGiven a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or more dictionary words...

文章图片
#leetcode#算法
macos LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

今天在提交git的时候出现了下面的错误:LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443然后我尝试git clone其他的仓库,也是报这个错误。后面查了一下说是使用了代理,但是别人的给的方案比如重启和reset命令都不起作用。最后发现了一个解决方法:vim ~/.gitconfig...

mac上用hexo在github上搭建个人博客的过程

感想其实我两年前也搭建过这个博客,到现在还是得乖乖的查资料,心想了想,技术一段时间不用,就会忘记,我还是把它记录下来,后面方便自己,也希望能够帮助到他人。过程安装1.安装node.js去官网直接下载,安装,node.js2.安装git由于我这里已经安装过了,我这里给个参考文献,安装过程也非常简单的。github配置ssh的过程我也忽略了,不配置也行,只是后面每次depl...

spark 2.2:jupyter notebook NameError: name 'sc' is not defined

我在运行spark机器学习的python例子的时候会出现上面的错误name 'sc' is not defined这是因为另一个程序占用了python kernel的缘故,你重新开了一个程序运行就会报错,这个时候我们需要把原来的程序关了,然后再重新运行现在的就行了参考文献[1].https://stackoverflow.com/questions/38515369/ju

麒麟v10系统安装docker镜像

【代码】麒麟v10系统安装docker镜像。

文章图片
#docker#容器#运维
anaconda安装python 3.11

【代码】anaconda安装python 3.11。

文章图片
【强化学习】Pytorch使用DQN玩CartPole

最近有个项目用到了DQN,所以参考实现了DQN,并进行了一点小小的改动,这里把代码分享出来,方便大家使用到自己的项目中去。DQN.py。

    共 66 条
  • 1
  • 2
  • 3
  • 7
  • 请选择