Giter Club home page Giter Club logo

crisjk / agriculture-knowledgegraph-data Goto Github PK

View Code? Open in Web Editor NEW
260.0 260.0 115.0 140.08 MB

对知识库Wikidata的爬虫以及数据处理脚本 将三元组关系对齐到语料库的脚本 获取知识图谱数据的脚本

Jupyter Notebook 0.29% Python 26.34% Shell 0.02% HTML 13.71% CSS 11.34% JavaScript 45.87% PHP 1.62% Makefile 0.01% CoffeeScript 0.24% Go 0.33% Less 0.24%
agriculture-knowledgegraph knowledge-graph wikidata wikiextractor

agriculture-knowledgegraph-data's Introduction

Hi there 👋

  • 🎉 Our latest work on LLM red team is accepted by NAACL 2024!

  • 💼 I'm currently working at Meituan as a LLM algorithm engineer.

  • 🏫 I finished my M.S. at East China Normal University, School of Data Science and Engineering.

  • 📧 You can contact me by email [email protected].

  • 🧐 I am interested in LLM. I previously studied on KG. Papers list

CrisJk's GitHub stats

agriculture-knowledgegraph-data's People

Contributors

crisjk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agriculture-knowledgegraph-data's Issues

TypeError: 'int' object has no attribute '__getitem__'

when i was running scrapy crawl entityRelation but the code below throw an error:

File "/home/young/Downloads/Agriculture-KnowledgeGraph-Data-master/wikidataRelation/wikidataRelation/spiders/getEntityRelation.py", line 34, in parse
relation = relationJson['rmention']

any idea how to fix it??

readytoCrawl2.json is empty?

Once i have created entities.json or entities2.json and copied them to the path wikidataRelation. But nothing was shown up in readytoCrawl2.json after i ran preprocess.py. how to fix it?

一个小问题请教

您好 我想问一下您的项目中predict_labels.txt里面的每一个实体后面的数字表示什么意思,例如:“长丝 16”

本项目不再维护

由于工作原因,本项目我已经没有精力维护了,烦请大家谅解

ServerSelectionTimeoutError at /tagging/

Hi,
Tried to : python manage.py runserver
&& http://127.0.0.1:8000/tagging/

ServerSelectionTimeoutError at /tagging/
10.11.6.117:27017: timed out
Request Method: GET
Request URL: http://127.0.0.1:8000/tagging/
Django Version: 3.0.5
Exception Type: ServerSelectionTimeoutError
Exception Value:
10.11.6.117:27017: timed out
Exception Location: C:\Users\wutusun\AppData\Local\Continuum\anaconda3\lib\site-packages\pymongo\topology.py in _select_servers_loop, line 209
Python Executable: C:\Users\wutusun\AppData\Local\Continuum\anaconda3\python.exe
Python Version: 3.7.4

Traceback Switch to copy-and-paste view
C:\Users\wutusun\AppData\Local\Continuum\anaconda3\lib\site-packages\django\core\handlers\exception.py in inner
response = get_response(request) …
▶ Local vars
C:\Users\wutusun\AppData\Local\Continuum\anaconda3\lib\site-packages\django\core\handlers\base.py in _get_response
response = self.process_exception_by_middleware(e, request) …
▶ Local vars
C:\Users\wutusun\AppData\Local\Continuum\anaconda3\lib\site-packages\django\core\handlers\base.py in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs) …
▶ Local vars
Agriculture-KnowledgeGraph-Data\taggingDemo\taggingDemo\tagging.py in tagging
documents_count = collection.count() …
▶ Local vars
C:\Users\wutusun\AppData\Local\Continuum\anaconda3\lib\site-packages\pymongo\collection.py in count
return self._count(cmd, collation, session) …
▶ Local vars
C:\Users\wutusun\AppData\Local\Continuum\anaconda3\lib\site-packages\pymongo\collection.py in _count
_cmd, self._read_preference_for(session), session)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.