• 大小: 261KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: Python
  • 标签:

资源简介

Glyce: Glyph-vectors for Chinese Character Representations

资源截图

代码片段和文件信息

# encoding: utf-8
“““
@author: wuwei 
@contact: wu.wei@pku.edu.cn

@version: 1.0
@license: Apache Licence
@file: setup.py
@time: 19-1-19 上午10:34


“““
from setuptools import setup find_packages

setup(name=‘glyce‘
      version=‘1.0‘
      description=‘Shannon Glyce embedding for Chinese word and character‘
      url=‘https://github.com/ShannonAI/glyce‘
      long_description=open(“README.md“).read()
      long_description_content_type=“text/markdown“
      author=‘Shannon.AI‘
      author_email=‘Shannon.AI‘
      license=‘Apache License 2.0‘
      packages=find_packages()
      install_requires=[
          ‘torch‘
          ‘torchvision‘
          ‘Pillow‘
          ‘zhconv==1.4.0‘
          ‘pypinyin==0.34.1‘
          ‘pywubi==0.0.2‘
      ]
      python_requires=‘>=3.6.1‘
      zip_safe=False)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-18 05:08  glyce-master\
     文件        1325  2019-07-18 05:08  glyce-master\.gitignore
     文件       11357  2019-07-18 05:08  glyce-master\LICENSE
     文件       15990  2019-07-18 05:08  glyce-master\README.md
     目录           0  2019-07-18 05:08  glyce-master\docs\
     文件        1286  2019-07-18 05:08  glyce-master\docs\acknowledge.md
     文件        1403  2019-07-18 05:08  glyce-master\docs\chinese_scripts_desc.md
     文件        1240  2019-07-18 05:08  glyce-master\docs\dataset_download.md
     文件        2868  2019-07-18 05:08  glyce-master\docs\glyce_hyper_intro.md
     文件         695  2019-07-18 05:08  glyce-master\docs\model.md
     目录           0  2019-07-18 05:08  glyce-master\glyce\
     文件         502  2019-07-18 05:08  glyce-master\glyce\__init__.py
     目录           0  2019-07-18 05:08  glyce-master\glyce\bin\
     文件         258  2019-07-18 05:08  glyce-master\glyce\bin\__init__.py
     文件       15979  2019-07-18 05:08  glyce-master\glyce\bin\run_bert_classifier.py
     文件       16405  2019-07-18 05:08  glyce-master\glyce\bin\run_bert_glyce_classifier.py
     文件       16175  2019-07-18 05:08  glyce-master\glyce\bin\run_bert_glyce_tagger.py
     文件       15106  2019-07-18 05:08  glyce-master\glyce\bin\run_bert_tagger.py
     文件        9307  2019-07-18 05:08  glyce-master\glyce\bin\run_bimpm.py
     文件       19712  2019-07-18 05:08  glyce-master\glyce\bin\run_lattice_lstm.py
     文件       12945  2019-07-18 05:08  glyce-master\glyce\bin\run_lm.py
     文件       24990  2019-07-18 05:08  glyce-master\glyce\bin\run_srl.py
     目录           0  2019-07-18 05:08  glyce-master\glyce\configs\
     文件           0  2019-07-18 05:08  glyce-master\glyce\configs\__init__.py
     文件         793  2019-07-18 05:08  glyce-master\glyce\configs\bert.json
     文件        2667  2019-07-18 05:08  glyce-master\glyce\configs\bq_glyce_bert.json
     文件        2700  2019-07-18 05:08  glyce-master\glyce\configs\ctb6cws_glyce_bert.json
     文件        2674  2019-07-18 05:08  glyce-master\glyce\configs\fudan_glyce_bert.json
     文件        2675  2019-07-18 05:08  glyce-master\glyce\configs\glyce_bert.json
     文件        2675  2019-07-18 05:08  glyce-master\glyce\configs\lcqmc_glyce_bert.json
     文件        2708  2019-07-18 05:08  glyce-master\glyce\configs\msrcws_glyce_bert.json
............此处省略131个文件信息

评论

共有 条评论