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

tmickleydoyle
/
Qwen2.5-Coder-7B

Transformers
Safetensors
GGUF
English
qwen2
text-generation-inference
unsloth
trl
sft
Model card Files Files and versions
xet
Community

Instructions to use tmickleydoyle/Qwen2.5-Coder-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tmickleydoyle/Qwen2.5-Coder-7B with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("tmickleydoyle/Qwen2.5-Coder-7B", dtype="auto")
  • llama-cpp-python

    How to use tmickleydoyle/Qwen2.5-Coder-7B with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="tmickleydoyle/Qwen2.5-Coder-7B",
    	filename="unsloth.F16.gguf",
    )
    
    output = llm(
    	"Once upon a time,",
    	max_tokens=512,
    	echo=True
    )
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use tmickleydoyle/Qwen2.5-Coder-7B with llama.cpp:

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

    How to use tmickleydoyle/Qwen2.5-Coder-7B with Ollama:

    ollama run hf.co/tmickleydoyle/Qwen2.5-Coder-7B:F16
  • Unsloth Studio new

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

    How to use tmickleydoyle/Qwen2.5-Coder-7B with Docker Model Runner:

    docker model run hf.co/tmickleydoyle/Qwen2.5-Coder-7B:F16
  • Lemonade

    How to use tmickleydoyle/Qwen2.5-Coder-7B with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull tmickleydoyle/Qwen2.5-Coder-7B:F16
    Run and chat with the model
    lemonade run user.Qwen2.5-Coder-7B-F16
    List all available models
    lemonade list
Qwen2.5-Coder-7B
30.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
tmickleydoyle's picture
tmickleydoyle
(Trained with Unsloth)
a2dbe04 verified over 1 year ago
  • .gitattributes
    1.62 kB
    (Trained with Unsloth) over 1 year ago
  • README.md
    598 Bytes
    Trained with Unsloth over 1 year ago
  • added_tokens.json
    632 Bytes
    Upload tokenizer over 1 year ago
  • config.json
    29 Bytes
    (Trained with Unsloth) over 1 year ago
  • generation_config.json
    166 Bytes
    Trained with Unsloth over 1 year ago
  • merges.txt
    1.67 MB
    Upload tokenizer over 1 year ago
  • model-00001-of-00004.safetensors
    4.88 GB
    xet
    Trained with Unsloth over 1 year ago
  • model-00002-of-00004.safetensors
    4.93 GB
    xet
    Trained with Unsloth over 1 year ago
  • model-00003-of-00004.safetensors
    4.33 GB
    xet
    Trained with Unsloth over 1 year ago
  • model-00004-of-00004.safetensors
    1.09 GB
    xet
    Trained with Unsloth over 1 year ago
  • model.safetensors.index.json
    27.8 kB
    Trained with Unsloth over 1 year ago
  • special_tokens_map.json
    616 Bytes
    Upload tokenizer over 1 year ago
  • tokenizer.json
    11.4 MB
    xet
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    4.89 kB
    Upload tokenizer over 1 year ago
  • unsloth.F16.gguf
    15.2 GB
    xet
    (Trained with Unsloth) over 1 year ago
  • vocab.json
    2.78 MB
    Upload tokenizer over 1 year ago