Maxwell's Blog

Maxwell's Blog

fastapi的文档让人舒服
Created2025-05-11|Thoughts
fastapi的文档让人舒服,比flask、django、gin的文档更人性化和友好。记得10年前很多python入门教程介绍的第一个web框架是django,今天来说用fastapi作为初学者第一个python web框架是最优选择了吧。ps:有了LLM(普遍用RLHF)加持,专业文档应该都会越来越友好了吧,甚至可以在专业文档中加入更多人文关怀的成分。
python + rust成为主流的工具链开发范式了吧
Created2025-05-06|Thoughts
接触到并学习了一下uv,作为现代python包管理工具。确实佩服老外的把轮子造到极致的精神,下一代的工具链开发范式是python + rust了吧。接触golang才2年,感觉水平还是比较肤浅,也许某天真的要下决心入坑rust。
AI Security
Created2025-04-23
i am working on security and i will keep updating myself FRAMEWORK Google’s Secure AI Framework (SAIF) OWASP AI Security openais-approach-to-external-red-teaming TOOLSprompt注入 promptfoo who-is-gandalf甘道夫项目 llm-attacks giskard
llm课程资料 from geektime
Created2025-04-15|Ai
386dce1d16219785ca63a87e2b80ebcb70ff38894c64862f0dcee3f8414294e238f88cce59504ebfac7ee4102073aa6af5c86ccbb85b4b132c963007a37d472a49f7062391ee8cc670f89b68655e9051c84e3ee3945f852f4b9dcb4731903becd66caec74fa4ebf2e28d02bff416b4649351053700cfc87dbd836509b381e2918d51caa9952d3995d3477bb0aa5fb4328d9e1b189ac1dc5585c62315a260240b9d4d09d75e13290493500c889fe267ac8baa2332296eda95be67441597ffe745f49590c6da43df21d063711bc805cb66cd94f4207c440d5c543d4f542dbf376005f8b876832a080fe8bcc7590b0a0e2c ...
llm学习笔记
Created2025-03-21|Ai
ai时代,个人学习还重要吗?大佬们都在学,不学习还干嘛呢? MCPHuggingface学习目标 使用huggingface提供的模型和transformers api完成各类推理任务 transformers使用 huggingface中autoXXX的类,都是通过from_pretrained()函数,传入模型名字字符串自动加载对应的模型,免去用户手动导入特定的模型类(模型实在太多了) 模型被下载到(ubuntu): .cache/huggingface/hub/model-name/下的blob目录下,snapshot下存放的是链接到模型文件的softlink,可以看到有config.json | model.safetensors | tokenizer_config.json | vocab.txt这些文件,vocab.txt是词汇表,model.safetensor是模型参数,safetensor是huggingface的参数文件格式,比pytorch的bin更安全(不会被恶意代码注入),可以用pip...
笔记:深入了解LLMs
Created2025-03-07|Ai
介绍llm的一些入门扫盲知识,🤓️ai大神karpathy总结的比较全面,看完有些收获记录下。视频地址:Deep Dive into LLMs like ChatGPT is on under-the hood fundamentals of LLMs.How I use LLMs is a more practical guide to examples of use in my own life.Intro to Large Language Models is a third, parallel, more optional video from a longer time ago. 总结glasp ai总结 概念CoT通过简单的 “请一步步思考再回答” 这样的提示,模型的表现就会大幅提升,这就是 提示词工程 的典型应用。 让模型使用工具解决数学问题Q: 9.11和9.9哪个大(use code)A: 9.9 fine web一个公开的爬虫项目,爬取互联网的英文文本 fineweb common crawl一个共享的爬虫项目 common...
issue-pylance-dont-work-with-django-models
Created2025-01-01
vscode 中 pylance 无法解析 django 外建关联的对象的属性 根据这篇贴子提到
Hello World
Created2000-01-01
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo clean Cleans the cache file (db.json) and generated files (public). Generate static files1$ hexo generate More info: Generating Deploy to...
12
avatar
maxwell
Articles
18
Tags
9
Categories
4
Recent Posts
ai agent2025-07-02
词汇分组对比2025-07-01
to-do-list2025-06-26
后端开发工具链2025-06-26
前端开发工具链2025-06-25
Categories
  • Ai4
  • Daily1
  • Fullstack4
  • Thoughts3
Tags
python tools english llm frontend backend tools cybersecurity python uv agent
Archives
  • July 2025 2
  • June 2025 7
  • May 2025 3
  • April 2025 2
  • March 2025 2
  • January 2025 1
  • January 2000 1
©2019 - 2025 By maxwell
Framework Hexo|Theme Butterfly