diff --git a/Multi-NLI/mnli.ipynb b/Multi-NLI/mnli.ipynb new file mode 100644 index 0000000..d102fe2 --- /dev/null +++ b/Multi-NLI/mnli.ipynb @@ -0,0 +1,293 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "9b221552", + "metadata": {}, + "outputs": [], + "source": [ + "# This notebook demonstrates creating a deeplake datset from Multi NLI dataset from hugging face" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "30aec245", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Found cached dataset glue (C:/Users/USER/.cache/huggingface/datasets/glue/mnli/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96da6053ad)\n" + ] + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "9286ae02cebb44de805c42ae5a96a140", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + " 0%| | 0/5 [00:00\n", + " " + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "# This would help us visualize our dataset\n", + "ds.visualize()" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "id": "18626edf", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(array(['you know during the season and i guess at at your level uh you lose them to the next level if if they decide to recall the the parent team the Braves decide to call to recall a guy from triple A then a double A guy goes up to replace him and a single A guy goes up to replace him'],\n", + " dtype='