You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visualization(mode).structure_graph() is especially useful to view the large language models, and sometimes I would like to use it in some other scenario.
So instead of install the whole OpenDelta, is it possible to isolate the Visualization functionality from OpenDelta, then it can become more light-weight and more easily to install ?
The text was updated successfully, but these errors were encountered:
from bigmodelvis import Visualization
from transformers import BertForMaskedLM
model = BertForMaskedLM.from_pretrained('bert-base-uncased')
visobj = Visualization(model)
visobj.structure_graph()
Visualization(mode).structure_graph()
is especially useful to view the large language models, and sometimes I would like to use it in some other scenario.So instead of install the whole
OpenDelta
, is it possible to isolate theVisualization
functionality fromOpenDelta
, then it can become more light-weight and more easily to install ?The text was updated successfully, but these errors were encountered: