以配置文件的形式构建transformer模型
Project description
osc-transformers
以配置文件的方式构建transformer模型
当前使用transformer类模型最流行的方式是使用transformers,这个库的特点是开箱即用,使用方便,但在构建transformer类模型上面不够灵活,因此本项目旨在提供一种更优雅、更灵活构建transformer类模型的方式.
安装
- 首先安装pytorch>=2.0
- 安装osc-transformers
pip install osc-transformers --upgrade
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
osc_transformers-0.1.1.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for osc_transformers-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e655aa0e175ba5d909ae5d85b76cf1daf4615d00da580fc05b9af5d6b0180020 |
|
MD5 | 286da6dce48ba00edaa6ed9369ab1958 |
|
BLAKE2b-256 | 1a103d5908ba127ed8fd5b59b5c7ba34f5d034d7175b2e1817560beed7ec3c3f |