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

cstr
/
bert-base-NER-GGUF

Token Classification
GGUF
bert
ner
named-entity-recognition
Model card Files Files and versions
xet
Community

Instructions to use cstr/bert-base-NER-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use cstr/bert-base-NER-GGUF with llama-cpp-python:

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

    How to use cstr/bert-base-NER-GGUF with Ollama:

    ollama run hf.co/cstr/bert-base-NER-GGUF:F32
  • Unsloth Studio

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

    How to use cstr/bert-base-NER-GGUF with Docker Model Runner:

    docker model run hf.co/cstr/bert-base-NER-GGUF:F32
  • Lemonade

    How to use cstr/bert-base-NER-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull cstr/bert-base-NER-GGUF:F32
    Run and chat with the model
    lemonade run user.bert-base-NER-GGUF-F32
    List all available models
    lemonade list
bert-base-NER-GGUF
620 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
cstr's picture
cstr
Add model card README
a3c98e7 verified 12 days ago
  • .gitattributes
    1.7 kB
    Add bert-base-ner-q4_k.gguf 12 days ago
  • README.md
    1.68 kB
    Add model card README 12 days ago
  • bert-base-ner-f32.gguf
    432 MB
    xet
    Add bert-base-ner-f32.gguf 12 days ago
  • bert-base-ner-q4_k.gguf
    72.9 MB
    xet
    Add bert-base-ner-q4_k.gguf 12 days ago
  • bert-base-ner-q8_0.gguf
    115 MB
    xet
    Add bert-base-ner-q8_0.gguf 12 days ago