首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏佳爷的后花媛

    Using a self-rewriting README powered by GitHub to track TILs

    Using a self-rewriting README powered by GitHub Actions to track TILs 2020 I’ve started tracking TILs—Today

    52010发布于 2020-04-23
  • 来自专栏arxiv.org 翻译专栏

    生命科学的重写理论: CTMC语义学的统一理论(CS LO)

    原文题目:Rewriting Theory for the Life Sciences: A Unifying Theory of CTMC Semantics The Kappa biochemistry and the MØD organo-chemistry frameworks are amongst the most intensely developed applications of rewriting A typical feature of these types of rewriting theories is the necessity to implement certain structural In this paper, we contribute to the theoretical foundations of these types of rewriting theory a number Our core mathematical concepts are a novel rule algebra construction for the relevant setting of rewriting

    57910发布于 2020-03-26
  • 来自专栏DBA随笔

    谁动了我的Redis?频繁AOF重写

    of AOF on 400% growth 24:S 28 Dec 12:23:47.027 * Background append only file rewriting started by pid of AOF on 401% growth 24:S 28 Dec 12:26:43.361 * Background append only file rewriting started by pid of AOF on 401% growth 24:S 28 Dec 12:29:13.583 * Background append only file rewriting started by pid of AOF on 402% growth 24:S 28 Dec 12:32:03.630 * Background append only file rewriting started by pid of AOF on 403% growth 24:S 28 Dec 12:35:02.256 * Background append only file rewriting started by pid

    1.5K30编辑于 2022-01-04
  • 来自专栏Elton的技术分享博客

    通过URL Rewrite来设置JBoss的301跳转

    ‘last|L’ (last rule) Stop the rewriting process here and don’t apply any more rewrite rules. ‘next|N’ (next round) Re-run the rewriting process (starting again with the first rewriting rule). Use this flag to restart the rewriting process - to immediately go to the top of the loop. Usually, you will want to stop rewriting at this point, and redirect immediately. To stop rewriting, you should add the ‘L’ flag.

    4.1K30发布于 2021-01-26
  • 来自专栏前端全栈分享

    让Nodejs支持H5 History模式(源码分析)

    == 'GET') { // 如果请求方法不是GET类型,说明不需要返回html,那么就调用next(),把请求交给下一个中间件 logger( 'Not rewriting { // 如果没有请求头,或者请求头中的accept不是字符串,说明不是一个标准的http请求,也不予处理,把请求交给下一个中间件 logger( 'Not rewriting { // 如果客户端希望得到application/json类型的响应,说明也不是在请求html,也不予处理,把请求交给下一个中间件 logger( 'Not rewriting 代表任意文件类型); // 如果此时配置disableDotRule为false,说明开启点号校验规则,那么不予处理,交给其他中间件 logger( 'Not rewriting url有默认值/index.html,也可以通过配置中的index自定义 rewriteTarget = options.index || '/index.html'; logger('Rewriting

    1.1K10发布于 2020-07-10
  • 来自专栏电光石火

    session失效时间设置

    --分钟为单位--> <session-timeout>30</session-timeout> <enable-url-rewriting>false</enable-url-rewriting> <

    2.5K50发布于 2018-01-14
  • 来自专栏电光石火

    session失效时间设置

    --分钟为单位--> <session-timeout>30</session-timeout> <enable-url-rewriting>false</enable-url-rewriting> <

    2.3K20发布于 2019-12-06
  • 来自专栏电光石火

    session失效时间设置

    --分钟为单位--> <session-timeout>30</session-timeout> <enable-url-rewriting>false</enable-url-rewriting>

    2.2K100发布于 2018-01-18
  • 来自专栏自然语言处理

    DMQR-RAG: 基于多样化查询重写的检索增强生成

    多查询重写策略(Multi-Query Rewriting Strategies) 论文提出了四种基于信息量的重写策略,以确保重写的查询具有多样性,并提供独特的信息,从而增加检索到真正相关文档的可能性: 信息平等(Information Equality): (1) 一般查询重写(General Query Rewriting, GQR), 去除噪声,提炼原始查询,同时保留所有相关信息。 (2) 关键词重写(Keyword Rewriting, KWR), 从查询中提取关键词,特别是名词和主题,以快速定位相关文档。 信息扩展(Information Expansion):伪答案重写(Pseudo-Answer Rewriting, PAR), 利用LLMs的先验知识为检索生成伪答案,丰富原始查询。 自适应重写策略选择(Adaptive Rewriting Strategy Selection) 考虑到用户查询的多样性,论文提出了一种基于轻量级提示和少量学习的方法来动态选择适合每个特定查询的重写策略

    69510编辑于 2024-11-23
  • 来自专栏人工智能

    【ReNeLLM】披着羊皮的狼--自动化生成越狱提示的系统

    二:ReNeLLM 方法框架ReNeLLM 框架的核心创新在于将越狱攻击系统性地抽象为两个维度:1.提示重写 (Prompt Rewriting)2.场景嵌套 (Scenario Nesting)2.1 Prompt Rewriting提示重写技术设计了6种重写函数来掩盖恶意意图:压缩改写:将提示压缩到6个词以内句式重构:改变词序但保持语义不变敏感词拼错:故意拼错关键敏感词汇插入干扰字符:加入无意义的外语词汇或字符部分翻译 Completion)表格填充 (Table Filling)文本续写 (Text Continuation)**2.3 PiplineReNeLLM 把一次完整的越狱流程抽象成“两步循环”:Prompt Rewriting

    79700编辑于 2025-07-31
  • 来自专栏喔家ArchiSelf

    大模型应用系列:Query 变换的示例浅析

    langchain.prompts import PromptTemplate from langchain.chains import LLMChain # LLM configuration def get_rewriting_llm temperature=temperature, model_name=model_name, max_tokens=max_tokens) # Prompt Template for Query Rewriting """ return PromptTemplate(input_variables=["original_query"], template=template) # Build Query Rewriting Chain def build_query_rewriting_chain(llm: ChatOpenAI) -> LLMChain: prompt_template = create_query_rewrite_prompt () query_rewriter_chain = build_query_rewriting_chain(llm) original_query = "What are the impacts

    81200编辑于 2024-11-07
  • 来自专栏新智元

    阿里妈妈首次公开新一代智能广告检索模型,重新定义传统搜索框架

    异构图中的边 异构图中包含两种不同类型的边:Signal和Key之间的边为Rewriting边,Key和Ad之间的边为Ad-selecting边。 其中{signal->key}表示Rewriting边,{key->ad}表示Ad-selecting边。这样,我们就得到了训练和测试数据,并可以在边上设计特征。 线上使用和效果展示 在线上使用时,我们通过两个索引,Rewriting索引和Ad-selecting索引存储异构图和模型结果。 其中Rewriting索引存储Rewriting边,Ad-selecting索引存储Ad-selecting边。模型对边的打分同样存于两个倒排索引中,用于线上快速地面向RPM/CTR排序。 新的搜索广告个性化检索系统,通过模型学习的方式,自动构建出庞大的Rewriting索引和Ad-selecting索引,兼顾了平台收益和用户体验。 图7:在线效果。

    3.2K50发布于 2018-05-29
  • 来自专栏廖可知的专栏

    Redis 源码 bug 深入定位过程分享

    59.308 * Background AOF rewrite finished successfully 9554:M 24 Mar 05:07:11.166 * Starting automatic rewriting file in background: fork: Cannot allocate memory …… 9554:M 24 Mar 05:09:59.734 * Starting automatic rewriting only file in background: fork: Cannot allocate memory 9554:M 24 Mar 05:09:59.835 * Starting automatic rewriting only file in background: fork: Cannot allocate memory 9554:M 24 Mar 05:09:59.936 * Starting automatic rewriting AOF rewrite IPC pipes: Numerical result out of range 9554:M 24 Mar 05:10:00.036 * Starting automatic rewriting

    6.9K31发布于 2017-08-17
  • 来自专栏草根专栏

    asp.net core 2.0 查缺补漏

    ; }); Url Redirection 和 Url Rewriting 他们是不同的. url redirection是从服务器端绕了一圈, 然后回到客户端, 客户端收到301 或者302之后, 再调用新地址. url rewriting是服务器端自己完成的, 客户端一无所知. 可以这样来使用Url Rewriting: var options = new RewriteOptions() .AddRewrite("NewUser", "/User

    87550发布于 2018-03-01
  • 来自专栏AI科技评论

    傻瓜式无限P图,MIT朱俊彦团队“重写”深度生成模型

    近日,来自MIT朱俊彦团队的一篇论文《Rewriting a Deep Generative Model》就很巧妙地解决了这个问题,目前该论文已被接收为ECCV 2020 Oral,且代码已开源。 项目主页:http://rewriting.csail.mit.edu/ 论文链接:https://arxiv.org/pdf/2007.15646.pdf 开源代码:https://github.com /davidbau/rewriting 第一作者 David Bau,麻省理工学院计算机科学与人工智能实验室博士生。 最后作者额外提供了在线demo演示: https://colab.research.google.com/github/davidbau/rewriting/blob/master/notebooks/ rewriting-interface.ipynb 打开网站,点击运行按钮一键线上安装环境和依赖 ?

    1.3K40发布于 2020-08-12
  • 来自专栏自然语言处理

    LevelRAG:突破查询重写瓶颈,提升混合检索效果

    论文题目:《LevelRAG: Enhancing Retrieval-Augmented Generation with Multi-hop Logic Planning over Rewriting LevelRAG 论文核心问题 这篇论文主要关注 检索增强型生成(Retrieval-Augmented Generation, RAG) 在 混合检索 场景中的挑战,特别是 查询重写(query rewriting 相关研究 查询重写(Query Rewriting) 训练查询重写模型(Ma et al. 2023, Mao et al. 2024) 通过 LLM 生成伪上下文提升检索效果(Gao et al.

    57610编辑于 2025-03-03
  • 来自专栏DeepHub IMBA

    在GAN中通过上下文的复制和粘贴,在没有数据集的情况下生成新内容

    论文作者也给了一段视频演示在这里: 源代码在这里: https://colab.research.google.com/github/davidbau/rewriting/blob/master/notebooks /rewriting-interface.ipynb https://github.com/davidbau/rewriting 作者:Fathy Rashad deephub翻译组

    3K10发布于 2020-09-28
  • 来自专栏算法之美

    reids吃土记(1)-持久化

    4.0 推出了一个能够“鱼和熊掌兼得”的持久化方案 —— RDB-AOF 混合持久化: 这种持久化能够通过 AOF 重写操作创建出一个同时包含 RDB 数据和 AOF 数据的 AOF 文件 # When rewriting K1 "V1" OK 127.0.0.1:6379> SET K2 "V2" OK 127.0.0.1:6379> BGREWRITEAOF Background append only file rewriting /* This function is called by the child rewriting the AOF file to read * the difference accumulated rewrite * ------------------------------------------------------------------------- */ /* This is how rewriting return C_ERR; } serverLog(LL_NOTICE, "Background append only file rewriting

    54910发布于 2021-06-25
  • 来自专栏大前端全栈开发

    webpack代理proxy配置

    pathRewrite: {'^/remove/api' : ''}// add base path 添加基础路径pathRewrite: {'^/' : '/basepath/'}// custom rewriting 路径自定义pathRewrite: function (path, req) { return path.replace('/api', '/base/api') }// custom rewriting

    1.6K30编辑于 2023-11-16
  • 来自专栏葡萄城控件技术团队

    Url Rewrite 再说Url 重写

    ScottGu 有一篇非常经典的 URL-Rewrite Blog Tip/Trick: Url Rewriting with ASP.NET http://weblogs.asp.net/scottgu /archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx 为什么要进行URL-Rewrite ScottGu的blog中给出了两个重要的原因 Url-rewriting enables you to transparently forward requests to the new page location without breaking Specifically, URL Rewriting can often make it easier to embed common keywords into the URLs of the pages Increasingly this is driving developers to use URL-Rewriting and other SEO (search engine optimization

    5.7K80发布于 2018-01-10
领券