{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.12.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"nvidiaTeslaT4","dataSources":[],"dockerImageVersionId":31286,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":true}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"!pip install datasets evaluate sacrebleu rouge-score bert-score -q","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2026-04-13T14:14:11.622000Z","iopub.execute_input":"2026-04-13T14:14:11.622715Z","iopub.status.idle":"2026-04-13T14:14:16.140334Z","shell.execute_reply.started":"2026-04-13T14:14:11.622665Z","shell.execute_reply":"2026-04-13T14:14:16.139284Z"}},"outputs":[{"name":"stdout","text":"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m84.1/84.1 kB\u001b[0m \u001b[31m6.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m100.8/100.8 kB\u001b[0m \u001b[31m4.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.1/61.1 kB\u001b[0m \u001b[31m4.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25h","output_type":"stream"}],"execution_count":17},{"cell_type":"code","source":"!pip install sentence-transformers -q","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-04-13T14:14:20.422711Z","iopub.execute_input":"2026-04-13T14:14:20.423409Z","iopub.status.idle":"2026-04-13T14:14:24.046218Z","shell.execute_reply.started":"2026-04-13T14:14:20.423372Z","shell.execute_reply":"2026-04-13T14:14:24.045336Z"}},"outputs":[],"execution_count":18},{"cell_type":"code","source":"!pip install evaluate sacrebleu rouge-score meteor-score -q","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-04-07T13:58:26.404687Z","iopub.execute_input":"2026-04-07T13:58:26.405469Z","iopub.status.idle":"2026-04-07T13:58:27.833303Z","shell.execute_reply.started":"2026-04-07T13:58:26.405432Z","shell.execute_reply":"2026-04-07T13:58:27.832472Z"}},"outputs":[{"name":"stdout","text":"\u001b[31mERROR: Could not find a version that satisfies the requirement meteor-score (from versions: none)\u001b[0m\u001b[31m\n\u001b[0m\u001b[31mERROR: No matching distribution found for meteor-score\u001b[0m\u001b[31m\n\u001b[0m","output_type":"stream"}],"execution_count":4},{"cell_type":"code","source":"from datasets import load_dataset\n\ndataset = load_dataset(\"ai4bharat/IndicMTEval\")\n\nprint(dataset)","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-04-07T13:57:56.518338Z","iopub.execute_input":"2026-04-07T13:57:56.518674Z","iopub.status.idle":"2026-04-07T13:58:04.179446Z","shell.execute_reply.started":"2026-04-07T13:57:56.518651Z","shell.execute_reply":"2026-04-07T13:58:04.178522Z"}},"outputs":[{"output_type":"display_data","data":{"text/plain":"README.md: 0.00B [00:00, ?B/s]","application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"bbf79717c7914d9bb57bd0544da75508"}},"metadata":{}},{"name":"stderr","text":"Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.\n","output_type":"stream"},{"output_type":"display_data","data":{"text/plain":"data/test-00000-of-00001.parquet: 0%| | 0.00/498k [00:00