摘要: 这是一个用来快速提取文档关键值的脚本,可以用来批量提取一批相同类型,但是不同型号的公共参数值,可以避免人工大量重复性的搜索和来回翻阅工作: 例如快速提取esp32_datasheet_cn.pdf的以下字段 | **型号** | **封装类型** | **工作温度(°C)** | **CPU 架构* 阅读全文
posted @ 2026-08-23 15:36 Jackie_JK 阅读(8) 评论(0) 推荐(0)
摘要: 准备环境: pip install modelscope pip install ms-swift -U --torch-backend=auto 下载模型和数据集: modelscope download --model Qwen/Qwen3.5-2B --local_dir ./qwen3.5- 阅读全文
posted @ 2026-08-20 15:41 Jackie_JK 阅读(17) 评论(0) 推荐(0)
摘要: 使用的硬件是RTX4060,环境使用uv管理,需要安装ffmpeg来转换格式(m4a->wav),使用的模型是VoxCPM2 · 模型库 依赖: [project] name = "tts" version = "0.1.0" description = "Add your description 阅读全文
posted @ 2026-08-17 14:03 Jackie_JK 阅读(10) 评论(0) 推荐(0)
摘要: 通过llama.cpp使用Qwen3.5对话 + Qwen3-Embedding 向量化 ,再通过Elasticsearch 存储向量 两个llama.cpp的加载脚本: # Qwen3.5-4B-Q4_0 — Multimodal (VL) model, Q4_0 quant (~2.7GB) + 阅读全文
posted @ 2026-08-15 12:34 Jackie_JK 阅读(30) 评论(0) 推荐(0)
摘要: 实际上还是有很多不确定的地方,先记录下来,希望后续如果碰到类似的情况可以提供思路 原理图如下,使用esp32-c3的GPIO0和GPIO1作为I2C输出,MAX6955的O0~O7、O10~O17连接到1088AS 先上代码: #include <Arduino.h> #include <Wire. 阅读全文
posted @ 2026-04-07 22:41 Jackie_JK 阅读(43) 评论(0) 推荐(0)
摘要: 依赖mybatis 分区获取mapper public interface PartitionsMapper { @Select("SELECT EXISTS(SELECT 1 FROM information_schema.partitions WHERE table_schema = #{tab 阅读全文
posted @ 2026-02-08 12:48 Jackie_JK 阅读(21) 评论(1) 推荐(0)
摘要: 备忘 @SuppressWarnings("ResultOfMethodCallIgnored") public static void main(String[] args) { FileLock lock; Paths.get(LOCK_PATH).toFile().mkdir(); try ( 阅读全文
posted @ 2025-07-01 02:44 Jackie_JK 阅读(20) 评论(0) 推荐(0)
摘要: 依赖: 需要指定espressif32的版本为6.5.0,否则会出现Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled. 参考 Guru Meditation Error: Core 阅读全文
posted @ 2025-05-10 18:43 Jackie_JK 阅读(1568) 评论(0) 推荐(0)
摘要: 这个是因为jdk8的一个bug引起的,见 [JDK-8164963] InvalidAlgorithmParameterException prime size issue after JDK upgrade with JSCH libraries - Java Bug System 使用jsch0 阅读全文
posted @ 2025-04-25 23:19 Jackie_JK 阅读(346) 评论(0) 推荐(0)
摘要: 备忘。 public class CircularCounter { private final AtomicInteger counter; private final int maxValue; public CircularCounter(int initialValue, int maxVa 阅读全文
posted @ 2025-04-13 00:25 Jackie_JK 阅读(33) 评论(0) 推荐(0)