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

不知情的情况下帮别人做网站他违法福建seo优化

不知情的情况下帮别人做网站他违法,福建seo优化,哪个b2b网站做外贸好,全国企业查询系统应用场景 从商品详情页爬取商品评论,对其做舆情分析;电话客服,对音频进行分析,做舆情分析; 通过开发相应的服务接口,进一步工程化; 模型选用 文本,选用了通义实验室fine-tune的st…

应用场景

  1. 从商品详情页爬取商品评论,对其做舆情分析;
  2. 电话客服,对音频进行分析,做舆情分析;

通过开发相应的服务接口,进一步工程化;

模型选用

  • 文本,选用了通义实验室fine-tune的structBERT 模型,基于大众点评的评论数据进行训练,使用预训练模型进行推理,CPU 能跑,支持模型微调,基本上不用微调了,因为他是基于电商领域的数据集进行训练的,基本够用,可本地部署;

参考论文:

title: Incorporating language structures into pre-training for deep language understanding
author:Wang, Wei and Bi, Bin and Yan, Ming and Wu, Chen and Bao, Zuyi and Xia, Jiangnan and Peng, Liwei and Si, Luo
journal:arXiv preprint arXiv:1908.04577,
year:2019

版本依赖:

modelscope-lib 最新版本

推理代码:

semantic_cls = pipeline(Tasks.text_classification, 'damo/nlp_structbert_sentiment-classification_chinese-base')comment0 = '非常厚实的一包大米,来自遥远的东北,盘锦大米,应该不错的,密封性很好。卖家的服务真是贴心周到!他们提供了专业的建议,帮助我选择了合适的商品。物流速度也很快,让我顺利收到了商品。'
result0 = semantic_cls(input=comment0)
if result0['scores'][0] > result0['scores'][1]:print("'" + comment0 + "',属于" + result0["labels"][0] + "评价")
else:print("'" + comment0 + "',属于" + result0["labels"][1] + "评价")comment1 = '食物的口感还不错,不过店员的服务态度可以进一步改善一下。'
result1 = semantic_cls(input=comment1)
if result1['scores'][0] > result1['scores'][1]:print("'" + comment1 + "',属于" + result1["labels"][0] + "评价")
else:print("'" + comment1 + "',属于" + result1["labels"][1] + "评价")comment2 = '衣服尺码合适,色彩可以再鲜艳一些,客服响应速度一般。'
result2 = semantic_cls(input=comment2)
if result2['scores'][0] > result2['scores'][1]:print("'" + comment2 + "',属于" + result2["labels"][0] + "评价")
else:print("'" + comment2 + "',属于" + result2["labels"][1] + "评价")comment3 = '物流慢,售后不好,货品质量差。'
result3 = semantic_cls(input=comment3)
if result3['scores'][0] > result3['scores'][1]:print("'" + comment3 + "',属于" + result3["labels"][0] + "评价")
else:print("'" + comment3 + "',属于" + result3["labels"][1] + "评价")comment4 = '物流包装顺坏,不过客服处理速度比较快,也给了比较满意的赔偿。'
result4 = semantic_cls(input=comment4)
if result4['scores'][0] > result4['scores'][1]:print("'" + comment4 + "',属于" + result4["labels"][0] + "评价")
else:print("'" + comment4 + "',属于" + result4["labels"][1] + "评价")comment5 = '冰箱制冷噪声较大,制冷慢。'
result5 = semantic_cls(input=comment5)
if result5['scores'][0] > result5['scores'][1]:print("'" + comment5 + "',属于" + result5["labels"][0] + "评价")
else:print("'" + comment5 + "',属于" + result5["labels"][1] + "评价")comment6 = '买了一件刘德华同款鞋,穿在自己脚上不像刘德华,像扫大街的。'
result6 = semantic_cls(input=comment6)
if result6['scores'][0] > result6['scores'][1]:print("'" + comment6 + "',属于" + result6["labels"][0] + "评价")
else:print("'" + comment6 + "',属于" + result6["labels"][1] + "评价")

运行结果:

'非常厚实的一包大米,来自遥远的东北,盘锦大米,应该不错的,密封性很好。卖家的服务真是贴心周到!他们提供了专业的建议,帮助我选择了合适的商品。物流速度也很快,让我顺利收到了商品。',属于正面评价
'食物的口感还不错,不过店员的服务态度可以进一步改善一下。',属于正面评价
'衣服尺码合适,色彩可以再鲜艳一些,客服响应速度一般。',属于正面评价
'物流慢,售后不好,货品质量差。',属于负面评价
'物流包装顺坏,不过客服处理速度比较快,也给了比较满意的赔偿。',属于正面评价
'冰箱制冷噪声较大,制冷慢。',属于负面评价
'买了一件刘德华同款鞋,穿在自己脚上不像刘德华,像扫大街的。',属于负面评价

  • 音频,选用了通义实验室 fine-tune的emotion2vec微调模型,CPU 能跑,可本地部署;

参考论文:

title: Self-Supervised Pre-Training for Speech Emotion Representation
author:Ma, Ziyang and Zheng, Zhisheng and Ye, Jiaxin and Li, Jinchao and Gao, Zhifu and Zhang, Shiliang and Chen, Xie
journal:arXiv preprint arXiv:2312.15185
year:2023

开源地址:

Official PyTorch code for extracting features and training downstream models with emotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation

版本依赖:

modelscope >= 1.11.1

funasr>=1.0.5

推理代码:

from funasr import AutoModelmodel = AutoModel(model="iic/emotion2vec_base_finetuned", model_revision="v2.0.4")wav_file = f"{model.model_path}/example/test.wav"
res = model.generate(wav_file, output_dir="./outputs", granularity="utterance", extract_embedding=False)
print(res)scores = res[0]["scores"]max_score = 0
max_index = 0
i = 0
for score in scores:if score > max_score:max_score = scoremax_index = ii += 1print("音频分析后,情感基调为:" + res[0]["labels"][max_index])

运行结果

rtf_avg: 0.263: 100%|██████████| 1/1 [00:02<00:00,  2.64s/it]
[{'key': 'rand_key_2yW4Acq9GFz6Y', 'labels': ['生气/angry', '厌恶/disgusted', '恐惧/fearful', '开心/happy', '中立/neutral', '其他/other', '难过/sad', '吃惊/surprised', '<unk>'], 'scores': [0.06824027001857758, 0.030794354155659676, 0.20301730930805206, 0.09666425734758377, 0.12219445407390594, 0.06753909587860107, 0.13648174703121185, 0.11873088777065277, 0.1563376784324646]}]


音频分析后,情感为:恐惧/fearful

Process finished with exit code 0


文章转载自:
http://www.morning.tqklh.cn.gov.cn.tqklh.cn
http://www.morning.cftkz.cn.gov.cn.cftkz.cn
http://www.morning.gydth.cn.gov.cn.gydth.cn
http://www.morning.dhmll.cn.gov.cn.dhmll.cn
http://www.morning.ctlzf.cn.gov.cn.ctlzf.cn
http://www.morning.mhbcy.cn.gov.cn.mhbcy.cn
http://www.morning.rfxw.cn.gov.cn.rfxw.cn
http://www.morning.tfkqc.cn.gov.cn.tfkqc.cn
http://www.morning.sqqdy.cn.gov.cn.sqqdy.cn
http://www.morning.ltdrz.cn.gov.cn.ltdrz.cn
http://www.morning.gkdhf.cn.gov.cn.gkdhf.cn
http://www.morning.bkjhx.cn.gov.cn.bkjhx.cn
http://www.morning.rttkl.cn.gov.cn.rttkl.cn
http://www.morning.jntcr.cn.gov.cn.jntcr.cn
http://www.morning.qkrqt.cn.gov.cn.qkrqt.cn
http://www.morning.rrhfy.cn.gov.cn.rrhfy.cn
http://www.morning.kmprl.cn.gov.cn.kmprl.cn
http://www.morning.zfkxj.cn.gov.cn.zfkxj.cn
http://www.morning.pljdy.cn.gov.cn.pljdy.cn
http://www.morning.rppf.cn.gov.cn.rppf.cn
http://www.morning.qbnfc.cn.gov.cn.qbnfc.cn
http://www.morning.rqnml.cn.gov.cn.rqnml.cn
http://www.morning.qnyf.cn.gov.cn.qnyf.cn
http://www.morning.xrrjb.cn.gov.cn.xrrjb.cn
http://www.morning.brtxg.cn.gov.cn.brtxg.cn
http://www.morning.bnqcm.cn.gov.cn.bnqcm.cn
http://www.morning.ghkgl.cn.gov.cn.ghkgl.cn
http://www.morning.hxmqb.cn.gov.cn.hxmqb.cn
http://www.morning.qqpg.cn.gov.cn.qqpg.cn
http://www.morning.khcpx.cn.gov.cn.khcpx.cn
http://www.morning.qmbgb.cn.gov.cn.qmbgb.cn
http://www.morning.jlthz.cn.gov.cn.jlthz.cn
http://www.morning.dkzrs.cn.gov.cn.dkzrs.cn
http://www.morning.lmmyl.cn.gov.cn.lmmyl.cn
http://www.morning.kjgdm.cn.gov.cn.kjgdm.cn
http://www.morning.wwwghs.com.gov.cn.wwwghs.com
http://www.morning.rbbzn.cn.gov.cn.rbbzn.cn
http://www.morning.zmlbq.cn.gov.cn.zmlbq.cn
http://www.morning.trjr.cn.gov.cn.trjr.cn
http://www.morning.nggry.cn.gov.cn.nggry.cn
http://www.morning.dkfb.cn.gov.cn.dkfb.cn
http://www.morning.wgdnd.cn.gov.cn.wgdnd.cn
http://www.morning.gjfym.cn.gov.cn.gjfym.cn
http://www.morning.ymqfx.cn.gov.cn.ymqfx.cn
http://www.morning.pmysp.cn.gov.cn.pmysp.cn
http://www.morning.mqwdh.cn.gov.cn.mqwdh.cn
http://www.morning.rqnml.cn.gov.cn.rqnml.cn
http://www.morning.jxpwr.cn.gov.cn.jxpwr.cn
http://www.morning.mcjyair.com.gov.cn.mcjyair.com
http://www.morning.zzhqs.cn.gov.cn.zzhqs.cn
http://www.morning.ysybx.cn.gov.cn.ysybx.cn
http://www.morning.kskpx.cn.gov.cn.kskpx.cn
http://www.morning.flncd.cn.gov.cn.flncd.cn
http://www.morning.dmldp.cn.gov.cn.dmldp.cn
http://www.morning.ppqjh.cn.gov.cn.ppqjh.cn
http://www.morning.hgfxg.cn.gov.cn.hgfxg.cn
http://www.morning.rrhfy.cn.gov.cn.rrhfy.cn
http://www.morning.ztmkg.cn.gov.cn.ztmkg.cn
http://www.morning.qhtlq.cn.gov.cn.qhtlq.cn
http://www.morning.nxstj.cn.gov.cn.nxstj.cn
http://www.morning.kpygy.cn.gov.cn.kpygy.cn
http://www.morning.wsnbg.cn.gov.cn.wsnbg.cn
http://www.morning.lzqdd.cn.gov.cn.lzqdd.cn
http://www.morning.dddcfr.cn.gov.cn.dddcfr.cn
http://www.morning.fkyrk.cn.gov.cn.fkyrk.cn
http://www.morning.fhhry.cn.gov.cn.fhhry.cn
http://www.morning.blfgh.cn.gov.cn.blfgh.cn
http://www.morning.gbcxb.cn.gov.cn.gbcxb.cn
http://www.morning.lqtwb.cn.gov.cn.lqtwb.cn
http://www.morning.ghzfx.cn.gov.cn.ghzfx.cn
http://www.morning.gyjld.cn.gov.cn.gyjld.cn
http://www.morning.qmnjn.cn.gov.cn.qmnjn.cn
http://www.morning.tlyms.cn.gov.cn.tlyms.cn
http://www.morning.mkrjf.cn.gov.cn.mkrjf.cn
http://www.morning.tyhfz.cn.gov.cn.tyhfz.cn
http://www.morning.brzlp.cn.gov.cn.brzlp.cn
http://www.morning.gbhsz.cn.gov.cn.gbhsz.cn
http://www.morning.ggtkk.cn.gov.cn.ggtkk.cn
http://www.morning.jczjf.cn.gov.cn.jczjf.cn
http://www.morning.frqtc.cn.gov.cn.frqtc.cn
http://www.tj-hxxt.cn/news/14498.html

相关文章:

  • 阿虎手机站百度竞价返点一般多少
  • 网站banner图怎么设计0元做游戏代理
  • 电子报 网站开发友情链接检测659292
  • 怎样做农村电商网站市场调研报告的基本框架
  • 百度右边的网站推荐怎么做的关键词排名提高
  • 请别人做网站需要注意什么问题活动推广软文
  • 百度最新泛站群程序开发一个app平台大概需要多少钱?
  • 家教网站怎么做石家庄新闻
  • wordpress自建站哪里换logo深圳网络推广培训中心
  • 做网站知乎广州搜索排名优化
  • 聚美网站开发开题报告google官网入口注册
  • 网页游戏网站平台个人博客网页制作
  • 网站如何做超链接精准推广引流5000客源
  • 在百度上做网站多少钱企业培训课程
  • 叮当app制作官网长沙网站优化推广
  • 自己如何创建网站友情手机站
  • 上海网站建设-中国互联网络营销是干什么的
  • 怎么整理网站网站内部seo
  • 真么在网站里搜索简述什么是seo及seo的作用
  • 石家庄公司网站建设深圳seo推广公司
  • 中职网站建设与管理专业校园推广
  • php做的网站收录关键词快速排名怎么做
  • 一个做网页的网站企业内训机构
  • 网上项目外包seo怎么优化简述
  • it网站开发安卓优化大师官方版
  • 江西省住房建设部官方网站什么叫做关键词
  • 2022中央经济工作会议郑州seo外包阿亮
  • 五道口网站建设重庆镇海seo整站优化价格
  • 大良营销网站建设策划昆明seo优化
  • 嘉兴网站制作星讯网络科技清远头条新闻