Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

LazyCatAI
/
llama-3-8b-test

PEFT
Safetensors
GGUF
conversational
Model card Files Files and versions
xet
Community

Instructions to use LazyCatAI/llama-3-8b-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use LazyCatAI/llama-3-8b-test with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B")
    model = PeftModel.from_pretrained(base_model, "LazyCatAI/llama-3-8b-test")
  • llama-cpp-python

    How to use LazyCatAI/llama-3-8b-test with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="LazyCatAI/llama-3-8b-test",
    	filename="llama-3-8b-lazy.gguf",
    )
    
    llm.create_chat_completion(
    	messages = "No input example has been defined for this model task."
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use LazyCatAI/llama-3-8b-test with llama.cpp:

    Install from brew
    brew install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf LazyCatAI/llama-3-8b-test
    # Run inference directly in the terminal:
    llama-cli -hf LazyCatAI/llama-3-8b-test
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf LazyCatAI/llama-3-8b-test
    # Run inference directly in the terminal:
    llama-cli -hf LazyCatAI/llama-3-8b-test
    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 LazyCatAI/llama-3-8b-test
    # Run inference directly in the terminal:
    ./llama-cli -hf LazyCatAI/llama-3-8b-test
    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 LazyCatAI/llama-3-8b-test
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf LazyCatAI/llama-3-8b-test
    Use Docker
    docker model run hf.co/LazyCatAI/llama-3-8b-test
  • LM Studio
  • Jan
  • Ollama

    How to use LazyCatAI/llama-3-8b-test with Ollama:

    ollama run hf.co/LazyCatAI/llama-3-8b-test
  • Unsloth Studio new

    How to use LazyCatAI/llama-3-8b-test 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 LazyCatAI/llama-3-8b-test 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 LazyCatAI/llama-3-8b-test to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for LazyCatAI/llama-3-8b-test to start chatting
  • Docker Model Runner

    How to use LazyCatAI/llama-3-8b-test with Docker Model Runner:

    docker model run hf.co/LazyCatAI/llama-3-8b-test
  • Lemonade

    How to use LazyCatAI/llama-3-8b-test with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull LazyCatAI/llama-3-8b-test
    Run and chat with the model
    lemonade run user.llama-3-8b-test-{{QUANT_TAG}}
    List all available models
    lemonade list
llama-3-8b-test
32.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
LazyCatAI's picture
LazyCatAI
Upload llama-3-8b-lazy.gguf
2801c1f verified about 2 years ago
  • .gitattributes
    1.58 kB
    Upload llama-3-8b-lazy.gguf about 2 years ago
  • README.md
    5.1 kB
    Upload 9 files about 2 years ago
  • adapter_config.json
    724 Bytes
    Upload 9 files about 2 years ago
  • adapter_model.safetensors
    89.5 MB
    xet
    Upload 9 files about 2 years ago
  • llama-3-8b-lazy.gguf
    32.1 GB
    xet
    Upload llama-3-8b-lazy.gguf about 2 years ago
  • optimizer.pt

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    179 MB
    xet
    Upload 9 files about 2 years ago
  • rng_state.pth

    Detected Pickle imports (7)

    • "torch._utils._rebuild_tensor_v2",
    • "_codecs.encode",
    • "torch.ByteStorage",
    • "numpy.core.multiarray._reconstruct",
    • "numpy.ndarray",
    • "numpy.dtype",
    • "collections.OrderedDict"

    How to fix it?

    14.2 kB
    xet
    Upload 9 files about 2 years ago
  • scheduler.pt

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    1.06 kB
    xet
    Upload 9 files about 2 years ago
  • special_tokens_map.json
    335 Bytes
    Upload 9 files about 2 years ago
  • tokenizer.json
    9.09 MB
    Upload 9 files about 2 years ago
  • tokenizer_config.json
    51.1 kB
    Upload 9 files about 2 years ago