|
Download README.md from Exploration-Lab/CS781: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/datasets/Exploration-Lab/CS781/resolve/main/README.md
- Command line
-
hf download hf://datasets/Exploration-Lab/CS781/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/Exploration-Lab/CS781/resolve/main/README.md
1.72 kB
| 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 | |
| # - config_name: Assignment-1-analogy | |
| # data_files: | |
| # - split: en | |
| # path: Assignment-1/analogy_test_en.parquet | |
| # - split: hi | |
| # path: Assignment-1/analogy_test_hi.parquet | |
| # CS781-Fall 2026 IIT-Kanpur | |
| Instructor: Dr. Ashutosh Modi | |
| ## Assignment-3 | |
| Use the `download_data.py` file in the Student Package to download the data for this assignment | |
| ## 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: | |
| ```python | |
| 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) | |
| ``` |