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.5.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

pynami-0.0.5-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pynami-0.0.5.tar.gz
  • Upload date:
  • Size: 19.4 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.5.tar.gz
Algorithm Hash digest
SHA256 8327a7580a67e20ee05a3d205f5d238c40de5d977c8b184e0f89575a2e77f17a
MD5 dc0ab0ec0ed348cc7483bc4c098c7ba4
BLAKE2b-256 c20d40391a83003a3a33138cb8425c5ce4717aa146dfa6ee70d29c31f4b22e49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynami-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 23.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a4a8dc53b234a81eb572d74e20c23a8a4ab6cd612c4281624a046688c25e312d
MD5 91d73a0b104e9b7be6b14acd871e1a64
BLAKE2b-256 1aca69a0fc38bd7a5a1932e3cfc5339a933da18841a4c1cbaf81385558de0b83

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