1.科研工具
2.科普
1.清华镜像源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy matplotlib pillow pandas scikit-learn
2.一键安装环境配置(提供配置文件)
pip install -r .\requirements.txt
3.Git常用命令
git status 查看提交状态
git add . 添加到暂存区
git commit 提交
git push 推送
git pull 拉取
git --version 查看git版本
git config --global user.name 查看用户名
git config --global user.name "serena" 修改用户名
git config --global user.email 查看邮箱
git config --global user.email serena@example.com 修改邮箱
git config --list 查看配置列表
git config --global --list --show-origin git全局设置文件地址查询
git init 初始化本地仓库
git status 查看工作目录和暂存区的状态
git add . 提交所有文件到暂存区
git commit -m "msg" 将暂存区提交到仓库区
git status 查看工作目录中文件的状态(已跟踪(已提交 已暂存 已修改) 未跟踪)
git diff 查看未暂存的修改
git diff --cache 查看未提交的暂存
git log --oneline 查看提交记录
git log --oneline --decorate --graph --all 查看整个项目的分支图
git branch 查看分支列表
git branch -v 查看分支指向的最新的提交
git branch [name] 在当前提交对象上创建新的分支
git branch [name] [commithash] 在指定的提交对象上创建新的分支
git checkout [name] 切换分支
git branch -d [name] 删除空的分支,删除已经被合并的分支
git branch -D [name] 强制删除分支
4. Git ssh连接 常用命令
ssh-keygen -t rsa -C "你在gitlab上注册的邮箱地址"
cat ~/.ssh/id_rsa.pub 查看公钥
5.conda常用命令
conda --version 查看conda版本
conda info conda环境详情
conda update conda 更新conda
conda upgrade --all 更新第三方包
conda env list 列出虚拟环境
conda create -n your_env_name python=X.X 创建虚拟环境
conda activate your_env_name 激活虚拟环境
conda deactivate 退出虚拟环境
conda remove -n your_env_name --all 删除虚拟环境
conda create --name new_name --clone old_name 复制虚拟环境
conda list 查看安装包
conda clean -p 删除没有用的包
conda clean -t 删除tar包
conda clean -y --all 删除所有包以及cache
临时指定安装某个包使用的镜像源:
pip install [package] -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install [package] -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
6.ollama 常用命令
ollama -v 显示版本
ollama list 显示模型列表
ollama show 显示模型的信息
ollama pull 拉取模型
ollama push 推送模型
ollama cp 拷贝一个模型
ollama rm 删除一个模型
ollama run 运行一个模型
ollama serve 启动ollama 服务,端口号 11434
ollama create 从模型文件创建模型
ollama help 获取有关任何命令的帮助信息
Transformer
Bert
GPT
PyTorch
Huggingface
Peft 微调
Lamma/chatglm/mistral
Neo4j知识图谱
Ollama/langchain
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- ovod.cn 版权所有 湘ICP备2023023988号-4
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务