2012-11-06

RAG实战:从零搭建大模型知识库问答系统 大模型在私有知识、企业文档等场景中常面临信息滞后与幻觉问题,检索增强生成(RAG)通过引入外部知识检索机制,让模型基于检索结果生成答案,成为当前知识库问答与智能客服的主流技术方案。本文从RAG的基本原理出发,梳理文档加载、文本切分、Embedding向量化、向量检索、重排与生成的核心链路,并结合LangChain、向量数据库和Ollama本地模型,演示一套完整可运行的RAG项目搭建流程。内容涵盖环境准备、索引构建、检索器与生成器实现、API封装及批量问答任务,同时针对检索质量调优、性能优化和企业级落地中的合 阅读详情

1,製造業即將解體,因為 3D 列印
http://techorange.com/?p=58620


2,發展語音辨識,語音資料蒐集該重質還是量?
http://tw.tech.yahoo.com/network_trend/article/id/45128/


3,The Rise of Social Salespeople
http://www.forbes.com/sites/markfidelman/2012/11/05/the-rise-of-social-salespeople/


4,Memory Alert: High Blood Pressure May Age Your Brain - Even If You're Under 40
http://www.forbes.com/sites/melaniehaiken/2012/11/05/high-blood-pressure-may-age-your-brain-even-if-youre-under-40/


5,The Battle For The Cloud: Amazon Proposes 'Closed' Top-Level .CLOUD Domain
http://www.forbes.com/sites/reuvencohen/2012/11/06/the-battle-for-the-cloud-amazon-proposes-closed-top-level-cloud-domain/

2012-11-06 11:27 java五种监测内存软件 1.Memory Analysis Tools(java Heap out)  1).eclipse 插件(插件地址:http://download.eclipse.org/mat/1.2/update-site/)  2).运行参数中加入:-xx:+HeapDumpOnOutOfmemoryError 生成hprof文件  3).用安装好的MAT(Memory Analysis Tools 阅读详情

相关推荐

【STM32-DSP库的使用】基于Keil5 + STM32CubeMX + CMSIS-DSP 手动添加、库添加方式

CMSIS-DSP库在工程中应用遇到的所有问题进行归纳终结

洋洋的博客 1万+

2012.06.11

1. 在分析各种协议的工作原理时,应采用抓包工具以数据为核心,了解到数据从哪来到哪去,这样可更容易的方便我们对协议数据包进行理解。要了解了数据之后,可再对整个协议相关的服务器的结构进行了解,然后试着调用服务器的接口对其进行简单的应用 和改写。 2.阅读任务项目的源码,可从系统文件夹的划分,来了解系统的整体结构,以及每个模块所具有的功能,接下来再对每个模块的流程进行分析,大体思路,与系统的设计

shanwenbin的专栏 695

AIGC内容溯源技术:如何追踪AI生成内容的原始来源

本文旨在系统性地介绍AIGC内容溯源的技术体系,帮助读者理解如何追踪AI生成内容的来源。我们将覆盖从基础概念到前沿技术的完整知识链,包括但不限于数字水印、区块链存证、内容指纹等技术方案。文章将从AIGC的基本概念出发,逐步深入探讨各种溯源技术,分析其原理和实现,最后讨论实际应用和未来趋势。AIGC:AI Generated Content,人工智能生成内容内容溯源:追踪数字内容的创作、修改和传播历史数字水印:嵌入在数字内容中的不可见识别信息数字水印:隐藏在内容中的识别信息,像隐形墨水内容指纹。

SuperAGI2025 2070

2012-06-11

在IPv4环境,当需要使用多播方式传送相关消息的时候,SSDP一般使用多播地址239.255.255.250和UDP端口号1900。   UPNP功能不做了... 由IPCAM直连NVR。需求更改: 软件拆分为 SERVER / CLIENT,又是要搞一套通信协议出来,改的东西多哦。   记录今天修改的几个bug: 1- FFMpeg在初始化avcodec_open的时候,这个函数不是线

zakker的专栏 371

实战指南:用Python实现ONVIF WS-Discovery设备发现(附完整代码)

本文提供了一份详细的实战指南,介绍如何使用Python实现基于ONVIF标准的WS-Discovery设备发现协议。文章深入解析了协议原理、网络通信模型,并提供了完整的代码实现,帮助开发者快速构建智能安防和物联网应用中的设备自动发现工具,有效提升网络设备集成与管理的效率。

chair的专栏 1113

代谢组数据分析(四):多种差异分析方法筛选代谢物标记物

本文详细介绍了代谢组学中常用的差异分析方法,包括倍数变化法、T检验、VIP值在OPLS-DA中的应用。通过这些方法,研究者能够筛选出在不同组别间具有显著差异的代谢物,为疾病诊断和治疗提供线索。文章还提供了一个整合的R函数run_metabolomeDA,便于研究人员进行一站式差异分析,并展示了如何生成火山图来可视化结果。

专注生信领域 6770

Cheatsheet: 2012 06.01 ~ 06.11

Mobile Basic structure of an Android project Face Detection with Android APIs Capturing Transport Data Between Visual Studio and Windows Phone WPDev Performance Tuning Tips Let’s Talk: Efficient Comm...

weixin_30455067的博客 115

[毕设项目-大模型微调]现代文翻译文言文【基于LLaMA3.1-8B微调】

教你基于LLaMA3.1-8B微调如何做到现代文翻译文言文

逐梦苍穹的博客 2296

2012-06-11 Daily English

1. Sometimes the hardest choices we make end up being the best thing      we could have ever done for   ourselves.     (有时候,我们做出的最艰难的决定,最终成为我们做过的最漂亮的事。)   2. Everyone's got a life that no one el

思想.生活.学习.工作.情感 638

【一 扣子客户案例合集】【 1.1 抖音电商:通过扣子智能体重塑电商服务新体验】

**摘要:**抖音电商借助扣子(Coze)智能体平台重塑客服体验,通过无代码开发、多模态交互和跨平台发布等功能,解决了传统客服高峰期压力大、成本高及响应机械等痛点。智能体采用直接面客与人工监管结合模式,实现高效精准服务,并通过解构流程、模块化设计优化系统架构。其技术优势包括零配置学习、意图识别、情绪感知等,实际应用中显著提升客服效率300%以上,改善用户体验。未来将进一步拓展至商品推荐、直播互动等场景,推动电商服务智能化升级。

商务合作|问题讨论|交流学习 请联系作者微信,加微信请务必注明来意,博客主页有联系方式 1569

高通开发系列 - Camera之摄像头调试记录

记录一些调试内容

fulinux的博客 1216

2012-11-06《The Flame》

Artist:Tina Arena Song:The Flame Is this the hope of the world in my hands I'll take this moment, to be all that I can Look to you to see the future Stronger and free Chorus Today we will show who w

HXPshakele的专栏 489

S7-200SMART PLC中进行MODBUS RTU通信的3种方法(1)

S7-200SMART PLC中进行MODBUS RTU通信的3种方法(1)

Robot_PLC_HMI_Automation 4237

2012-06-11 工作日志

[size=medium]上午主要做的是: 1.录入云系统的流量分析云的用户映射数据 2.修改海沧互动意见征集的排序功能 下午主要做的是: 1.录入云系统的繁简通服务的用户映射数据 2.替换云系统首页的图片[/size]...

iteye_11350的博客 100

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

2012-11-06《self-recipe》

The recipe of Mexican Meat Loaf First , shatter one egg into the bowel,adding 1/3 cup of taco sauce and 1 cup coarsely crushed corn chips. Then , give 1/3 cup of shredded Mexican blend chees ,two tabl

HXPshakele的专栏 599

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

Daily Report 2012.11.06 刘宇翔

今天对李忠修改过的match函数进行测试,修正bug,并进行优化。 将中文分词方法加入到算法中,提高了算法的精确度。 但中文分词方法加入到算法后,出现在一些新问题,对新出现的问题进行了修正和优化。 测试过程中运用了900条字符串的样例。 更新后代码如下: using System; using System.Collections.Generic; using System.Li...

weixin_30617695的博客 113

2011/11/06~2012/02/12

2011/11/06~2011/12/24 不断调试c#改写成c++的behavior trees。由于c++没有内存管理机制,所以一旦搞错了delete的位置与对象的责任,就会导致奇怪的僵尸指针。 而由于tree本身也嵌套了不少层,所以要最简化tree才能调试出问题所在。花了整整一个月在调试与阅读c++内存管理相关的文章。终于还是严格简化了tree与代码,才调试出来问题所在。 同时也好好读

713

Oracle 11g 精简客户端打包 2012-06更新

Oracle Instant Client 11.1.06.20 可以免费分发的Oracle精简客户端By ZhaHost in 2010.06.18 【居然有人说有病毒,估计你们是用360的白痴,不解释,爱用不用。。。】 2012.05.18 重新打包,采取原生的odac xcopy方式: 需要可以下载:http://115.com/file/e78w64wz ...

weixin_30270889的博客 245

没有心的男人 2012-02-08 21:11:06

没有心的男人 http://www.douban.com/note/199466081/ 2012-02-08 21:11:06 没有心的男人 2012-02-08 21:11:06  “想象一个男人生来就少了一颗心,他善良,正直,彬彬有礼,就是没有那颗心。”(芬尼莫 Conscance Fonnimore Woolson)。 梁文道

aquanga的专栏 3246

周报_2012第06周(2012/02/05-2012/02/11)

项目:天犬车辆收费管理系统 2012.02.06 修改配置文件SQL连接字符串 15:30 已完成 添加Form委托通知事件 服务单价变更时更新车辆明细列表 15:54 已完成 2012.02.07 计费规则制定 10:10 已完成 已欠费或已缴费车辆退出管理之后、再重新入网,延续原有历史数据。 ...

weixin_30898109的博客 64

2012-11-06《帮别人翻译的作业》

A:你好,我起草了一个合同的方案,您看了觉得还有什么问题吗? A:Hello , I drafted a contract scheme, do you think there anything wrong ?     B:你好,我觉得还有点问题。 B:Okay ,let me have a look ,wait a minute. I think there is something 

HXPshakele的专栏 576

2012-11-06《四六级作文的句型》

一、 文章开头型句 I.  对立法 1. When asked about…, most people say 2. When it comes to …, some people think 3. There is a public debate today 4. Now, it is widely believed 5. Many of us believe that 6. To

HXPshakele的专栏 1044

2012-11-26 13:06 mahout调用流程分析

2012-11-26 13:06 http://hi.baidu.com/izouying/item/cea7e76658e85937ac3e83f6 mahout调用流程分析 剖析mahout脚本 mahout 位于$MAHOUT_HOME/bin目录下,是所有mahout调用的入口。 主要会做各类环境变量的设置。 MAHOUT_JAVA_HOME:指定java的执行路

windowsLearner的专栏 629

【心灵鸡汤】@2012-06-11

幸福,不是长生不老,不是大鱼大肉,不是权倾朝野。 幸福是每一个微小的生活愿望达成。 当你想吃的时候有得吃,想被爱的时候有人来爱你。

苹果香蕉橘子梨 287

Lucene的查询语法(2012.11.06)

说明:本人转载于博友:http://www.cnblogs.com/jerry-weijb/archive/2010/09/01/1814737.html   Lucene的查询语法 Lucene所支持的查询语法可见http://lucene.apache.org/java/3_0_1/queryparsersyntax.html (1) 语法关键字 + - && || !

tec_feng技术专栏 1593
上一篇: Android 内存分配跟踪工具(Allocation tracker)
下一篇: LRU cache implementation in C++
WingSu
博客等级 码龄23年 1粉丝 17原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值