Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vishanoberoi
/
Llama-2-7b-chat-hf-finedtuned-to-GGUF

Question Answering
Transformers
GGUF
English
llama
Finetuning
conversational
Model card Files Files and versions
xet
Community
1

Instructions to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF", device_map="auto")
  • llama-cpp-python

    How to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF",
    	filename="finetuned-16b.gguf",
    )
    
    llm.create_chat_completion(
    	messages = "{\n    \"question\": \"What is my name?\",\n    \"context\": \"My name is Clara and I live in Berkeley.\"\n}"
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    # Run inference directly in the terminal:
    llama cli -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    # Run inference directly in the terminal:
    llama cli -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    # Run inference directly in the terminal:
    ./llama-cli -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    Use Docker
    docker model run hf.co/vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
  • LM Studio
  • Jan
  • Ollama

    How to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with Ollama:

    ollama run hf.co/vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
  • Unsloth Studio

    How to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with Docker Model Runner:

    docker model run hf.co/vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
  • Lemonade

    How to use vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull vishanoberoi/Llama-2-7b-chat-hf-finedtuned-to-GGUF
    Run and chat with the model
    lemonade run user.Llama-2-7b-chat-hf-finedtuned-to-GGUF-{{QUANT_TAG}}
    List all available models
    lemonade list
Llama-2-7b-chat-hf-finedtuned-to-GGUF
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
vishanoberoi's picture
vishanoberoi
Upload finetuned.gguf with huggingface_hub
9f47105 verified over 2 years ago
  • .gitattributes
    1.57 kB
    Upload finetuned.gguf with huggingface_hub over 2 years ago
  • finetuned.gguf
    7.16 GB
    xet
    Upload finetuned.gguf with huggingface_hub over 2 years ago