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

afkpk
/
bert-emergency-classifier

Text Classification
Transformers
Safetensors
GGUF
bert
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use afkpk/bert-emergency-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use afkpk/bert-emergency-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="afkpk/bert-emergency-classifier")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("afkpk/bert-emergency-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("afkpk/bert-emergency-classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use afkpk/bert-emergency-classifier with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible embeddings server:
    llama serve -hf afkpk/bert-emergency-classifier:F16 --embeddings
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible embeddings server:
    llama serve -hf afkpk/bert-emergency-classifier:F16 --embeddings
    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 embeddings server:
    ./build/bin/llama serve -hf afkpk/bert-emergency-classifier:F16 --embeddings
  • Llama new
  • LM Studio
  • Jan
  • Ollama

    How to use afkpk/bert-emergency-classifier with Ollama:

    ollama run hf.co/afkpk/bert-emergency-classifier:F16
  • Unsloth Desktop
  • Docker Model Runner

    How to use afkpk/bert-emergency-classifier with Docker Model Runner:

    docker model run hf.co/afkpk/bert-emergency-classifier:F16
  • Lemonade

    How to use afkpk/bert-emergency-classifier with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull afkpk/bert-emergency-classifier:F16
    Run and chat with the model
    lemonade run user.bert-emergency-classifier-F16
    List all available models
    lemonade list
  • Atomic Chat
bert-emergency-classifier
658 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
afkpk's picture
afkpk
Upload 3 files
7cbda06 verified about 1 year ago
  • .gitattributes
    1.58 kB
    Upload 3 files about 1 year ago
  • README.md
    5.17 kB
    Upload BertForSequenceClassification about 1 year ago
  • bert-download.py
    140 Bytes
    Upload 3 files about 1 year ago
  • bert-emergency-f16.gguf
    219 MB
    xet
    Upload 3 files about 1 year ago
  • config.json
    681 Bytes
    Upload BertForSequenceClassification about 1 year ago
  • convert_hf_to_gguf.py
    452 kB
    Upload 3 files about 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload BertForSequenceClassification about 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer about 1 year ago
  • tokenizer_config.json
    1.27 kB
    Upload tokenizer about 1 year ago
  • vocab.txt
    232 kB
    Upload tokenizer about 1 year ago