会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Lex个人随想乡
Attention before pay attention
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
2023年11月29日
提示工程 Prompt Engineering 技巧总结
摘要: 基础版 Few-shot Prompt Role-play Prompt Personality-added Prompt Multi-rounded Prompt Chain-of-Thought Prompt Self-Reflection Prompt 进阶版 Task break-down
阅读全文
posted @ 2023-11-29 16:25 LexLuc
阅读(619)
评论(0)
推荐(0)
2023年11月8日
GPT-4 Turbo KeyNote
摘要: long context: context length 128k, more accurate over a long context control JSON Mode Function calling, call many functions at once Reproducible outp
阅读全文
posted @ 2023-11-08 01:53 LexLuc
阅读(75)
评论(0)
推荐(0)
2023年10月7日
Git 常用命令技术笔记
摘要: 1. 基础配置 1.1 用户信息配置 # 配置用户名和邮箱 git config --global user.name 'user_name' git config --global user.email 'user_email' # 查看全局配置 git config --global --lis
阅读全文
posted @ 2023-10-07 16:53 LexLuc
阅读(69)
评论(0)
推荐(0)
2023年9月11日
Windows 10 免安装启动并连接到 Postgre-SQL 服务
摘要: 1. 下载二进制压缩包 https://www.enterprisedb.com/download-postgresql-binaries 2. 解压后在压缩包的bin目录下执行初始化DB命令 initdb.exe -D .\data -U pguser -W -E UTF8 -A scram-sh
阅读全文
posted @ 2023-09-11 16:27 LexLuc
阅读(430)
评论(0)
推荐(0)
2023年9月2日
通过代理连接本地vscode和远程服务器手记
摘要: # 关键信息记录 ## 1. 在WSL实测`nc`可实现代理流量转发 ``` ssh -i key.pem @ -o "ProxyCommand=nc -X connect -x : %h %p" ``` ## 2. windows无法使用`nc`,通过修改 VS-Code Remote-SSH 插
阅读全文
posted @ 2023-09-02 14:53 LexLuc
阅读(682)
评论(0)
推荐(0)
2023年8月18日
TFIDF改进版:BM25算法介绍及Lucene的实现
摘要: # 优化TF ## TF衰减 > 思考一个问题:一篇文档,里面有提到200次RedCap,一定是2倍相关于另一篇提到100次RedCap吗? $TF$对匹配度的贡献应该是有所衰减的。如何控制衰减曲线的陡峭程度?构造$TF$衰减的匹配度函数的一个trick是引入参数$k$: $$ {TF}^\prim
阅读全文
posted @ 2023-08-18 16:22 LexLuc
阅读(636)
评论(0)
推荐(0)
2023年7月18日
Add a self-signed SSL certificate using OpenSSL
摘要: ```bash sudo apt-get install openssl cd /etc/nginx sudo mkdir ssl sudo openssl req -batch -x509 -nodes -days 365 \ -newkey rsa:2048 \ -keyout /etc/ngi
阅读全文
posted @ 2023-07-18 02:00 LexLuc
阅读(33)
评论(0)
推荐(0)
2023年7月11日
Neo4j Client
摘要: ```python import time from py2neo import Graph from config.neo4j_config import NEO4J_CONFIG_PRO # NEO4J_CONFIG_PRO = { # "host": "x.x.x.x", # "port":
阅读全文
posted @ 2023-07-11 22:20 LexLuc
阅读(101)
评论(0)
推荐(0)
Redis CRUD Client
摘要: ```python # -*-coding:utf-8 -*- import redis from config.redis_config import CACHE_REDIS_CONF # CACHE_REDIS_CONF = { # "host": "x.x.x.x", # "port": ??
阅读全文
posted @ 2023-07-11 22:17 LexLuc
阅读(23)
评论(0)
推荐(0)
MySQL CRUD Client
摘要: ```python class MySqlClient: def __init__(self, db_name: str): self._conn = pymysql.connect(host=MYSQL_CONFIG['host'], port=MYSQL_CONFIG['port'], user
阅读全文
posted @ 2023-07-11 22:12 LexLuc
阅读(26)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页