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

Manojb
/
Qwen3-4B-toolcalling-gguf-codex

Text Generation
Safetensors
GGUF
English
qwen3
function-calling
tool-calling
codex
local-llm
6gb-vram
ollama
code-assistant
api-tools
openai-alternative
conversational
Model card Files Files and versions
xet
Community
2

Instructions to use Manojb/Qwen3-4B-toolcalling-gguf-codex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use Manojb/Qwen3-4B-toolcalling-gguf-codex with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="Manojb/Qwen3-4B-toolcalling-gguf-codex",
    	filename="Qwen3-4B-Function-Calling-Pro.gguf",
    )
    
    llm.create_chat_completion(
    	messages = [
    		{
    			"role": "user",
    			"content": "What is the capital of France?"
    		}
    	]
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use Manojb/Qwen3-4B-toolcalling-gguf-codex with llama.cpp:

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

    How to use Manojb/Qwen3-4B-toolcalling-gguf-codex with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Manojb/Qwen3-4B-toolcalling-gguf-codex"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Manojb/Qwen3-4B-toolcalling-gguf-codex",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/Manojb/Qwen3-4B-toolcalling-gguf-codex
  • Ollama

    How to use Manojb/Qwen3-4B-toolcalling-gguf-codex with Ollama:

    ollama run hf.co/Manojb/Qwen3-4B-toolcalling-gguf-codex
  • Unsloth Studio new

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

    How to use Manojb/Qwen3-4B-toolcalling-gguf-codex with Docker Model Runner:

    docker model run hf.co/Manojb/Qwen3-4B-toolcalling-gguf-codex
  • Lemonade

    How to use Manojb/Qwen3-4B-toolcalling-gguf-codex with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Manojb/Qwen3-4B-toolcalling-gguf-codex
    Run and chat with the model
    lemonade run user.Qwen3-4B-toolcalling-gguf-codex-{{QUANT_TAG}}
    List all available models
    lemonade list
Qwen3-4B-toolcalling-gguf-codex
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Manojb's picture
Manojb
Update README.md
0e263f7 verified 8 months ago
  • .gitattributes
    1.64 kB
    Upload folder using huggingface_hub 8 months ago
  • ModelFile
    40 Bytes
    Upload folder using huggingface_hub 8 months ago
  • Qwen3-4B-Function-Calling-Pro.gguf
    4.28 GB
    xet
    Upload folder using huggingface_hub 8 months ago
  • README.md
    3.9 kB
    Update README.md 8 months ago
  • added_tokens.json
    707 Bytes
    Upload folder using huggingface_hub 8 months ago
  • chat_template.jinja
    456 Bytes
    Upload folder using huggingface_hub 8 months ago
  • config.json
    1.54 kB
    Upload folder using huggingface_hub 8 months ago
  • generation_config.json
    213 Bytes
    Upload folder using huggingface_hub 8 months ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 8 months ago
  • model.safetensors.index.json
    32.9 kB
    Upload folder using huggingface_hub 8 months ago
  • run_model.sh
    68 Bytes
    Upload folder using huggingface_hub 8 months ago
  • special_tokens_map.json
    496 Bytes
    Upload folder using huggingface_hub 8 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • tokenizer_config.json
    5.4 kB
    Upload folder using huggingface_hub 8 months ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 8 months ago