It will override set_device method if device is passed if not passed it will use set_device method
valid devices just like set_device are "cpu", "mps" and "cuda"
example usage
model = AnglE.from_pretrained(instructor_model_name, pooling_strategy='cls',device="cpu")
It will override set_device method if device is passed if not passed it will use set_device method valid devices just like set_device are "cpu", "mps" and "cuda" example usage model = AnglE.from_pretrained(instructor_model_name, pooling_strategy='cls',device="cpu")