Instructions to use antflydb/GLiNER2.5-Decide with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use antflydb/GLiNER2.5-Decide with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("antflydb/GLiNER2.5-Decide") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use antflydb/GLiNER2.5-Decide 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 antflydb/GLiNER2.5-Decide:Q8_0 # Run inference directly in the terminal: llama cli -hf antflydb/GLiNER2.5-Decide:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf antflydb/GLiNER2.5-Decide:Q8_0 # Run inference directly in the terminal: llama cli -hf antflydb/GLiNER2.5-Decide:Q8_0
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 server with a web UI: ./build/bin/llama serve -hf antflydb/GLiNER2.5-Decide:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf antflydb/GLiNER2.5-Decide:Q8_0
Use Docker
docker model run hf.co/antflydb/GLiNER2.5-Decide:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use antflydb/GLiNER2.5-Decide with Ollama:
ollama run hf.co/antflydb/GLiNER2.5-Decide:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use antflydb/GLiNER2.5-Decide with Docker Model Runner:
docker model run hf.co/antflydb/GLiNER2.5-Decide:Q8_0
- Lemonade
How to use antflydb/GLiNER2.5-Decide with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull antflydb/GLiNER2.5-Decide:Q8_0
Run and chat with the model
lemonade run user.GLiNER2.5-Decide-Q8_0
List all available models
lemonade list
- Atomic Chat
File size: 920 Bytes
4aee3d8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | {
"_attn_implementation_autoset": true,
"_name_or_path": "/home/urchadezaratiana/checkpoints/checkpoint-45500/encoder_config/config.json",
"attention_probs_dropout_prob": 0.1,
"dtype": "float32",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 4096,
"layer_norm_eps": 1e-07,
"legacy": true,
"max_position_embeddings": 512,
"max_relative_positions": -1,
"model_type": "deberta-v2",
"norm_rel_ebd": "layer_norm",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"pad_token_id": 0,
"pooler_dropout": 0,
"pooler_hidden_act": "gelu",
"pooler_hidden_size": 1024,
"pos_att_type": [
"p2c",
"c2p"
],
"position_biased_input": false,
"position_buckets": 256,
"relative_attention": true,
"share_att_key": true,
"transformers_version": "4.48.1",
"type_vocab_size": 0,
"vocab_size": 128011
}
|