Datasets:
messages list | id string | record_type string |
|---|---|---|
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644156 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644129 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644174 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644237 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009354 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644245 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644252 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009367 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_060779 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644254 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009376 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_047269 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_048558 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009378 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_047990 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_048559 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009361 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009350 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009365 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_061669 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009355 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644247 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_0048545 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_048557 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_0047268 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644128 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_048563 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644236 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009377 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009371 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_048548 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009363 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_047274 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009358 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_046753 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009346 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_053558 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009375 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_009368 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644259 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_048566 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644257 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_046751 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written.\n- D... | D_D_540_5493_644173 | D |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_046754 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_053559 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_053564 | B |
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "You are an expert OCR system specialized in reading handwritten Kannada text from historical birth/death register documents.\n\nPRIMARY GOAL: faithfully read the KANNADA handwriting.\n- Preserve Kannada script exactly as written... | B_B_540_5493_0046750 | B |
End of preview. Expand in Data Studio
Kannada OCR Fine-Tuning Dataset
Fine-tuning dataset for training vision-language models to read handwritten Kannada text from historical birth and death register images.
Dataset Description
This dataset pairs scanned register page images with structured JSON ground truth extracted from verified source data. The goal is to fine-tune a model that can look at a register page and output the correct field values for every row on that page.
Source
- Region: Haveri district, Karnataka, India
- Document Type: Historical birth and death registers
- Page Sizes: A3 and A5 scanned pages
- Language: Handwritten Kannada script
Dataset Statistics
| Split | Images | Records |
|---|---|---|
| Train | 119 | 404 |
| Val | 13 | 46 |
| Total | 132 | 450 |
Note: Birth register pages often contain multiple rows (~4.4 rows/page average), while death pages typically have 1 row each.
Data Format
Each sample contains:
- User message: Image + OCR prompt
- Assistant message: Ground-truth JSON
Birth Record Fields (8 fields)
reg_no: Registration serial numberb_dob: Date of birth (YYYY-MM-DD)gender: M or Fb_baby_nme_kn: Baby's name in Kannadab_father_kn: Father's name in Kannadamother_namekn: Mother's name in Kannadainfo_name_kn: Informant's name in Kannadainfo_details: Informant relationship/address
Death Record Fields (10 fields)
reg_no: Registration serial numberd_dod: Date of death (YYYY-MM-DD)gender: M or Fage: Age at deathd_deceased_nme_kn: Deceased's name in Kannadad_father_kn: Father's name in Kannadad_h_w_name_kn: Husband/wife's name in Kannadamother_namekn: Mother's name in Kannadainfo_name_kn: Informant's name in Kannadainfo_details: Informant relationship/address
Usage
from datasets import load_dataset
from PIL import Image
# Load the dataset
dataset = load_dataset("YOUR_USERNAME/kannada-ocr-dataset")
# Access a sample
sample = dataset["train"][0]
print(sample["messages"])
For Vision Model Fine-tuning
import json
from pathlib import Path
from PIL import Image
from datasets import load_dataset
dataset = load_dataset("YOUR_USERNAME/kannada-ocr-dataset")
def load_sample_with_image(sample, dataset_path):
"""Load sample and convert image path to PIL Image."""
for msg in sample["messages"]:
if msg["role"] == "user":
for part in msg["content"]:
if part["type"] == "image":
img_path = Path(dataset_path) / part["image"]
part["image"] = Image.open(img_path).convert("RGB")
return sample
Training Recommendations
- Use
max_length=8192(multi-record JSON responses are long) - Use
num_train_epochs=3-5 - Start with birth records only to validate pipeline
- A100 40GB recommended for Gemma 3 Vision fine-tuning
License
CC-BY-4.0
- Downloads last month
- 235