Open llCurious opened 8 months ago
hi @hodlen , do you have any ideas?
Sorry for the late reply. That was a bit unexpected since we have tested its perplexity under both transformers/torch and PowerInfer. Can you provide minimal reproducible code so we can further help to investigate?
Prerequisites
Before submitting your question, please ensure the following:
Question Details
I use the sparsed LLaMA model from SparseLLM (Huggingface), named as ReluLLaMA-7B. I calculate the PPL with max_seq_length of 512 for wikitext2 dataset (from Huggingface). However, the PPL reaches 16003, while the original dense LLaMA2, named as Llama-2-7b-hf has a PPL of 54.
There seems to be a huge PPL loss due to the relu activation. Do you have any ideas on this phenomenon?
Additional Context
All the packages use the latest version. All the models and datasets are from Huggingface.