Skip to main content

以配置文件的形式构建transformer模型

Project description

osc-transformers

以配置文件的方式构建transformer模型

当前使用transformer类模型最流行的方式是使用transformers,这个库的特点是开箱即用,使用方便,但在构建transformer类模型上面不够灵活,因此本项目旨在提供一种更优雅、更灵活构建transformer类模型的方式.

安装

  • 首先安装pytorch>=2.0
  • 安装osc-transformers
pip install osc-transformers --upgrade

Project details


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 details)

Uploaded Source

Built Distribution

osc_transformers-0.1.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file osc_transformers-0.1.1.tar.gz.

File metadata

  • Download URL: osc_transformers-0.1.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.5 Linux/3.10.0-1160.102.1.el7.x86_64

File hashes

Hashes for osc_transformers-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2cbdb68bdf17520ea2144c1c130fb8d5489a7953400c77727633fea9b7c99428
MD5 159de7568f29383da6b492b1cb1980e8
BLAKE2b-256 e220a0e10a69a7bb6843cb21005947197754f1d9415d62ba87d2e8d60a289938

See more details on using hashes here.

File details

Details for the file osc_transformers-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: osc_transformers-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.5 Linux/3.10.0-1160.102.1.el7.x86_64

File hashes

Hashes for osc_transformers-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e655aa0e175ba5d909ae5d85b76cf1daf4615d00da580fc05b9af5d6b0180020
MD5 286da6dce48ba00edaa6ed9369ab1958
BLAKE2b-256 1a103d5908ba127ed8fd5b59b5c7ba34f5d034d7175b2e1817560beed7ec3c3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page