def METHOD_NAME(self):
    data = {
        "type": "SentenceTransformersTextEmbedder",
        "init_parameters": {
            "model_name_or_path": "model",
            "device": "cuda",
            "use_auth_token": True,
            "prefix": "prefix",
            "suffix": "suffix",
            "batch_size": 64,
            "progress_bar": False,
            "normalize_embeddings": True,
        },
    }
    component = SentenceTransformersTextEmbedder.from_dict(data)
    assert component.model_name_or_path == "model"
    assert component.device == "cuda"
    assert component.use_auth_token is True
    assert component.prefix == "prefix"
    assert component.suffix == "suffix"
    assert component.batch_size == 64
    assert component.progress_bar is False
    assert component.normalize_embeddings is True