archinetai/surgeon-pytorch

A library to inspect and extract intermediate layers of PyTorch models.

Pythondeep-learningpytorchartificial-intelligence
This is stars and forks stats for /archinetai/surgeon-pytorch repository. As of 26 Apr, 2024 this repository has 457 stars and 15 forks.

A library to inspect and extract intermediate layers of PyTorch models. Why? It's often the case that we want to inspect intermediate layers of PyTorch models without modifying the code. This can be useful to get attention matrices of language models, visualize layer embeddings, or apply a loss function to intermediate layers. Sometimes we want extract subparts of the model and run them independently, either to debug them or to train them separately. All of this can be done with Surgeon without changing...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
deepset-ai/haystackPythonHTMLHCL11.1k01.4k0
pikepdf/pikepdfPythonC++Other1.9k01710
LmeSzinc/AzurLaneAutoScriptPythonBatchfileCSS4.9k+35614+2
bxiao5050/HT-toolsPython900260
ganelson/informCCWebInform 71.2k+6620
nsqio/nsqGoJavaScriptHandlebars23.8k+172.9k+1
JuliaDiff/ForwardDiff.jlJuliaC++Python822+11350
udacity/deep-reinforcement-learningJupyter NotebookPythonTeX4.6k02.3k0
tensorflow/tpuJupyter NotebookPythonC5.2k01.8k0
Omkar2310/LP3Jupyter NotebookPythonOther120150