https://github.com/buaadreamer/dlpy

Programming Language for Deep Learning in Python

https://github.com/buaadreamer/dlpy

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (2.6%) to scientific vocabulary

Keywords

baichuan2 chatbot deep-learning gpt-2 huggingface language-model mlp programming-language python3 transformers
Last synced: 5 months ago · JSON representation

Repository

Programming Language for Deep Learning in Python

Basic Info
  • Host: GitHub
  • Owner: BUAADreamer
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 68.4 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
baichuan2 chatbot deep-learning gpt-2 huggingface language-model mlp programming-language python3 transformers
Created about 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme

README.md

dlpy: 面向深度学习的Python

环境配置

shell pip3 install -r requirements.txt alias dlpy='python3 main.py' #如果需要cli直接运行

模型下载

将模型下载到checkpoints目录下或者自定义目录下

代码示例

example/目录下有常见dlpy代码示例,下面以baichuan2的聊天机器人为例: python model:transformer='checkpoints/baichuan2-7b-chat':'dataset/wiki.txt'; while True{ print('User:'); x=scan(); print('Bot:'); chat model x; }

代码运行

```shell python3 main.py examples/sample.dlpy

快捷运行

dlpy example/sample.dlpy ```

编译器完整运行结果

shell python3 test.py examples/if.dlpy

致谢

本项目基于ply,参考了simplepy,感谢这些库的作者!!

Owner

  • Login: BUAADreamer
  • Kind: user
  • Location: Beijing
  • Company: Beihang University

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 12
  • Total Committers: 2
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.417
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
19373576 1****6@b****n 7
BUAADreamer 1****3@q****m 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • datasets *
  • json *
  • ply *
  • sentencepiece *
  • torch *
  • transformers *
  • xformers *