Stay Hungry,Stay Foolish!

05 2024 档案

摘要:D - Intersecting Intervals 思路 对于区间重合问题, 经典做法 对 left 进行排序, 然后进行统计计数。 写了一版TLE,反思有冗余计数问题。 计算每一个区间的覆盖数目, 不需要TLE版本逐个往后数, 只需要使用lower_bound找出第一个大于等于 ri + 1 的 阅读全文
posted @ 2024-05-25 23:04 lightsong 阅读(87) 评论(0) 推荐(0) 编辑
摘要:C - Bingo 2 https://atcoder.jp/contests/abc355/tasks/abc355_c 思路 统计每行元素个数 统计每列元素个数 统计两个对角线的元素个数 任意一个达到n,则满足条件 Code https://atcoder.jp/contests/abc355/ 阅读全文
posted @ 2024-05-25 22:55 lightsong 阅读(33) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/songpeiying/article/details/131374638 command 2>&1 | tee -a file.txt https://www.cnblogs.com/amoyzhu/p/9182587.html nohup node b 阅读全文
posted @ 2024-05-22 21:52 lightsong 阅读(5) 评论(0) 推荐(0) 编辑
摘要:Why the Pipe Character “|” Works in LangChain’s LCEL http://cncc.bingj.com/cache.aspx?q=python+pipe+operator&d=4965480815663428&mkt=en-US&setlang=en-U 阅读全文
posted @ 2024-05-22 09:43 lightsong 阅读(18) 评论(0) 推荐(0) 编辑
摘要:neo4j https://neo4j.com/ GenAI apps, grounded in your data Power your applications with knowledge graphs. Backed by the only graph database with vecto 阅读全文
posted @ 2024-05-21 22:12 lightsong 阅读(24) 评论(0) 推荐(0) 编辑
摘要:C - AtCoder Magics https://atcoder.jp/contests/abc354/tasks/abc354_c 思路 首先按照a属性对数列进行排序,大的在前,小的在后, 完成后, 则数列在a参数上是非递增的。 如下图中x轴对应 a 参数, y轴对应c参数, discard条 阅读全文
posted @ 2024-05-19 22:57 lightsong 阅读(15) 评论(0) 推荐(0) 编辑
摘要:Azure 控制平面和数据平面 https://learn.microsoft.com/zh-cn/azure/azure-resource-manager/management/control-plane-and-data-plane Azure 操作可以分为两个类别 - 控制平面和数据平面。 本 阅读全文
posted @ 2024-05-17 10:19 lightsong 阅读(53) 评论(0) 推荐(0) 编辑
摘要:RAG Project with Ollama and LangChain via Gradio Interface https://github.com/fanqingsong/rag-ollama-langchain This repository hosts the implementatio 阅读全文
posted @ 2024-05-16 23:16 lightsong 阅读(122) 评论(0) 推荐(0) 编辑
摘要:D - Another Sigma Problem https://atcoder.jp/contests/abc353/tasks/abc353_d 思路 前缀和 + 快速幂 https://zhuanlan.zhihu.com/p/697255076 Code https://atcoder.j 阅读全文
posted @ 2024-05-16 20:30 lightsong 阅读(8) 评论(0) 推荐(0) 编辑
摘要:C - Sigma Problem https://atcoder.jp/contests/abc353/tasks/abc353_c 思路 暴力TLE 观察 a1 a2 ... an 序列 计算目标是, 两两结合并并求 模 sum = sigma (ai + aj)%1e8 ai , aj <= 阅读全文
posted @ 2024-05-12 10:44 lightsong 阅读(84) 评论(0) 推荐(0) 编辑
摘要:.netrc https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html The.netrcfile contains login and initialization information us 阅读全文
posted @ 2024-05-09 09:33 lightsong 阅读(38) 评论(0) 推荐(0) 编辑
摘要:23. 合并 K 个升序链表 https://leetcode.cn/problems/merge-k-sorted-lists/?envType=study-plan-v2&envId=top-interview-150 思路 K个升序链表,依据显然的规则: 当前最小的值,肯定出自于K个升序链表的 阅读全文
posted @ 2024-05-08 19:59 lightsong 阅读(8) 评论(0) 推荐(0) 编辑
摘要:ollama + ollama web + fastapi app (langchain) demo https://github.com/fanqingsong/ollama-docker Welcome to the Ollama Docker Compose Setup! This proje 阅读全文
posted @ 2024-05-04 23:28 lightsong 阅读(382) 评论(0) 推荐(0) 编辑
摘要:Code Llama https://about.fb.com/news/2023/08/code-llama-ai-for-coding/ Takeaways Code Llama is an AI model built on top of Llama 2, fine-tuned for gen 阅读全文
posted @ 2024-05-01 19:44 lightsong 阅读(10) 评论(0) 推荐(0) 编辑
摘要:6 Ways For Running A Local LLM https://semaphoreci.com/blog/local-llm 1. Hugging Face and Transformers from transformers import AutoModelForCausalLM, 阅读全文
posted @ 2024-05-01 19:15 lightsong 阅读(12) 评论(0) 推荐(0) 编辑
摘要:FastChat https://github.com/lm-sys/FastChat 为服务基于大模型的chat应用, FastChat提供框架。 提供三个功能 training, serving, and evaluating 有评价功能、训练功能(fine tuning) 主要的还是 serv 阅读全文
posted @ 2024-05-01 19:07 lightsong 阅读(167) 评论(0) 推荐(0) 编辑
摘要:ollama https://ollama.com/ llama是meta发布的大语言模型, 自然意义是美洲鸵 这个平台软件 以 o 开头,类似召唤 美洲鸵的意思。 对应大语言模型,就是提供运行大模型的支撑。 Get up and running with large language models 阅读全文
posted @ 2024-05-01 11:03 lightsong 阅读(127) 评论(0) 推荐(0) 编辑

千山鸟飞绝,万径人踪灭
点击右上角即可分享
微信分享提示