zuhri025/Urdu_munch-MyLina
from datasets import load_dataset from linacodec.codec import LinaCodec from IPython.display import Audio import torch from datasets import load_dataset ds = load_dataset("zuhri025/Urdu_munch-MyLina", split="train") print(ds) print(ds.column_names) Pick a sample sample = ds[0] Device device = "cuda" if torch.cuda.is_available() else "cpu" Convert to tensors and move to device speech_tokens = torch.tensor(sample["speech_tokens"]).to(device)… See the full description on the dataset page: https://huggingface.co/datasets/zuhri025/Urdu_munch-MyLina.
Conversations for this repository live on Hugging Face.
CoolFace shows imported repositories read-only. Posting into someone else’s repository from here would need an authorised integration and the account holder’s consent, so the link goes to the source instead.
Open discussions on Hugging Face