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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

jphme
/
em_german_70b_v01_gguf

Text Generation
Transformers
GGUF
PyTorch
German
german
deutsch
llama2
meta
facebook
Model card Files Files and versions
xet
Community

Instructions to use jphme/em_german_70b_v01_gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jphme/em_german_70b_v01_gguf with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="jphme/em_german_70b_v01_gguf")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("jphme/em_german_70b_v01_gguf", dtype="auto")
  • llama-cpp-python

    How to use jphme/em_german_70b_v01_gguf with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="jphme/em_german_70b_v01_gguf",
    	filename="em_german_70b_v01_Q4_K_M.gguf",
    )
    
    output = llm(
    	"Once upon a time,",
    	max_tokens=512,
    	echo=True
    )
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use jphme/em_german_70b_v01_gguf with llama.cpp:

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

    How to use jphme/em_german_70b_v01_gguf with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "jphme/em_german_70b_v01_gguf"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "jphme/em_german_70b_v01_gguf",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/jphme/em_german_70b_v01_gguf:Q4_K_M
  • SGLang

    How to use jphme/em_german_70b_v01_gguf with SGLang:

    Install from pip and serve model
    # Install SGLang from pip:
    pip install sglang
    # Start the SGLang server:
    python3 -m sglang.launch_server \
        --model-path "jphme/em_german_70b_v01_gguf" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "jphme/em_german_70b_v01_gguf",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker images
    docker run --gpus all \
        --shm-size 32g \
        -p 30000:30000 \
        -v ~/.cache/huggingface:/root/.cache/huggingface \
        --env "HF_TOKEN=<secret>" \
        --ipc=host \
        lmsysorg/sglang:latest \
        python3 -m sglang.launch_server \
            --model-path "jphme/em_german_70b_v01_gguf" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "jphme/em_german_70b_v01_gguf",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Ollama

    How to use jphme/em_german_70b_v01_gguf with Ollama:

    ollama run hf.co/jphme/em_german_70b_v01_gguf:Q4_K_M
  • Unsloth Studio

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

    How to use jphme/em_german_70b_v01_gguf with Docker Model Runner:

    docker model run hf.co/jphme/em_german_70b_v01_gguf:Q4_K_M
  • Lemonade

    How to use jphme/em_german_70b_v01_gguf with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull jphme/em_german_70b_v01_gguf:Q4_K_M
    Run and chat with the model
    lemonade run user.em_german_70b_v01_gguf-Q4_K_M
    List all available models
    lemonade list
em_german_70b_v01_gguf
177 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
jphme's picture
jphme
update readme
c5e4545 over 2 years ago
  • .gitattributes
    1.78 kB
    em_german_70b_v01_Q5_K_M over 2 years ago
  • README.md
    9.11 kB
    update readme over 2 years ago
  • em_german_70b_v01_Q4_K_M.gguf
    41.4 GB
    xet
    initial commit over 2 years ago
  • em_german_70b_v01_Q5_K_M.gguf
    48.8 GB
    xet
    em_german_70b_v01_Q5_K_M over 2 years ago
  • em_german_70b_v01_Q5_K_S.gguf
    47.5 GB
    xet
    em_german_70b_v01_Q5_K_S over 2 years ago
  • em_german_70b_v02_Q4_K_S.gguf
    39.1 GB
    xet
    initial commit over 2 years ago
  • em_model_logo_web.jpeg
    54.3 kB
    update readme over 2 years ago