← Back to index
microsoft/phi-2
Inference API (serverless) is disabled for an unknown reason. Please open a Discussion in the Community tab.
			{
  "_id": "657a1fff16886e681230c05a",
  "id": "microsoft/phi-2",
  "private": false,
  "pipeline_tag": "text-generation",
  "library_name": "transformers",
  "tags": [
    "transformers",
    "safetensors",
    "phi",
    "text-generation",
    "nlp",
    "code",
    "en",
    "license:mit",
    "autotrain_compatible",
    "text-generation-inference",
    "endpoints_compatible",
    "region:us"
  ],
  "downloads": 307810,
  "likes": 3297,
  "modelId": "microsoft/phi-2",
  "author": "microsoft",
  "sha": "ef382358ec9e382308935a992d908de099b64c23",
  "lastModified": "2024-04-29T16:25:56.000Z",
  "gated": false,
  "disabled": false,
  "widgetData": [
    {
      "text": "My name is Julien and I like to"
    },
    {
      "text": "I like traveling by train because"
    },
    {
      "text": "Paris is an amazing place to visit,"
    },
    {
      "text": "Once upon a time,"
    }
  ],
  "model-index": null,
  "config": {
    "architectures": [
      "PhiForCausalLM"
    ],
    "model_type": "phi",
    "tokenizer_config": {
      "bos_token": "<|endoftext|>",
      "eos_token": "<|endoftext|>",
      "unk_token": "<|endoftext|>"
    }
  },
  "cardData": {
    "license": "mit",
    "license_link": "https://huggingface.co/microsoft/phi-2/resolve/main/LICENSE",
    "language": [
      "en"
    ],
    "pipeline_tag": "text-generation",
    "tags": [
      "nlp",
      "code"
    ]
  },
  "transformersInfo": {
    "auto_model": "AutoModelForCausalLM",
    "pipeline_tag": "text-generation",
    "processor": "AutoTokenizer"
  },
  "siblings": [
    {
      "rfilename": ".gitattributes"
    },
    {
      "rfilename": "CODE_OF_CONDUCT.md"
    },
    {
      "rfilename": "LICENSE"
    },
    {
      "rfilename": "NOTICE.md"
    },
    {
      "rfilename": "README.md"
    },
    {
      "rfilename": "SECURITY.md"
    },
    {
      "rfilename": "added_tokens.json"
    },
    {
      "rfilename": "config.json"
    },
    {
      "rfilename": "generation_config.json"
    },
    {
      "rfilename": "merges.txt"
    },
    {
      "rfilename": "model-00001-of-00002.safetensors"
    },
    {
      "rfilename": "model-00002-of-00002.safetensors"
    },
    {
      "rfilename": "model.safetensors.index.json"
    },
    {
      "rfilename": "special_tokens_map.json"
    },
    {
      "rfilename": "tokenizer.json"
    },
    {
      "rfilename": "tokenizer_config.json"
    },
    {
      "rfilename": "vocab.json"
    }
  ],
  "spaces": [
    "akhaliq/anycoder",
    "eduagarcia/open_pt_llm_leaderboard",
    "LanguageBind/MoE-LLaVA",
    "radames/Candle-phi1-phi2-wasm-demo",
    "mlabonne/phixtral-chat",
    "logikon/open_cot_leaderboard",
    "Sarath0x8f/Document-QA-bot",
    "KBaba7/Quant",
    "allenai/URIAL-Bench",
    "randomblock1/phi-2",
    "mPLUG/TinyChart-3B",
    "AIM-Harvard/rabbits-leaderboard",
    "prometheus-eval/BiGGen-Bench-Leaderboard",
    "Justinrune/LLaMA-Factory",
    "ROHAN181/pdf-chatbot",
    "Gosula/ai_chatbot_phi2model_qlora",
    "yhavinga/dutch-tokenizer-arena",
    "cot-leaderboard/open-cot-dashboard",
    "xzuyn/Token-Count-Comparison",
    "quantpi/llm-assessments",
    "kenken999/fastapi_django_main_live",
    "concedo/WebTokenizer",
    "alKoGolik/codellama-CodeLlama-7b-hf",
    "awacke1/Deepseek-HPC-GPU-KEDA",
    "bhaskartripathi/LLM_Quantization",
    "PeepDaSlan9/microsoft-phi-2",
    "PeepDaSlan9/B2BMGMT_Candle-phi1-phi2-wasm-demo",
    "LixoHumano/microsoft-phi-2",
    "officialhimanshu595/llama-factory",
    "RaviNaik/MultiModal-Phi2",
    "Pavan178/pdf-chatbot",
    "luigi12345/AutoInterpreter",
    "totolook/Quant",
    "FallnAI/Quantize-HF-Models",
    "Annorita/tokenizer_comparison",
    "santuchal/pdf_chat_bot",
    "mehdirab/ResumeParser",
    "li-qing/FIRE",
    "cstr/PDF-Summarizer",
    "Sijuade/AIChatAssistantPhi2",
    "henry2024/ARIN_7102",
    "Sijuade/MLM-CLIP-PHI-2-LLAVA-chatbot",
    "ali121300/pdf_chat_bot",
    "Sambhavnoobcoder/pdf-chatbot",
    "Alfasign/pdf-chatbot-opensource-llm",
    "Nymbo/LangHub",
    "Somnath3570/Voyage_AI",
    "cpu4dream/llava-small-open-elm-aimv2",
    "Taranosaurus/Tokenizaminer",
    "RaviNaik/ERA-SESSION27",
    "eaglelandsonce/Phi-2-Hackathon-MVP",
    "awacke1/MS-Phi-Phixtral-Chat",
    "Solshine/LEAP-phi-2-agentic-chatbot",
    "HoneyCombAILearning/Phi-2-Teachers-Pet",
    "jijivski/FreshBench",
    "MasterMohan/PDFChat",
    "namanroxx/pdf-chatbot",
    "eaglelandsonce/Breaking-Free-Hackathon",
    "pratik-aivantage/open-domain-qa",
    "awacke1/PDF-Document-QA-Chatbot",
    "Ashmal/MobiLlama",
    "anubhav100rao/pdf-chatbot",
    "ZMaxAIru/microsoft-phi-2",
    "ruslanmv/convert_to_gguf",
    "Akshayram1/vit",
    "NCTCMumbai/nctc-pdf-chatbot",
    "KABURAKURIA/chat_with_pdf",
    "Jeff28/CipherReadPDF",
    "sagar007/phi2_finetune",
    "Veerammal/Pdf_chatbot_for_CBSE",
    "Tongbo/flashsloth",
    "DHEIVER/pdfchatbot",
    "Steven10429/apply_lora_and_quantize",
    "padmanabhbosamia/Phi2_Qlora",
    "ShoaibShariff/Shoaib.ai",
    "Warrior-Alpha/Alpha-Phi",
    "Warrior-Alpha/OpenSee-phi",
    "Santhosh1705kumar/conversational-image-recognition-chatbot",
    "S1131/Fin-Bot-2.0",
    "PhoenixDecim/slm_financial_rag",
    "ikraamkb/DataVisualization",
    "jelly-bea/remote-health",
    "ikraamkb/qtAnswering",
    "Kuberwastaken/PolyThink-Alpha",
    "padmanabhbosamia/phi2-grpo",
    "shrimantasatpati/Microsoft_Phi2_Streamlit",
    "sanjanatule/FinetunedPhi2",
    "mkthoma/Phi2_Chatbot",
    "mittalneha/QLoRA_Ask_Me_Something",
    "jvaddi/qlora_ai_assistant",
    "RUILONG001/phi-2",
    "ToletiSri/TSAI_S27",
    "neuralorbs/phi2-dialog-partner",
    "RashiAgarwal/phi2-tsai",
    "piyushgrover/PhiGPT",
    "TharunSivamani/phi-2-oasst1",
    "VarunSivamani/oasst1-Phi2",
    "Veer15/Candle-phi1-phi2-wasm-demo",
    "MadhurGarg/phi2-tsai",
    "svaddi/QLORA"
  ],
  "createdAt": "2023-12-13T21:19:59.000Z",
  "safetensors": {
    "parameters": {
      "F16": 2779683840
    },
    "total": 2779683840
  },
  "inference": "warm",
  "usedStorage": 11125567216
}