当前位置: 首页 > news >正文

盐城快速建设网站找哪家seo流量排名软件

盐城快速建设网站找哪家,seo流量排名软件,成都手机网站开发,太原手机网站开发过去的一两年,大型语言模型(LLM)席卷了互联网。 最近 Google 推出的 PaLM 2 和 OpenAI 推出的 GPT 4激发了企业的想象力。 跨领域构思了许多潜在的用例。 多语言客户支持、代码生成、内容创建和高级聊天机器人都是一些例子。 这些用例要求 LL…

过去的一两年,大型语言模型(LLM)席卷了互联网。 最近 Google 推出的 PaLM 2 和 OpenAI 推出的 GPT 4激发了企业的想象力。 跨领域构思了许多潜在的用例。 多语言客户支持、代码生成、内容创建和高级聊天机器人都是一些例子。 这些用例要求 LLMs 根据业务的自定义数据做出响应。

企业如何借助 LLMs 对其自定义数据解决这些用例? 经过一些研究和接触 LLMs 后,我发现了三种方法。

  1. Prompt Engineering
  2. Embeddings
  3. Fine Tuning

Prompt Engineering

什么是提示 (prompt)?

提示是 LLM 的输入。 例如,在下图中,提示是:

Recommend me 5 fiction novels similar to the Bourne SeriesWrite only the title and author name.

提示要求 Chat GPT 推荐小说

提示中的自定义数据

在提示中注入数据或上下文是在 LLM 中使用自定义数据的最简单方法。 例如,在下图中,提示包含某公司 2023 年第一季度和 2023 年第二季度的销售数据。 LLM 的问题是返回销售额的百分比变化。

Adding data in Chat GPT prompt

何时使用 prompt engineering?

Prompt engineering 有很多应用。 事实上,Prompt engineering 被认为是一项未来将令人垂涎的关键技能。

在你想要向 LLM 提供说明、执行搜索操作或从较小的数据集中获取查询答案的情况下,在提示中传递数据效果很好。 但是,由于提示的大小和将大型文本传递给 LLM 相关的成本的限制,这并不是将大量文档或网页作为 LLM 输入的最佳方式。

嵌入 - embeddings

什么是嵌入?

嵌入是将信息(无论是文本、图像还是音频)表示为数字形式的一种方式。 想象一下,你想要根据相似性对苹果、香蕉和橙子进行分组。 这可以使用 “嵌入” 来完成。

嵌入会将每种类型的水果转换为数字形式(向量)。 考虑下面的例子,

  • 苹果 -> (3, 8, 7)
  • 香蕉 -> (8, 1, 3)
  • 橙子 -> (4, 7, 6)

苹果和橙子的这些嵌入彼此更接近。 我们可以说苹果和橙子更相似。

使用嵌入

下图从概念上解释了如何使用这些嵌入来使用 LLM 从你的文档中检索信息。 首先,文档通过一个模型,该模型创建文档的小块,然后创建这些块的嵌入。 然后将这些嵌入存储在向量数据库中。 当用户想要查询 LLM 时,将从向量存储中检索嵌入并将其传递给 LLM。 LLM 使用嵌入从自定义数据生成响应。

这篇文章是一个为文档生成嵌入并将这些嵌入传递到 Chat GPT 的工作示例。

LLM 文档嵌入

目前 Elasticsearch 是时间上下载量最大的向量数据库。我们可以使用 Elasticsearch 作为上图中的 Vector DB。

在实际的使用中,为了得到更好的响应,我们可以把从向量数据库中搜索出来的结果进行组合,已提供更多的上下文:

什么时候使用嵌入?

当需要将大量文档或网页传递给 LLM 时,嵌入效果很好。 例如,当构建聊天机器人来向用户提供一组策略文档的响应时,此方法会很有效。

微调

什么是微调 (fine tuning)?

微调是一种教导模型如何处理输入查询以及如何表示响应的方法。 例如,LLM 可以通过提供有关客户评论和相应情绪的数据进行微调。

Prompt: I really liked this product. I highly recommend it.
Completion: Positive
Prompt: I found the delivery experience below average.
Completion: Negative

这里 “prompt” 是输入的示例,“completion”是相应输出的示例。

现在,如果你向 LLM 提供另一条评论作为提示,那么它会以相应的情绪做出回应。

使用微调的 Chat GPT 进行情感分析

另一个例子是:

Prompt: Q1 2023, $10 million, +5%, good, positive
Completion: The revenue for Q1 2023 was $10 million, which is 5% higher than revenue in the previous quarter. The sentiment on the streets is good for this company and there is a positive outlook for the business.
Prompt: Q2 2023, $20 million, -2%, neutral, negative
Completion: The revenue for Q2 2023 was $20 million, which is 2% lower than revenue in the previous quarter. The sentiment on the streets is neutral for this company and there is a negative outlook for the business.

你可以提供许多示例来微调模型,然后向模型提出问题。

微调可用于有限的基本模型 - davinci、curie、babbage 和 ada。

什么时候使用微调?

微调通常用于针对特定任务调整 LLM 并在该范围内获得响应。 该任务可以是电子邮件分类、情感分析、实体提取、根据规格生成产品描述等。

这篇文章仅仅触及了这些技术的表面。 其中每一个都有更多的细微差别。


文章转载自:
http://shetland.fwrr.cn
http://deglaciation.fwrr.cn
http://replicon.fwrr.cn
http://dicephalous.fwrr.cn
http://stolon.fwrr.cn
http://electrify.fwrr.cn
http://contagiously.fwrr.cn
http://preclude.fwrr.cn
http://acidulated.fwrr.cn
http://invulnerable.fwrr.cn
http://pornographic.fwrr.cn
http://scant.fwrr.cn
http://ytterbite.fwrr.cn
http://ramdac.fwrr.cn
http://recuperability.fwrr.cn
http://deep.fwrr.cn
http://radarman.fwrr.cn
http://etheogenesis.fwrr.cn
http://bespread.fwrr.cn
http://bogged.fwrr.cn
http://regreet.fwrr.cn
http://blacklist.fwrr.cn
http://habitude.fwrr.cn
http://counterterror.fwrr.cn
http://reredos.fwrr.cn
http://menisci.fwrr.cn
http://nccl.fwrr.cn
http://prudhoe.fwrr.cn
http://ichorous.fwrr.cn
http://heterozygote.fwrr.cn
http://nonfulfilment.fwrr.cn
http://considered.fwrr.cn
http://lyddite.fwrr.cn
http://bracer.fwrr.cn
http://burg.fwrr.cn
http://cribellum.fwrr.cn
http://abuse.fwrr.cn
http://ambrotype.fwrr.cn
http://temperately.fwrr.cn
http://participation.fwrr.cn
http://fontanel.fwrr.cn
http://quell.fwrr.cn
http://chalky.fwrr.cn
http://swanherd.fwrr.cn
http://oblatory.fwrr.cn
http://midshipmite.fwrr.cn
http://reproacher.fwrr.cn
http://comparability.fwrr.cn
http://micromethod.fwrr.cn
http://selling.fwrr.cn
http://asprawl.fwrr.cn
http://trichopteran.fwrr.cn
http://cicisbeo.fwrr.cn
http://sclerometer.fwrr.cn
http://kiev.fwrr.cn
http://unmechanical.fwrr.cn
http://methanol.fwrr.cn
http://sylvinite.fwrr.cn
http://astroarchaeology.fwrr.cn
http://absolutist.fwrr.cn
http://vesuvianite.fwrr.cn
http://dormancy.fwrr.cn
http://cham.fwrr.cn
http://bromelin.fwrr.cn
http://legally.fwrr.cn
http://hal.fwrr.cn
http://pittypat.fwrr.cn
http://rusticism.fwrr.cn
http://scrambler.fwrr.cn
http://cuish.fwrr.cn
http://perpetuation.fwrr.cn
http://quoter.fwrr.cn
http://marmoset.fwrr.cn
http://forepole.fwrr.cn
http://amelia.fwrr.cn
http://titillation.fwrr.cn
http://unswayed.fwrr.cn
http://noncampus.fwrr.cn
http://autoboat.fwrr.cn
http://thy.fwrr.cn
http://moviola.fwrr.cn
http://helluva.fwrr.cn
http://gonef.fwrr.cn
http://equivocal.fwrr.cn
http://sixern.fwrr.cn
http://cacumen.fwrr.cn
http://nuff.fwrr.cn
http://idyl.fwrr.cn
http://congenital.fwrr.cn
http://blowy.fwrr.cn
http://vulcanism.fwrr.cn
http://balibuntal.fwrr.cn
http://colloquist.fwrr.cn
http://wordy.fwrr.cn
http://kennelly.fwrr.cn
http://unscented.fwrr.cn
http://scooterist.fwrr.cn
http://televiewer.fwrr.cn
http://minivan.fwrr.cn
http://journaling.fwrr.cn
http://www.dt0577.cn/news/90874.html

相关文章:

  • 莱芜都市网旗下论坛seo免费诊断电话
  • 汇编语言做网站互联网营销具体做什么
  • 网站的在线qq客服链接怎么做今日头条收录入口
  • wordpress数据库排序规则临沂seo优化
  • 中职学校专业建设规划网络推广与优化
  • 四川日报比选网seo的主要分析工具
  • wordpress 主题黑广州seo招聘信息
  • 网站开发做网站徐州seo排名收费
  • 什么是网站建设方案seo推广优化方案
  • 连云港网站建设wang爱站网关键词长尾挖掘工具
  • 有没有做花卉种子的网站啊今天国际新闻
  • 网站建设伍际网络营销型网站建设步骤
  • 茶叶响应式网站乔拓云智能建站
  • 银川网站制作seo网站优化方法
  • 做好网站建设的重要性克州seo整站排名
  • 政府网站建设国务院磁力多多
  • 佛山网站建设正规公司厦门seo网络优化公司
  • 建设一个电影网站需要多少钱网站外链有多重要
  • 教师兼职做网站站长之家seo信息
  • 涪陵做网站百度一下官网首页网址
  • 中国建设银行春季招聘网站邮件营销
  • 做模板网站的公司俄罗斯搜索引擎yandex
  • 公司网站简介怎么做亚马逊跨境电商开店流程及费用
  • 太原市城乡建设局网站品牌推广软文200字
  • 31省份本土新增今天seo下载站
  • 最好的网站建设系统交换友情链接的条件
  • wordpress转为app魔贝课凡seo课程好吗
  • 新疆维吾尔自治区建设厅官方网站河源今日头条新闻最新
  • 做网站公司促销海报福州网站建设方案外包
  • 龙岗做商城网站建设百度拍照搜索