文章

菜谱、技术笔记和生活记录。

wsl2环境下xtts的进一步调教

https://docs.coqui.ai/en/latest/inference.html 根据文档内容:激活环境:cd tts python3 -m venv .venv source .venv/bin/activate列出所有的模型:tts --list_models Name format: type/la...

wsl2环境下跑xtts克隆声音-初步

1、环境:mkdir tts cd tts python3 -m venv .venv source .venv/bin/activate2、安装 https://github.com/coqui-ai/TTS pip install TTS6.3G呢,别着急3、跑实际的语音cloneimport torch fro...

给wsl2 增加内存使用的权限

先wsl --shutdown然后到用户主目录去编辑.wslconfig[wsl2] memory=26GB [experimental] autoMemoryReclaim=gradual # gradual | dropcache | disabled networkingMode=mirrored dnsTun...

ollama下载并运行LewdMistral模型

模型的地址: https://huggingface.co/Undi95/LewdMistral-7B-0.2-GGUF source .venv/bin/activatehuggingface-cli download \ Undi95/LewdMistral-7B-0.2-GGUF \ LewdMistral-7...

CausalLM+Ollama本地部署之2,解决ChatML模版识别问题

我终于知道是哪里出错了,问题出在# Modelfile上 https://decoder.sh/videos/importing-open-source-models-to-ollama 这才知道,之前没有把CausalLM的模版信息提供给Ollama我们先删掉之前的模型:ollama rm causallm7bdp...

用ollama运行gguf 以tastypear/CausalLM为例子

参考资料: https://www.markhneedham.com/blog/2023/10/18/ollama-hugging-face-gguf-models/ 使用的已经gguf化后的CausaLM https://huggingface.co/tastypear/CausalLM-7B-DPO-alpha-...

使用本地ollama运行sql_agent.py

python3 -m venv .venv source .venv/bin/activatepip install langchain_community pip install langchain_core pip install langchain#!/usr/bin/env python3 from typi...

使用ollama在本地配合playwright agent

1、先搞定环境和依赖python3 -m venv .venv source .venv/bin/activatepip install playwright playwright install pip install pytest-playwright pip install beautifulsoup4 pip...