Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Roopalgn
/
sahayak-tb-gemma4-e2b-gguf

Text Generation
llama-cpp-python
GGUF
English
Hindi
gemma4
llama.cpp
unsloth
healthcare
tuberculosis
clinical-decision-support
conversational
Model card Files Files and versions
xet
Community

Instructions to use Roopalgn/sahayak-tb-gemma4-e2b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use Roopalgn/sahayak-tb-gemma4-e2b-gguf with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="Roopalgn/sahayak-tb-gemma4-e2b-gguf",
    	filename="gemma-4-e2b-it.F16-mmproj.gguf",
    )
    
    llm.create_chat_completion(
    	messages = [
    		{
    			"role": "user",
    			"content": "What is the capital of France?"
    		}
    	]
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use Roopalgn/sahayak-tb-gemma4-e2b-gguf with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
    # Run inference directly in the terminal:
    llama cli -hf Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
    # Run inference directly in the terminal:
    llama cli -hf Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama serve -hf Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
    Use Docker
    docker model run hf.co/Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
  • Llama new
  • LM Studio
  • Jan
  • vLLM

    How to use Roopalgn/sahayak-tb-gemma4-e2b-gguf with vLLM:

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

    How to use Roopalgn/sahayak-tb-gemma4-e2b-gguf with Ollama:

    ollama run hf.co/Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
  • Unsloth Desktop
  • Docker Model Runner

    How to use Roopalgn/sahayak-tb-gemma4-e2b-gguf with Docker Model Runner:

    docker model run hf.co/Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
  • Lemonade

    How to use Roopalgn/sahayak-tb-gemma4-e2b-gguf with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Roopalgn/sahayak-tb-gemma4-e2b-gguf:F16
    Run and chat with the model
    lemonade run user.sahayak-tb-gemma4-e2b-gguf-F16
    List all available models
    lemonade list
  • Atomic Chat
sahayak-tb-gemma4-e2b-gguf
13.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
Roopalgn's picture
Roopalgn
Upload README.md with huggingface_hub
b786cb9 verified 6 months ago
  • .gitattributes
    1.71 kB
    Upload gemma-4-e2b-it.f16.gguf with huggingface_hub 6 months ago
  • Modelfile
    230 Bytes
    Trained with Unsloth - Ollama Modelfile 6 months ago
  • README.md
    2.66 kB
    Upload README.md with huggingface_hub 6 months ago
  • config.json
    5.96 kB
    Trained with Unsloth - config 6 months ago
  • gemma-4-e2b-it.F16-mmproj.gguf
    986 MB
    xet
    Trained with Unsloth 6 months ago
  • gemma-4-e2b-it.Q4_K_M.gguf
    3.43 GB
    xet
    Trained with Unsloth 6 months ago
  • gemma-4-e2b-it.f16.gguf
    9.31 GB
    xet
    Upload gemma-4-e2b-it.f16.gguf with huggingface_hub 6 months ago