Closed OmarMohammed88 closed 6 months ago
Hey @OmarMohammed88, thanks for your interest in our work.
LangBridge models inherit Transformer's PreTrainedModel
and return CausalLMOutputWithPast
, just like any other causal models officially supported by Huggingface Transformers.
So the code you use for other LMs will work on LangBridge models as well.
Please let me know if you have further questions!
ok thanks for the info
thanks for the amazing works. i need to test the models on MMLU task.So i need to get the last token logits by model.foward() , how can i do that ?