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

怎么建网站赚钱重庆智能网站建设费用

怎么建网站赚钱,重庆智能网站建设费用,网页游戏开服表37,保定市建网站的公司前言 本文大多数内容均copy于关系抽取数据集 NYT-10 SemEval2010 一、NYT-10是什么#xff1f; NYT-10数据发布于Riedel et al, 2010这篇论文中#xff0c;其文本来源于纽约时报New York Times所标注的语料#xff0c;命名实体是通过 Stanford NER 工具并结合 Freebase 知…前言 本文大多数内容均copy于关系抽取数据集 NYT-10 SemEval2010 一、NYT-10是什么 NYT-10数据发布于Riedel et al, 2010这篇论文中其文本来源于纽约时报New York Times所标注的语料命名实体是通过 Stanford NER 工具并结合 Freebase 知识库进行标注的。命名实体对之间的关系是链接和参考外部的Freebase知识库中的关系结合远监督方法所得到的。 二、数据下载 1.OpenNRE 数据可直接从这一链接中进行下载https://github.com/thunlp/OpenNRE/tree/master/benchmark 以其中的download_nyt10.sh为例其内容如下 mkdir nyt10 wget -P nyt10 https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/benchmark/nyt10/nyt10_rel2id.json wget -P nyt10 https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/benchmark/nyt10/nyt10_train.txt wget -P nyt10 https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/benchmark/nyt10/nyt10_test.txt我的步骤如下 首先需要先安装wget。使用直接百度得到的安装方法即可。在需要下载的目标文件下打开cmd。或者打开cmd然后移动到目标文件下都一样。将上述4条命令改成如下 mkdir nyt10 wget --no-check-certificate -P nyt10 https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/benchmark/nyt10/nyt10_rel2id.json wget --no-check-certificate -P nyt10 https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/benchmark/nyt10/nyt10_train.txt wget --no-check-certificate -P nyt10 https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/benchmark/nyt10/nyt10_test.txt如果不修改会报错报错内容如下。我的是windows系统。 SYSTEM_WGETRC c:/progra~1/wget/etc/wgetrc syswgetrc D:\wget\GnuWin32/etc/wgetrc --2021-09-25 23:26:05-- https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/benchmark/nyt10/nyt10_rel2id.json 正在解析主机 thunlp.oss-cn-qingdao.aliyuncs.com... 119.167.128.167, 119.167.128.167 Connecting to thunlp.oss-cn-qingdao.aliyuncs.com|119.167.128.167|:443... 已连接。 ERROR: cannot verify thunlp.oss-cn-qingdao.aliyuncs.coms certificate, issued by /CBE/OGlobalSign nv-sa/CNGlobalSign Organization Validation CA - SHA256 - G2:Unable to locally verify the issuers authority. ERROR: certificate common name *.oss-cn-beijing.aliyuncs.com doesnt match requested host name thunlp.oss-cn-qingdao.aliyuncs.com. To connect to thunlp.oss-cn-qingdao.aliyuncs.com insecurely, use --no-check-certificate. 无法建立 SSL 连接。依次运行上述4条命令。直接运行shell脚本应该也可以不过我不会。【_|||】 通过这一方法下载会得到总计170M的数据 2.Tsinghua Cloud 或 Google Drive Tsinghua Cloud链接:https://link.zhihu.com/?targethttps%3A//cloud.tsinghua.edu.cn/f/11391e48b72749d8b60a/%3Fdl%3D1 Google Drive链接没打开过:https://link.zhihu.com/?targethttps%3A//drive.google.com/file/d/1eSGYObt-SRLccvYCsWaHx1ldurp9eDN_/view%3Fusp%3Dsharing 通过这一方式会下载得到大约3G的压缩文件解压后如下所示。 对于其中的protobuf2json.py文件中可以掉到get_entities如下 def get_entities(file_name):print(Loading entities...)f open(file_name, rb)for line in f.readlines():line line.rstrip()guid, word, type line.split(\t)guid2entity[guid] {id: guid, word: word, type: type} f.close()print(Finish loading, got {} entities totally.format(len(guid2entity)))将其修改为如下仅修改第5行 def get_entities(file_name):print(Loading entities...)f open(file_name, rb)for line in f.readlines():line line.rstrip().decode()guid, word, type line.split(\t)guid2entity[guid] {id: guid, word: word, type: type} f.close()print(Finish loading, got {} entities totally.format(len(guid2entity)))打开其中的README.md按照里面的指示需要运行 protoc --proto_path. --python_out. Document.proto python protobuf2json.py要运行第一条就需要先安装protoc。安装方法百度得到的方法即可。 然后运行以上两条命令即可。 总结 因为在寻找数据集的过程中没有找到一个直接下载就可用的。在这个过程中甚至还从CSDN的上下载了结果感觉还是不行。通过第二个方式得到的数据集大小是1.74G而通过第一个方式下载得到的大小是170M。我单从这一点上推测通过第二个方式下载的数据可能会比第一个途径的数据多一些。详细情况我也不知道。
http://www.dnsts.com.cn/news/160387.html

相关文章:

  • 常州网站建设价格兰州生活网
  • 深圳龙霸网站建设标志空间网站
  • 科技部网站改版方案做网站py和php
  • 提供网站建设服务平台怀化网站优化公司有哪些
  • 网站 管理未备案网站
  • 二手房中介网站建设泰州网站制作专业
  • 网站服务器速度公司单位名称大全
  • 社区网站建设平台深圳企业网站备案
  • 国外网站空间购买广东海外建设监理有限公司网站
  • 商城网站开发业务天津哪里能做网站
  • 网站建设合同需要注意什么校园网站开发技术
  • 贸易类文章网站无锡网站建设专家
  • 软件公司网站模版延边州网站建设
  • 婚庆网站建设必要性如何进行网络推广和宣传
  • 乐都网站建设公司wordpress504
  • 旅游村庄网站建设方案本地集团网站建设
  • 合肥建站网站平台建设网站的总结
  • 佛山网站制作网页wordpress首页不显示该分类下文章
  • 网站工作沟通及建设wordpress quform
  • 网站建设主要产品服务公司起名
  • 网站开发加设计要多少钱网站开发 开题报告
  • 网站开发的具体流程WordPress 4.9添加备案号
  • 邢台网站优化建设app界面设计流程图
  • 网站建设属于哪个经营范围网页设计定制代理
  • 网站开发做网站石家庄免费网站制作
  • 有没有网站建设的兼职织梦的网站数据还原怎么做
  • 襄阳住房和城乡建设网站织梦做的网站图片路径在哪
  • 甘肃金恒大建设有限公司网站优化设计七年级上册语文答案
  • 专业网站网站设计如何开公司做网站
  • 响应式网站制作流程图域名的正确书写格式