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

  • Log In
  • Sign Up

alibayram
/
DoktorGemma2-9b

Transformers
Safetensors
GGUF
Turkish
gemma2
text-generation-inference
unsloth
gemma
trl
sft
Healthcare
DoktorGemma
NLP
Sağlık
TürkçeLLM
TürkçeDilÇalışmaları
Model card Files Files and versions
xet
Community

Instructions to use alibayram/DoktorGemma2-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alibayram/DoktorGemma2-9b with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("alibayram/DoktorGemma2-9b", dtype="auto")
  • llama-cpp-python

    How to use alibayram/DoktorGemma2-9b with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="alibayram/DoktorGemma2-9b",
    	filename="unsloth.BF16.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 alibayram/DoktorGemma2-9b 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 alibayram/DoktorGemma2-9b:BF16
    # Run inference directly in the terminal:
    llama cli -hf alibayram/DoktorGemma2-9b:BF16
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf alibayram/DoktorGemma2-9b:BF16
    # Run inference directly in the terminal:
    llama cli -hf alibayram/DoktorGemma2-9b:BF16
    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 alibayram/DoktorGemma2-9b:BF16
    # Run inference directly in the terminal:
    ./llama-cli -hf alibayram/DoktorGemma2-9b:BF16
    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 alibayram/DoktorGemma2-9b:BF16
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf alibayram/DoktorGemma2-9b:BF16
    Use Docker
    docker model run hf.co/alibayram/DoktorGemma2-9b:BF16
  • LM Studio
  • Jan
  • Ollama

    How to use alibayram/DoktorGemma2-9b with Ollama:

    ollama run hf.co/alibayram/DoktorGemma2-9b:BF16
  • Unsloth Studio

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

    How to use alibayram/DoktorGemma2-9b with Docker Model Runner:

    docker model run hf.co/alibayram/DoktorGemma2-9b:BF16
  • Lemonade

    How to use alibayram/DoktorGemma2-9b with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull alibayram/DoktorGemma2-9b:BF16
    Run and chat with the model
    lemonade run user.DoktorGemma2-9b-BF16
    List all available models
    lemonade list

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • .gitattributes
    1.68 kB
    (Trained with Unsloth) about 2 years ago
  • README.md
    3.41 kB
    Update README.md almost 2 years ago
  • config.json
    30 Bytes
    (Trained with Unsloth) about 2 years ago
  • generation_config.json
    168 Bytes
    Trained with Unsloth about 2 years ago
  • model-00001-of-00004.safetensors
    4.9 GB
    xet
    Trained with Unsloth about 2 years ago
  • model-00002-of-00004.safetensors
    4.95 GB
    xet
    Trained with Unsloth about 2 years ago
  • model-00003-of-00004.safetensors
    4.96 GB
    xet
    Trained with Unsloth about 2 years ago
  • model-00004-of-00004.safetensors
    3.67 GB
    xet
    Trained with Unsloth about 2 years ago
  • model.safetensors.index.json
    39.1 kB
    Trained with Unsloth about 2 years ago
  • special_tokens_map.json
    636 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    17.5 MB
    xet
    Upload tokenizer about 2 years ago
  • tokenizer.model
    4.24 MB
    xet
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    40 kB
    Upload tokenizer about 2 years ago
  • unsloth.BF16.gguf
    18.5 GB
    xet
    (Trained with Unsloth) about 2 years ago
  • unsloth.Q4_K_M.gguf
    5.76 GB
    xet
    (Trained with Unsloth) about 2 years ago