Error in example code
I am getting an error when using the example code for the model card tab, Can you guys please let me know how to resolve it.
Loading checkpoint shards: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 17/17 [00:46<00:00, 2.75s/it]
Traceback (most recent call last):
File "/u/nalaka/nalaka_llm/chatsv_old/Evaluation/mixtral.py", line 49, in
model_inputs = encodeds.to(device)
AttributeError: 'list' object has no attribute 'to'