Fine-tuned version of
knowledgator/gliner-x-large for domain-specific NER in the conversational AI / customer support domain.
1from gliner import GLiNER
2
3model = GLiNER.from_pretrained("Rishi2455/gliner-floatbot-ai")
4
5text = "Rajesh from Infosys wants to integrate Floatbot with Salesforce for their Mumbai call center."
6labels = ["customer_name", "organization", "product_name", "integration", "location", "service_type"]
7
8entities = model.predict_entities(text, labels, threshold=0.4)
9for ent in entities:
10 print(f" '{ent['text']}' → {ent['label']} (score: {ent['score']:.3f})")
1from gliner import GLiNER
2
3# Load the INT8 quantized ONNX model — same API, 4x smaller, faster on CPU
4model = GLiNER.from_pretrained(
5 "Rishi2455/gliner-floatbot-ai",
6 load_onnx_model=True,
7 onnx_model_file="model_int8.onnx"
8)
9
10text = "Rajesh from Infosys wants to integrate Floatbot with Salesforce for their Mumbai call center."
11labels = ["customer_name", "organization", "product_name", "integration", "location", "service_type"]
12
13entities = model.predict_entities(text, labels, threshold=0.4)
14for ent in entities:
15 print(f" '{ent['text']}' → {ent['label']} (score: {ent['score']:.3f})")
1from gliner import GLiNER
2
3model = GLiNER.from_pretrained(
4 "Rishi2455/gliner-floatbot-ai",
5 load_onnx_model=True,
6 onnx_model_file="model.onnx"
7)
Both use dynamic quantization — no calibration dataset needed, scales computed at runtime per batch.
See
Rishi2455/gliner-floatbot-ai-training for the complete training dataset and fine-tuning script.
1pip install gliner torch transformers accelerate trackio huggingface_hub
2huggingface-cli login
3
4# Download and run the training script
5wget https://huggingface.co/datasets/Rishi2455/gliner-floatbot-ai-training/resolve/main/train_gliner.py
6python train_gliner.py