DAMO-NLP-SG / DAMO-NLP-SG/multilingual_analysis
Question About Hidden Space Tokenization Decoding
Open
- Dominant language
- Python
- Stars
- 52
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/DAMO-NLP-SG/multilingual_analysis/blob/be2b161e7ef6e2b2c6659a3516c5a8843196a9f7/layers/test_layer.py#L44
I am trying to reproduce the token analysis of layers' hidden embedding. I have done the following:
1. Install according to requirements.txt
2. Replace the generation and models folder of transformers with the one in the repository
However, the output of the line is just the decoded token ids, no hidden_states (as normal generate).
May I ask is there any thing I am missing? Thank you very much.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.