- 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优先级
- model_pretrained
- config_pretrained
- None
- 新增transformers保存模型和预处理对应钩子
Release files for pynami 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pynami-0.0.5.tar.gz | 19.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pynami-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.3 kB
Release files / pynami-0.0.5.tar.gz
| Download URL | pynami-0.0.5.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8327a7580a67e20ee05a3d205f5d238c40de5d977c8b184e0f89575a2e77f17a
|
|
BLAKE2b-256 checksum How to use checksums |
c20d40391a83003a3a33138cb8425c5ce4717aa146dfa6ee70d29c31f4b22e49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / pynami-0.0.5-py3-none-any.whl
| Download URL | pynami-0.0.5-py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4a8dc53b234a81eb572d74e20c23a8a4ab6cd612c4281624a046688c25e312d
|
|
BLAKE2b-256 checksum How to use checksums |
1aca69a0fc38bd7a5a1932e3cfc5339a933da18841a4c1cbaf81385558de0b83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|