Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Minibase
/
NER-Small

Text Generation
GGUF
English
named-entity-recognition
ner
nlp
information-extraction
person
organization
location
miscellaneous
llama
minibase
small-model
2048-context
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Minibase/NER-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use Minibase/NER-Small with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="Minibase/NER-Small",
    	filename="model.gguf",
    )
    
    output = llm(
    	"Once upon a time,",
    	max_tokens=512,
    	echo=True
    )
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use Minibase/NER-Small with llama.cpp:

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

    How to use Minibase/NER-Small with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Minibase/NER-Small"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Minibase/NER-Small",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/Minibase/NER-Small
  • Ollama

    How to use Minibase/NER-Small with Ollama:

    ollama run hf.co/Minibase/NER-Small
  • Unsloth Studio new

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

    How to use Minibase/NER-Small with Docker Model Runner:

    docker model run hf.co/Minibase/NER-Small
  • Lemonade

    How to use Minibase/NER-Small with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Minibase/NER-Small
    Run and chat with the model
    lemonade run user.NER-Small-{{QUANT_TAG}}
    List all available models
    lemonade list
NER-Small
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
Minibase's picture
Minibase
Update README.md
37cfd07 verified 7 months ago
  • .gitattributes
    86 Bytes
    Upload .gitattributes with huggingface_hub 7 months ago
  • README.md
    10.4 kB
    Update README.md 7 months ago
  • benchmark_config.yaml
    1.51 kB
    Upload benchmark_config.yaml with huggingface_hub 7 months ago
  • benchmark_results.json
    6.32 kB
    xet
    Upload benchmark_results.json with huggingface_hub 7 months ago
  • benchmarks.txt
    1.54 kB
    Upload benchmarks.txt with huggingface_hub 7 months ago
  • config.json
    2.24 kB
    xet
    Upload config.json with huggingface_hub 7 months ago
  • generation_config.json
    264 Bytes
    xet
    Upload generation_config.json with huggingface_hub 7 months ago
  • model.gguf
    145 MB
    xet
    Upload model.gguf with huggingface_hub 7 months ago
  • ner_inference.py
    8.21 kB
    Upload ner_inference.py with huggingface_hub 7 months ago
  • requirements.txt
    50 Bytes
    Upload requirements.txt with huggingface_hub 7 months ago
  • run_benchmarks.py
    19.7 kB
    Upload run_benchmarks.py with huggingface_hub 7 months ago
  • tokenizer_config.json
    622 Bytes
    xet
    Upload tokenizer_config.json with huggingface_hub 7 months ago