Closed
Description
Prerequisites
- [Yes] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
- [Yes] I carefully followed the README.md.
- [Yes] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
- [Yes] I reviewed the Discussions, and have a new bug or useful enhancement to share.
Expected Behavior
I am interested in the difference between the feature vectors of the intermediate layer of the llama.cpp
and PyTorch versions of the LLaMa model.
For this purpose, I would like to know how I can get the feature vectors of the middle layer, such as
torchvision.models.feature_extraction.create_feature_extractor
and register_forward_hook
method in PyTorch.
Current Behavior
I browsed C++ programs but could not figure out how to get the feature vector.