Downloads · 30 days
5
15% of all-time downloads
Fatihaybasn/pathfinder-minilm-intent-onnx-int8
pathfinder-minilm-intent-onnx-int8 is a text classification model from Fatihaybasn. Use it when you need a label for a piece of text. It is set up for onnxruntime. The card lists the license as apache-2.0.
Five-class PathFinderShip intent classifier fine-tuned from nreimers/MiniLM-L6-H384-uncased and exported to dynamic INT8 ONNX.
Downloads · 30 days
5
15% of all-time downloads
All-time downloads
34
Public
Repo size
23.7 MB
Likes
1
Public
Click a slice to open those files.
.onnx23.7 MB · 96%
From the Hugging Face model README
Five-class PathFinderShip intent classifier fine-tuned from nreimers/MiniLM-L6-H384-uncased and exported to dynamic INT8 ONNX.
open_cameraclose_cameratake_photoobject_detectchatHistorical training configuration: maximum length 96, learning rate 2e-5, four epochs, train batch 32, eval batch 64, CPU training.
| Evaluation | Examples | Accuracy | Macro-F1 | Weighted-F1 | ECE (10 bins) |
|---|---|---|---|---|---|
| Historical notebook split | 600 | 1.0000 | 1.0000 | 1.0000 | Not reported |
| Frozen project stress set | 1,000 | 1.0000 | 1.0000 | 1.0000 | 0.1813 |
The historical split contains duplicate/cross-split overlap risk and is retained only as historical evidence. The perfect focused score applies only to the deterministic project stress set. ECE shows that probability calibration is not perfect even though every predicted label was correct on that set.

Machine-readable focused metrics are available in evaluation/minilm_intent_results.json.
import numpy as np
import onnxruntime as ort
from huggingface_hub import hf_hub_download
from transformers import AutoConfig, AutoTokenizer
repo_id = "Fatihaybasn/pathfinder-minilm-intent-onnx-int8"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
config = AutoConfig.from_pretrained(repo_id)
model_path = hf_hub_download(repo_id, "intent-minilm-int8.onnx")
session = ort.InferenceSession(model_path, providers=["CPUExecutionProvider"])
encoded = tokenizer(
["please open the camera"],
padding=True,
truncation=True,
max_length=96,
return_tensors="np",
)
required = {item.name for item in session.get_inputs()}
feed = {name: encoded[name].astype(np.int64) for name in required}
logits = session.run(None, feed)[0]
label_id = int(logits.argmax(axis=-1)[0])
print(config.id2label[label_id])
chat.Project documentation: PathFinderShip.