YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

from datasets import Dataset

Prepare your data

data = [ {"source_text": "Hello, how are you?", "target_text": "ู…ุฑุญุจุง ูƒูŠู ุญุงู„ูƒุŸ"}, {"source_text": "I am fine, thank you.", "target_text": "ุฃู†ุง ุจุฎHere's the complete code to prepare and upload a translation dataset to Hugging Face using the datasets library:

from datasets import Dataset

# Prepare your data
data = [
    {"source_text": "Hello, how are you?", "target_text": "ู…ุฑุญุจุง ูƒูŠู ุญุงู„ูƒุŸ"},
    {"source_text": "I am fine, thank you.", "target_text": "ุฃู†ุง ุจุฎูŠุฑุŒ ุดูƒุฑุงู‹ ู„ูƒ."},
    {"source_text": "What is your name?", "target_text": "ู…ุง ู‡ูˆ ุงุณู…ูƒุŸ"},
    ...
]

# Convert your data into a format compatible with Hugging Face
dataset = Dataset.from_dict(data)
dataset = dataset.rename_column("source_text", "input_text")
dataset = dataset.rename_column("target_text", "target_text")

# Upload your data to Hugging Face
dataset.save_to_disk("translation_dataset")

---
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support