It looks like jhu-clsp/ettin-encoder-1b does not have any proj layers. Is it possible to use LoRA with this model:
from transformers import AutoModelForSequenceClassification
model_name = ‘jhu-clsp/ettin-encoder-1b’
model = AutoModelForSequenceClassification.from_pretrained(model_name)
for parent_name, module in model.named_modules():
for child_name, child in module.named_children():
if ‘proj’ in child_name:
print(child_name)
print(“_________”)
This code returned nothing.