- 博客(405)
- 资源 (5)
- 收藏
- 关注
原创 [2024-10]-[大模型]-[huggingface] 微调好的模型上传huggingface仓库
【代码】微调好的模型上传huggingface仓库。
2024-10-07 20:48:17
89
原创 [2024-06]-[大模型]-[huggingface] 国内优雅的下载huggingface的模型与数据集
官方的 huggingface-cli 缺乏多线程下载支持,以及 hf_transfer 错误处理不足的问题,而且要求很稳定的梯子,我之前使用经常下载一会就失败了。需要使用hfd.sh脚本,下载连接是,欢迎fork and star!
2024-06-12 18:29:16
1308
原创 [2024-06]-[大模型]-[Ollama]- unsloth大模型微调,并导入ollama
https://github.com/JieChenSimon/LLMLearningCourse/blob/main/Simonchen_Llama_3_8b_Unsloth_2x_faster_finetuning.ipynb可以下载运行。强烈推荐使用其推荐的Google Colab进行微调,因为其中涉及比较麻烦网络原因,即使网络搞定了,还考虑网络连接质量,一样会失败。截止2024年6月,unsloth只能使用单个GPU进行微调,这个比较不方便。直接点击对应模型的的start for free。
2024-06-11 11:53:07
1056
原创 [2024-06]-[大模型]-[Ollama]- WebUI
主要涉及要部署的前端webui是来源于:https://github.com/open-webui/open-webui运行就好,依赖于docker,这个是ollama和webui需要同一台机器上。之后通过127.0.0.1:3000访问,这个3000端口安装需要可以改变。其余的webui和ollama需要不同的设备上,就用项目里的其余命令。如果还是操作有问题,参考。
2024-06-11 11:17:17
683
原创 [2024-06]-[大模型]-[DEBUG]- ollama webui 11434 connection refused
ERROR:apps.ollama.main:Connection error: Cannot connect to host host.docker.internal:11434 ssl:default [Connection refused]
2024-06-10 15:46:17
2589
原创 [2024-06]-[大模型]-[Ollama] ollama 降级/特定版本安装
linux安装特定版本的ollama,或者需要降级。只要修改其中的v0.1.32 参数。
2024-05-05 18:00:29
1371
原创 [异构图-论文阅读]Heterogeneous Graph Transformer
异构图被用来抽象和建模复杂系统,其中不同类型的对象以各种方式相互作用。许多现有的图神经网络(GNNs)主要针对同构图设计,无法有效表示异构结构。HGT通过设计节点和边类型相关的参数来模拟异构注意力,从而允许HGT为不同类型的节点和边保持专用的表示。通过使用HGSampling(异构小批量图采样算法),HGT能够有效和可扩展地处理Web规模的图数据。在Open Academic Graph上的实验显示,HGT在各种下游任务上一致优于所有最先进的GNN基线。
2023-09-27 16:18:50
2576
1
原创 git上传代码到GitHub
将本地的代码关联到github上 git remote add origin 项目的github地址。进入本地的项目目录,右键“Git Bash here”,调出git命令行界面,然后输入。repository”跳转到一个连接,如下红色圈获取到本项目的github地址。在github上创建新的repository,点击 “Create。就是将目录下的所有文件上传,也可以将“.”换成具体的文件名。上传的步骤:(本文采用git 命令界面进行操作)上传代码到github之前需要先。将项目提交到gitHub。
2022-11-11 11:25:50
576
原创 Fablo | 生成Hyperledger Fabric blockchain并在dockers上运行
参考项目:https://github.com/fablo-io/fablo-rest。
2022-08-17 22:00:23
2283
原创 onedrive学生账号无法登录win10 OneDrive客户端[账号密码错误]
问题的原因:从后台调取的信息来看,用户的账号是属于全球版的OneDrive for Business,但是根据使用OneDrive同步客户端登录时抓取的数据,在登录的过程中,用户的登录界面被转到了由世纪互联运营的中国版OneDrive。Business的登录界面。暂时的替代方法:用户可以在客户端上先输入账号@前的字母组成的字符,在出现以下的界面后选择“工作或学校”并输入完整的账号登录。......
2022-08-02 17:19:19
4664
原创 深度学习服务器环境搭建
https//blog.youkuaiyun.com/wscffaa/article/details/109776566。
2022-07-27 16:01:12
834
原创 邮件服务器添加163邮箱[教育邮箱]
传出(SMTP)电子邮件服务器smtphz.qiye.163.com。传入电子邮件服务器imaphz.qiye.163.com。选择IMAP协议,输入服务器地址,点击登录。根本问题是要更改收发服务器。
2022-07-24 15:49:31
870
原创 AttributeError: ‘SMOTE’ object has no attribute ‘fit_sample’
# 包下载pip install imblearn# 调用from imblearn.over_sampling import SMOTE# 使用SMOTE进行过采样时正样本和负样本要放在一起,生成比例1:1smo = SMOTE(n_jobs=-1)# 这里必须是fit_resample(),有些版本是fit_sample()无法运行x_sampling, y_sampling = smo.fit_resample(train_x_data, train_y_data)...
2022-04-23 14:37:36
8204
原创 A Gentle Introduction to Graph Neural Networks
https://distill.pub/2021/gnn-intro/
2021-11-04 14:28:53
1048
原创 ModuleNotFoundError: No module named ‘keras.api‘
使用from keras import backend as K出现报错ModuleNotFoundError: No module named 'keras.api'将from keras import backend as K改成from tensorflow.keras import backend as K
2021-09-09 11:18:10
20587
5
原创 Beyond Saliency map
Interpretation of Neural Networks Is Fragile这篇论文通过加“扰动”在original image上,使用saliency map“看的东西”发生变化,以此证明,interpretation of nn is fragile。
2021-09-08 17:44:42
194
原创 print输出保存到txt
import syssys.stdout = open('output.txt','wt')print ("Hello stackoverflow!")print ("I have a question.")
2021-08-18 12:22:48
618
1
原创 python matplotlib 图片模糊问题
解决办法:plt.savefig(‘fix.jpg’, dpi=300) #指定分辨率保存
2021-07-22 19:14:46
2322
1
原创 李宏毅机器学习2021】机器学习模型的可解释性 (Explainable ML)
explainable 和 Interpretability是有区别的:explainable是指的是一个东西原来是个黑箱,我们想办法赋予其解释的能力,就是explainable,Interpretability,是指的是这个东西本来就不是黑箱,本来就知道其内容,叫做Interpretability。...
2021-07-21 21:32:04
602
原创 plt导致的_tkinter.TclError: no display name and no $DISPLAY environment variable的问题
import matplotlib# Force matplotlib to not use any Xwindows backend. matplotlib.use('Agg')参考链接
2021-07-18 23:02:00
393
原创 雅思词汇收集
convey /kənˈveɪ/a. to express a thought, feeling, or idea so that it is understood by other people:eg. His poetry conveys a great sense of devotion.b. to take or carry someone or something to a particular place:eg. The goods are usually conveyed by..
2021-07-17 22:37:56
231
转载 vscode配置跳板机连接服务器
Host invix_springboard HostName 47.110.xx.yy Port 6000 User root IdentityFile ~/.ssh/id_rsaRequirement already satisfied: scipy in c:\users\caleb\anaconda3\envs\graphstar\lib\site-packages (from torch-sparse) (1.4.1)Requirement already satisfied: numpy>=1.13.3 in c:\use
2021-07-06 19:08:03
1248
原创 在一个IPython Notebook单元中显示多个图像?
https://qastack.cn/programming/19471814/display-multiple-images-in-one-ipython-notebook-cell
2021-07-03 20:27:26
425
原创 使用PIL库使用文本生成图片(类验证码)
#notebookfrom PIL import Image, ImageDraw, ImageFont!wget -nc http://labfile.oss.aliyuncs.com/courses/1133/Coval-Black.ttf#生成指定单词的验证码%matplotlib inlineimport matplotlib.pyplot as pltimport numpy as npfrom skimage import transform as tfdef creat_ca
2021-07-03 20:26:46
277
原创 No modules named ‘tensorflow.compat.v2‘
出现这个问题就说明。tensorflow的版本有问题,tf.compat.v2 module was added in 1.14. Upgrade to 1.14 , 1.15, or 2.0and this will work fine.!pip install tensorflow==1.15import tensorflow.compat.v2 as tf
2021-06-25 18:54:27
9633
PythonMagick-0.9.19-cp36-cp36m-win_amd64.whl
2020-05-01
botocore-1.15.49-py2.py3-none-any.whl
2020-04-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人