CS781 / README.md
Divyaksh's picture
Update README.md
971d671 verified
|
Raw
History Blame Contribute Delete
1.61 kB
metadata
license: cc-by-nc-nd-4.0
configs:
  - config_name: default
    data_files:
      - split: train
        path: cs781_dataset/train.csv
      - split: test
        path: cs781_dataset/test.csv
  - config_name: Assignment-1
    data_files:
      - split: train
        path: Assignment-1/train.parquet
      - split: val
        path: Assignment-1/validation.parquet

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)