Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
label
class label
pixel_values
list
0a
[[[0.9607843160629272,0.9607843160629272,0.9607843160629272,0.9607843160629272,0.9607843160629272,0.(...TRUNCATED)
0a
[[[0.6235294342041016,0.615686297416687,0.6392157077789307,0.615686297416687,0.6470588445663452,0.63(...TRUNCATED)
0a
[[[0.9215686321258545,0.8588235378265381,0.8509804010391235,0.8901960849761963,0.8588235378265381,0.(...TRUNCATED)
0a
[[[0.9450980424880981,0.9450980424880981,0.9372549057006836,0.9372549057006836,0.9450980424880981,0.(...TRUNCATED)
0a
[[[0.9686274528503418,0.9686274528503418,0.9686274528503418,0.9686274528503418,0.9686274528503418,0.(...TRUNCATED)
0a
[[[0.9686274528503418,0.9686274528503418,0.9686274528503418,0.9686274528503418,0.9686274528503418,0.(...TRUNCATED)
0a
[[[0.6549019813537598,0.6470588445663452,0.7568627595901489,0.686274528503418,-0.1450980305671692,0.(...TRUNCATED)
0a
[[[0.9529411792755127,0.9607843160629272,0.8509804010391235,0.9607843160629272,0.9607843160629272,0.(...TRUNCATED)
0a
[[[0.9686274528503418,0.9686274528503418,0.9686274528503418,0.9686274528503418,0.9607843160629272,0.(...TRUNCATED)
0a
[[[0.9607843160629272,0.9607843160629272,0.9607843160629272,0.9607843160629272,0.9607843160629272,0.(...TRUNCATED)
End of preview. Expand in Data Studio

Aksara Sunda Character Classification Dataset

This dataset is designed for the classification of Aksara Sunda characters. It was derived from an object detection dataset originally sourced from Roboflow and processed for image classification tasks.

Dataset Source

The original YOLO-formatted dataset was obtained from Roboflow: Roboflow URL: https://universe.roboflow.com/aksarasunda/aksara-sunda-eayhq/dataset/2

Dataset Structure

The dataset contains the following splits:

  • train: Training set
  • validation: Validation set
  • test: Test set

Each sample in the dataset has the following features:

  • pixel_values: A PyTorch tensor representing the image pixels (preprocessed for a Vision Transformer).
  • label: An integer representing the class ID of the Aksara Sunda character.

Class Labels

The dataset contains the following Aksara Sunda characters (mapped from integer IDs to names):

  • a
  • ae
  • ba
  • ca
  • da
  • e
  • eu
  • fa
  • ga
  • ha
  • i
  • ja
  • ka
  • la
  • ma
  • na
  • nga
  • nya
  • o
  • pa
  • qa
  • ra
  • sa
  • ta
  • u
  • va
  • wa
  • xa
  • ya
  • za

How to Use

You can easily load this dataset from the Hugging Face Hub using the datasets library:

from datasets import load_dataset

# Load the dataset
repo_id = "Muhammad-Ikhwan-Fathulloh/aksara-sunda-classification"
loaded_dataset = load_dataset(repo_id)

print(loaded_dataset)

# Example: Access a sample from the training set
sample = loaded_dataset['train'][0]
# The label is an integer, use int2str to get the human-readable name
print(f"Sample pixel values shape: {sample['pixel_values'].shape}")
print(f"Sample label: {loaded_dataset['train'].features['label'].int2str(sample['label'])}")

If the dataset is private, you will need to authenticate with a Hugging Face token:

from huggingface_hub import login
# login(token="YOUR_HF_READ_TOKEN") # or set HF_TOKEN environment variable
# loaded_dataset = load_dataset("{repo_id}")
Downloads last month
21