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

mirekphd
/
gte-Qwen2-7B-instruct-Q8_0

Sentence Similarity
sentence-transformers
GGUF
Transformers
mteb
Qwen2
llama-cpp
conversational
Model card Files Files and versions
xet
Community

Instructions to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mirekphd/gte-Qwen2-7B-instruct-Q8_0")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("mirekphd/gte-Qwen2-7B-instruct-Q8_0", dtype="auto")
  • llama-cpp-python

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="mirekphd/gte-Qwen2-7B-instruct-Q8_0",
    	filename="gte-Qwen2-7B-instruct-Q8_0-00001-of-00008.gguf",
    )
    
    llm.create_chat_completion(
    	messages = "{\n    \"source_sentence\": \"That is a happy person\",\n    \"sentences\": [\n        \"That is a happy dog\",\n        \"That is a very happy person\",\n        \"Today is a sunny day\"\n    ]\n}"
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with llama.cpp:

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

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with Ollama:

    ollama run hf.co/mirekphd/gte-Qwen2-7B-instruct-Q8_0:Q8_0
  • Unsloth Studio

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 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 mirekphd/gte-Qwen2-7B-instruct-Q8_0 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 mirekphd/gte-Qwen2-7B-instruct-Q8_0 to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for mirekphd/gte-Qwen2-7B-instruct-Q8_0 to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with Docker Model Runner:

    docker model run hf.co/mirekphd/gte-Qwen2-7B-instruct-Q8_0:Q8_0
  • Lemonade

    How to use mirekphd/gte-Qwen2-7B-instruct-Q8_0 with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull mirekphd/gte-Qwen2-7B-instruct-Q8_0:Q8_0
    Run and chat with the model
    lemonade run user.gte-Qwen2-7B-instruct-Q8_0-Q8_0
    List all available models
    lemonade list
gte-Qwen2-7B-instruct-Q8_0
8.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
mirekphd's picture
mirekphd
Fixed README file.
3feba17 over 1 year ago
  • .gitattributes
    2.18 kB
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • README.md
    11.7 kB
    Fixed README file. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00001-of-00008.gguf
    1.06 GB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00002-of-00008.gguf
    1.01 GB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00003-of-00008.gguf
    1.02 GB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00004-of-00008.gguf
    1.03 GB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00005-of-00008.gguf
    991 MB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00006-of-00008.gguf
    991 MB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00007-of-00008.gguf
    991 MB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago
  • gte-Qwen2-7B-instruct-Q8_0-00008-of-00008.gguf
    1 GB
    xet
    Added gte-Qwen2-7B-instruct-Q8_0 GGUF model files. over 1 year ago