UglyChain,面向开发者的大模型开发框架

最近的新玩具:UglyChain 先上链接:UglyChain ,文档:https://uglychain.uglyboy.cn 最近几个月都在开发这个项目。一方面是自己有更多的关于大模型开发的定制需求,需要更加底层的接触模型的接口,从零开始开发适合自己的脚手架对熟悉大模型应用有很大的帮助;另一方面也确实是因为当前主流的大模型开发框架,例如 LangChain,LlamaIndex 等工具对开发者并不友好,所有的功能都封装得太过,使得使用起来很不灵活,尤其是大模型这种常常遇到不可预期的错误的情况,很难定位和解决问题。 ...

2024-02-15 · 4 分钟 · 癸老师

Hugo + Reveal.js 后续

摘要 上一篇 介绍了如何在 Hugo 中使用 Reveal.js 进行 Slide 分享后,这段时间把自己历史的分享逐一迁移到博客上了。这个过程中,又发现了上次方案的一些问题,并做了很多细节的调整,整理如下: ...

2023-12-19 · 2 分钟 · 癸老师

Hugo 更换字体 & 使用 Reveal.js 做在线展示

摘要 又开始折腾博客了。 ...

2023-12-07 · 2 分钟 · 癸老师

Hugo 搭建流程

基本安装 搭建站点 1 hugo new site <name of site> -f yml 初始化 Git 仓库 1 2 git init git branch -m main # 兼容 Github 的设置 安装主题 1 git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod 若是已经安装过主题的,需要下面的命令激活 1 git submodule update --init --recursive 本地调试 1 hugo server 添加新文章 1 hugo new posts/my-first-post.md 配置 配置 config.yml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 baseURL: "https://examplesite.com/" languageCode: zh-cn title: ExampleSite theme: PaperMod timeZone: Asia/Shanghai enableInlineShortcodes: true enableGitInfo: true enableRobotsTXT: true enableEmoji: true hasCJKLanguage: true outputs: home: [HTML, RSS, JSON] Params: title: ExampleSite description: "ExampleSite description" author: xxx homeInfoParams: Title: Hi there wave Content: Can be Info, links, about... socialIcons: # optional - name: rss url: /index.xml ShowFullTextinRSS: true ShowReadingTime: true ShowCodeCopyButtons: true DateFormat: "2006-01-02" # 日期格式化 menu: main: - identifier: home name: 主页 url: / weight: 10 - identifier: search name: 搜索 url: /search weight: 20 - identifier: tags name: 标签 url: /tags weight: 30 - identifier: archives name: 时间轴 url: /archives weight: 40 配置 content/archives.md 1 2 3 4 5 --- title: "时间轴" layout: "archives" summary: archives --- 配置 content/search.md 1 2 3 4 5 6 --- title: "搜索" # in any language you want layout: "search" # is necessary summary: "search" placeholder: "Typing something..." --- 增加 Latex 数学公式的支持 在 layouts/partials 路径下新建文件 extend_head.html: ...

2023-10-18 · 2 分钟 · 癸老师

Autorestic

想法 原本是打算不再在这里写技术类博客了,结果最近的一个小成果确实没啥合适的地方存放,所以还是留在这里吧。 ...

2022-02-22 · 3 分钟 · 癸老师