{ "cells": [ { "cell_type": "code", "execution_count": null, "id": "890a4b2a-0657-4c5c-8e01-a43dc1ef9c83", "metadata": { "id": "890a4b2a-0657-4c5c-8e01-a43dc1ef9c83", "outputId": "28e04e99-9bef-4fdc-c68c-662555fdb576" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Collecting huggingface_hub\n", " Downloading huggingface_hub-0.27.1-py3-none-any.whl.metadata (13 kB)\n", "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (3.9.0)\n", "Collecting fsspec>=2023.5.0 (from huggingface_hub)\n", " Downloading fsspec-2024.12.0-py3-none-any.whl.metadata (11 kB)\n", "Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (23.2)\n", "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (6.0.1)\n", "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (2.31.0)\n", "Collecting tqdm>=4.42.1 (from huggingface_hub)\n", " Downloading tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m57.7/57.7 kB\u001b[0m \u001b[31m989.8 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m \u001b[36m0:00:01\u001b[0m\n", "\u001b[?25hRequirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (4.4.0)\n", "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (2.1.1)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (3.4)\n", "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (1.26.13)\n", "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (2022.12.7)\n", "Downloading huggingface_hub-0.27.1-py3-none-any.whl (450 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m450.7/450.7 kB\u001b[0m \u001b[31m4.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n", "\u001b[?25hDownloading fsspec-2024.12.0-py3-none-any.whl (183 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m183.9/183.9 kB\u001b[0m \u001b[31m25.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hDownloading tqdm-4.67.1-py3-none-any.whl (78 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m78.5/78.5 kB\u001b[0m \u001b[31m27.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hInstalling collected packages: tqdm, fsspec, huggingface_hub\n", " Attempting uninstall: fsspec\n", " Found existing installation: fsspec 2023.4.0\n", " Uninstalling fsspec-2023.4.0:\n", " Successfully uninstalled fsspec-2023.4.0\n", "Successfully installed fsspec-2024.12.0 huggingface_hub-0.27.1 tqdm-4.67.1\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0m\n", "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m23.3.1\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m24.3.1\u001b[0m\n", "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpython -m pip install --upgrade pip\u001b[0m\n" ] } ], "source": [ "!pip install huggingface_hub" ] }, { "cell_type": "code", "execution_count": null, "id": "y1jMmutu5wf2", "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 17, "referenced_widgets": [ "dad45200574140679f77e614057581a2", "7944e5586186430f951e1802254d865d", "30c87d646e28481a846b1ea040caa54c", "31841621f67f4825ba987985fb24652c", "c774990d583b4b9c85e907467d61bd19", "9718ec54e68e4e92b77508a4678e216a", "5a6acd0687f046b9837f4a2c8c7caba4", "1dddad2ebd0a40fa82d1be41c5b43b35", "3b3a0ea44cd545b8ab9f23059ad3a4a8", "da7de6d193af4834a97fec1081934358", "eb21aee5f018426fa760038cf033e3b3", "bf1d288c3e3e4440956d46cf75010a47", "65b4826a7fe6428e82e4ffe9ebd85cc9", "7ec1e629c682494a8da2b65659069b26", "1059dbeec35c40f6a46b614d7bbdb8a6", "f43fb8b3fd664068b11927ed5dc07dc9", "08b4a516ddce453cb810945912d1b4ef", "a32d4044929141f481e5dc204fcdd704", "9daf3ea53618493e95396bdbf9e67c06", "27fb032a74644c328ab0528d092321af", "b633f266a001445390a18cd0253f5f09" ] }, "id": "y1jMmutu5wf2", "outputId": "b456c8d8-79a0-410e-eae5-9ded7ff7dd58" }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "b633f266a001445390a18cd0253f5f09", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HTML(value='
\n", " | Input | \n", "Output | \n", "
---|---|---|
0 | \n", "Can form 49B be filled on a typewriter? | \n", "Yes. But typing should be in capital letters ... | \n", "
1 | \n", "क्या भाषा आधारित अल्पसंख्यकों के लिए विशेष अधि... | \n", "भाषाई अल्पसंख्यकों के विशेष अधिकारी की भूमिका ... | \n", "
2 | \n", "क्या एक अध्यादेश संघ क्षेत्र की विधान सभा द्वा... | \n", "नहीं, एक अध्यादेश संघ क्षेत्र की विधान सभा द्व... | \n", "
3 | \n", "Can a law made under clause (1) establish a hi... | \n", "Yes, a law made under clause (1) can establish... | \n", "
4 | \n", "What is the speed limit for electric scooters ... | \n", "The speed limit for electric scooters in India... | \n", "
... | \n", "... | \n", "... | \n", "
32716 | \n", "What is the Constitutional mandate of the Unio... | \n", "Union Public Service Commission is a Constitut... | \n", "
32717 | \n", "मैंने क्रेडिट/डेबिट कार्ड के जरिए कई बार भुगता... | \n", "हाँ, आवेदन नंबर के खिलाफ किए गए अतिरिक्त भुगता... | \n", "
32718 | \n", "मैं अपनी ऑनलाइन भर्ती आवेदन (ORA) को पूरा करने... | \n", "कृपया इस प्रकार आगे बढ़ें:- चरण 1 - सुनिश्चित ... | \n", "
32719 | \n", "क्या एक अधिकारी जिसकी ईमानदारी प्रमाणपत्र राज्... | \n", "नहीं। | \n", "
32720 | \n", "अगर फोटो इच्छित प्रारूप में नहीं है, तो मैं इस... | \n", "यदि छवि किसी अन्य प्रारूप में है जैसे .tiff, .... | \n", "
32721 rows × 2 columns
\n", "Step | \n", "Training Loss | \n", "
---|---|
100 | \n", "1.150100 | \n", "
200 | \n", "1.058200 | \n", "
300 | \n", "1.036000 | \n", "
"
],
"text/plain": [
"
Copy a token from your Hugging Face\ntokens page and paste it below.
Immediately click login after copying\nyour token or it might be stored in plain text in this notebook file.