File size: 1,794 Bytes
4c9a7c9
 
2e1acbd
 
 
 
 
 
 
 
4c9a7c9
 
2e1acbd
4c9a7c9
2e1acbd
4c9a7c9
 
 
 
 
2e1acbd
4c9a7c9
2e1acbd
 
 
 
 
 
 
 
 
 
 
4c9a7c9
2e1acbd
4c9a7c9
 
2e1acbd
 
 
 
4c9a7c9
2e1acbd
4c9a7c9
fefd9f5
 
 
 
 
 
 
 
 
 
 
 
 
 
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
library_name: transformers
license: apache-2.0
datasets:
- Mozilla/smart_ner_dataset
language:
- en
base_model:
- distilbert/distilbert-base-uncased
pipeline_tag: token-classification
---

# 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](https://huggingface.co/distilbert/distilbert-base-uncased)

### Model Sources

- **Repository:** [Mozilla Smart Intent Project](https://github.com/mozilla/smart_intent)

### 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}
}
```