Mozilla/distilbert-uncased-NER-LoRA
By Mozilla · ↓ 6 · ♥ 0 · Updated 2024-12-10
What's in this repo
This page lists the files in Mozilla/distilbert-uncased-NER-LoRA, including model.onnx, model_fp16.onnx, model_q4.onnx and more.
- 4 ONNX models (.onnx files)
- 13 files, including 5 .json, 4 .onnx, 1 .md, 1 .safetensors, 1 .txt
- Last updated 2024-12-10
ONNX files
| File | Size | Download |
|---|---|---|
| onnx/model.onnx | — | Download |
| onnx/model_fp16.onnx | — | Download |
| onnx/model_q4.onnx | — | Download |
| onnx/model_quantized.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
Fine-tuned LoRA Token classification on distilbert
This is a fine-tuned LoRA token classifier on distilbert, designed for NER on multiple categories PERSON, ORG, CITY, STATE, CITY_STATE.
Model Details
Model Description
This model is based on distilbert/distilbert-base-uncased and fine-tuned using LoRA for token classification. The fine-tuning process adapts the model to predict tokens across 10 categories:
"O" # Outside any named entity
"B-PER" # Beginning of a person entity
"I-PER" # Inside a person entity
"B-ORG" # Beginning of an organization entity
"I-ORG" # Inside an organization entity
"B-CITY" # Beginning of a city entity
"I-CITY" # Inside a city entity
"B-STATE" # Beginning of a state entity
"I-STATE" # Inside a state entity
"B-CITYSTATE" # Beginning of a city_state entity
"I-CITYSTATE" # Inside a city_state entity
- Developed by: Mozilla
- Language(s): English (
en) - License: Apache-2.0
- Fine-tuned from: distilbert/distilbert-base-uncased
Model Sources
- Repository: Mozilla Smart Intent Project
Citation
If you use this model, please cite it as:
@misc{mozilla_distilbert_lora_ner,
title = {Fine-tuned LoRA Token Classifier on DistilBERT},
author = {Mozilla},
year = {2024},
url = {https://huggingface.co/Mozilla/distilbert-finetuned-LoRA-token-classifier},
license = {Apache-2.0}
}
Model info
Created: 2024-10-10
Updated: 2024-12-10
View on Hugging Face