https://github.com/buaadreamer/dlpy
Programming Language for Deep Learning in Python
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
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
致谢
Owner
- Login: BUAADreamer
- Kind: user
- Location: Beijing
- Company: Beihang University
- Website: https://buaadreamer.top/
- Repositories: 4
- Profile: https://github.com/BUAADreamer
GitHub Events
Total
Last Year
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| 19373576 | 1****6@b****n | 7 |
| BUAADreamer | 1****3@q****m | 5 |
Committer Domains (Top 20 + Academic)
qq.com: 1
buaa.edu.cn: 1
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 *