Skip to main content

Deep Learning - Transformers

Project description

  • nami = not an mmlab implementation
  • 原先基于mmengine,现fork了mmengine并改为franky
  • 安装:pip install pynami
  • 模型需要继承自:HFModel,并实现forward方法
  • 预训练的模型使用pretrained关键字
  • 当子模块模型基于transformers时需要:
    • type为NamiAutoModel
    • model_type和config_type必须
    • config_pretrained和model_pretrained优先级
      1. model_pretrained
      2. config_pretrained
      3. None
  • 新增transformers保存模型和预处理对应钩子

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

pynami-0.0.4.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

pynami-0.0.4-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file pynami-0.0.4.tar.gz.

File metadata

  • Download URL: pynami-0.0.4.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pynami-0.0.4.tar.gz
Algorithm Hash digest
SHA256 36b263409e0663b3493070d8458429ca0ecf359f42828845cc443fb6270f9d8a
MD5 e8441f4e4addf0089cd6ae70a7f9d123
BLAKE2b-256 d507d1734723515a2ee451c03a4eae59f34ee6a9c7c22d65e7c9abb166b75584

See more details on using hashes here.

File details

Details for the file pynami-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pynami-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pynami-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 846bad93b8df8d56609d712e18a07fee48c31615ff45f9c63a895d6fc7719121
MD5 e89296dbfe3d52a0176cc150adda734e
BLAKE2b-256 5423d3e043145d597804c77e036cb4531bec60ea4a439bc362ae602e829ff920

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