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

thviet79
/
model-QA-medical

Transformers
Safetensors
GGUF
conversational
Model card Files Files and versions
xet
Community
2

Instructions to use thviet79/model-QA-medical with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use thviet79/model-QA-medical with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("thviet79/model-QA-medical", dtype="auto")
  • llama-cpp-python

    How to use thviet79/model-QA-medical with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="thviet79/model-QA-medical",
    	filename="models-7B-F16.gguf",
    )
    
    llm.create_chat_completion(
    	messages = "No input example has been defined for this model task."
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use thviet79/model-QA-medical with llama.cpp:

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

    How to use thviet79/model-QA-medical with Ollama:

    ollama run hf.co/thviet79/model-QA-medical:F16
  • Unsloth Studio new

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

    How to use thviet79/model-QA-medical with Docker Model Runner:

    docker model run hf.co/thviet79/model-QA-medical:F16
  • Lemonade

    How to use thviet79/model-QA-medical with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull thviet79/model-QA-medical:F16
    Run and chat with the model
    lemonade run user.model-QA-medical-F16
    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.57 kB
    Upload models-7B-F16.gguf with huggingface_hub over 1 year ago
  • README.md
    5.17 kB
    Upload MistralForCausalLM over 1 year ago
  • adapter_config.json
    746 Bytes
    Upload MistralForCausalLM over 1 year ago
  • adapter_model.safetensors
    1.31 GB
    xet
    Upload MistralForCausalLM over 1 year ago
  • added_tokens.json
    83 Bytes
    Upload tokenizer over 1 year ago
  • generation_config.json
    133 Bytes
    Upload MistralForCausalLM over 1 year ago
  • models-7B-F16.gguf
    14.6 GB
    xet
    Upload models-7B-F16.gguf with huggingface_hub over 1 year ago
  • special_tokens_map.json
    625 Bytes
    Upload tokenizer over 1 year ago
  • tokenizer.json
    4.18 MB
    Upload tokenizer over 1 year ago
  • tokenizer.model
    597 kB
    xet
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    2.59 kB
    Upload tokenizer over 1 year ago