BigModelVis
A Tool to Visualize Big Models.
Overview
You can use this tool to visualize the tree structure of big models, with the name/shape of each layer showing in indents.
- A demo picture of using BigModelVis to show the structure of Bert (bert-base-uncased)
Installation
install the latest pip version
pip install bigmodelvis
or build from source
[TODO] add the git address
git clone xxx
cd bigmodelvis
python setup.py install
Usage
from bigmodelvis import Visualization
from transformers import BertForMaskedLM
model = BertForMaskedLM.from_pretrained('bert-base-uncased')
visobj = Visualization(model)
visobj.structure_graph()
Metadata
Release files for bigmodelvis 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bigmodelvis-0.0.1.tar.gz | 13.6 kB | Without provenance | Details for bigmodelvis-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bigmodelvis-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for bigmodelvis-0.0.1-py3-none-any.whl |
Total release size: 27.3 kB
Release files / bigmodelvis-0.0.1.tar.gz
| Download URL | bigmodelvis-0.0.1.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5c89e41ff63389622fb13303ac9556b0bb72c338804079c96666aa629a98cfe
|
|
BLAKE2b-256 checksum How to use checksums |
986dc855f6f8cb164c54736ad7d5db65a013ede7408c728f2fcb021696d9d38f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / bigmodelvis-0.0.1-py3-none-any.whl
| Download URL | bigmodelvis-0.0.1-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34ecf4b62bc07f28f023961fc52786964e3a430bd4ea9da9dda42c08960abf21
|
|
BLAKE2b-256 checksum How to use checksums |
581791f21e91dc8bfbb29bc1d9c48a105875016803056022db203c6f3a07e622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Security for bigmodelvis 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.