metadata
license: cc-by-nc-nd-4.0
dataset_info:
- config_name: default
features:
- name: text
dtype: string
splits:
- name: train
num_bytes: 678202759.44
num_examples: 27000
- name: val
num_bytes: 75355862.16
num_examples: 3000
- name: test
num_bytes: 188389655.4
num_examples: 7500
download_size: 520788766
dataset_size: 941948277
- config_name: email-corpus
features:
- name: file
dtype: string
- name: message
dtype: string
splits:
- name: train
num_bytes: 1424661264
num_examples: 517401
download_size: 606473179
dataset_size: 1424661264
- config_name: indic-corpus
features:
- name: lang_id
dtype: string
- name: text
dtype: string
splits:
- name: train
num_bytes: 242818701
num_examples: 11
download_size: 105665834
dataset_size: 242818701
- config_name: wiki-topics
features:
- name: article
dtype: string
- name: category
dtype: string
- name: text
dtype: string
- name: __index_level_0__
dtype: int64
splits:
- name: train
num_bytes: 338290047
num_examples: 8000
- name: test
num_bytes: 84610785
num_examples: 2000
download_size: 236620494
dataset_size: 422900832
- config_name: Assignment-3-word2vec
features:
- name: text
dtype: string
splits:
- name: train
num_bytes: 310949152
num_examples: 1801350
- name: val
num_bytes: 652699
num_examples: 3760
download_size: 311601851
dataset_size: 311601851
- config_name: Assignment-3-naive-bayes
features:
- name: text
dtype: string
- name: category
dtype: string
splits:
- name: train
num_bytes: 690247310
num_examples: 8000
- name: test
num_bytes: 171875690
num_examples: 2000
download_size: 862123000
dataset_size: 862123000
- config_name: Assignment-3-em
features:
- name: text
dtype: string
- name: category
dtype: string
splits:
- name: train
num_bytes: 683095685
num_examples: 8000
- name: test
num_bytes: 171875690
num_examples: 2000
download_size: 854971375
dataset_size: 854971375
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: val
path: data/val-*
- split: test
path: data/test-*
- config_name: email-corpus
data_files:
- split: train
path: email-corpus/train-*
- config_name: indic-corpus
data_files:
- split: train
path: indic-corpus/train-*
- config_name: wiki-topics
data_files:
- split: train
path: wiki-topics/train-*
- split: test
path: wiki-topics/test-*
- config_name: Assignment-3-word2vec
data_files:
- split: train
path: Assignment-3/word2vec/train*
- split: val
path: Assignment-3/word2vec/validation*
- config_name: Assignment-3-naive-bayes
data_files:
- split: train
path: Assignment-3/naive_bayes/train*
- split: test
path: Assignment-3/naive_bayes/test*
- config_name: Assignment-3-em
data_files:
- split: train
path: Assignment-3/em/train*
- split: test
path: Assignment-3/em/test*
CS779-Fall 2025 IIT-Kanpur
Instructor: Dr. Ashutosh Modi
Assignment-3
There are 3 main tasks in Assignment-3:
- Neural Network Implementation from Scratch for Word2Vec using Wikipedia Text
- Naive Bayes Classifier for Topic classification on Wikipedia Articles
- Expectation-Maximization Based clustering on Wikipedia Articles
The data can be fetched using the datasets API as follows:
from datasets import load_dataset
# Word2Vec Dataset
word2vec_train = load_dataset("Exploration-Lab/CS779-Fall25", "Assignment-3-word2vec", split="train")
word2vec_val = load_dataset("Exploration-Lab/CS779-Fall25", "Assignment-3-word2vec", split="val")
# Naive Bayes
naive_bayes_train = load_dataset("Exploration-Lab/CS779-Fall25", "Assignment-3-naive-bayes", split="train")
naive_bayes_test = load_dataset("Exploration-Lab/CS779-Fall25", "Assignment-3-naive-bayes", split="test")
# Expectation-Maximization
em_train = load_dataset("Exploration-Lab/CS779-Fall25", "Assignment-3-em", split="train")
em_test = load_dataset("Exploration-Lab/CS779-Fall25", "Assignment-3-em", split="test")