You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

CS781-Fall 2026 IIT-Kanpur

Instructor: Dr. Ashutosh Modi

Assignment-1

There are 5 main tasks in Assignment-1:

  1. Explore Zipf's Law for multilingual data.
  2. N-gram language modeling.
  3. Neural Network Implementation from Scratch for Word2Vec for English-Hindi mixed corpora.
  4. Neural Network Language Model from scratch for English-Hindi mixed corpora.
  5. Byte-Pair encoding for subword tokenization and training a NLM model on the same.

The data can be fetched using the datasets API as follows:

from datasets import load_dataset

# Assignment-1 Dataset
train = load_dataset("Exploration-Lab/CS781", data_files={"train": "Assignment-1/train.parquet"}, split="train", token=token)
val = load_dataset("Exploration-Lab/CS781", data_files={"val": "Assignment-1/validation.parquet"}, split="val", token=token)
test_en = load_dataset("Exploration-Lab/CS781", data_files={"en": "Assignment-1/analogy_test_en.parquet"}, split="en", token=token)
test_hi = load_dataset("Exploration-Lab/CS781", data_files={"hi": "Assignment-1/analogy_test_hi.parquet"}, split="hi", token=token)
Downloads last month
874