def test_push_to_huggingface_with_vectors_with_field_names() -> None:
    """Ensure that even if a field in the `FeedbackDataset` is named as a vector within the same dataset,
    the dataset can still be pushed and pulled to/from HuggingFace Hub, respectively.
    """
    dataset = rg.FeedbackDataset(
        fields=[
            rg.TextField(name="text-field", required=True),
        ],
        questions=[
            rg.TextQuestion(name="text-question", required=True),
        ],
        vectors_settings=[
            # Named `text-field` to ensure that even if name is duplicated with a field/question, the
            # vector is properly serialized under the `vectors` column in the `datasets.Dataset`
            rg.VectorSettings(name="text-field", dimensions=2),
        ],
    )

    dataset.add_records(
        [
            rg.FeedbackRecord(
                fields={
                    "text-field": "This is a text field",
                },
                vectors={"text-field": [1.0, 2.0]},
            )
        ]
    )

    github_ref_name = re.sub(r"[^a-zA-Z0-9-]", "-", os.getenv("GITHUB_REF_NAME", "test"))
    repo_id = "argilla/test-integration-{}-{}".format(github_ref_name, uuid4())
    dataset.push_to_huggingface(repo_id=repo_id, private=True, token=os.getenv("HF_HUB_ACCESS_TOKEN"))

    try:
        hf_dataset = rg.FeedbackDataset.from_huggingface(repo_id=repo_id, token=os.getenv("HF_HUB_ACCESS_TOKEN"))
        assert isinstance(hf_dataset, rg.FeedbackDataset)
        assert hf_dataset.records == dataset.records
    except Exception as e:
        from huggingface_hub import HfApi

        HfApi().delete_repo(repo_id, repo_type="dataset", token=os.getenv("HF_HUB_ACCESS_TOKEN"))
        raise e
Ensure that even if a field in the `FeedbackDataset` is named as a vector within the same dataset,
    the dataset can still be pushed and pulled to/from HuggingFace Hub, respectively.
    
argilla-v1/tests/integration/client/feedback/integrations/huggingface/test_dataset.py