bigmodelvis-0.0.1


توضیحات

A tool to visualize big models
ویژگی مقدار
سیستم عامل OS Independent
نام فایل bigmodelvis-0.0.1
نام bigmodelvis
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده shengdinghu@gmail.com
آدرس صفحه اصلی https://github.com/zt-wang19/bigmodelvis
آدرس اینترنتی https://pypi.org/project/bigmodelvis/
مجوز Apache
# BigModelVis ![version](https://img.shields.io/badge/version-0.0.1-blue) 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) ![bert_vis](./img/bert_vis.png) ## 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() ```


نیازمندی

مقدار نام
>=1.8.0 torch
>=4.10.0 transformers
- rich


زبان مورد نیاز

مقدار نام
>=3.6.0 Python


نحوه نصب


نصب پکیج whl bigmodelvis-0.0.1:

    pip install bigmodelvis-0.0.1.whl


نصب پکیج tar.gz bigmodelvis-0.0.1:

    pip install bigmodelvis-0.0.1.tar.gz