sjmeis commited on
Commit
187e042
·
verified ·
1 Parent(s): 578a155

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -1
README.md CHANGED
@@ -6,4 +6,64 @@ base_model:
6
  - loyoladatamining/task-classifier-mini-improved2
7
  pipeline_tag: text-classification
8
  ---
9
- Improved version of `task-classifier-mini-improved2`, fine-tuned on more curated examples from a large job postings corpus.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  - loyoladatamining/task-classifier-mini-improved2
7
  pipeline_tag: text-classification
8
  ---
9
+
10
+ # task-classifier-mini-v3
11
+
12
+ task-classifier-mini-v3 is an efficient, lightweight binary sequence classification model designed to identify texts that contain task statements (i.e., to be peformed in a work role). Built on top of `prajjwal1/bert-tiny`, it is optimized for high-speed, high-throughput filtering pipelines.
13
+
14
+ This particular version is an improved iteration of `task-classifier-mini-improved2`, fine-tuned on more curated examples from a large job postings corpus. We include validation results below.
15
+
16
+ ## Basic Usage
17
+
18
+ You can easily use this model with the standard Hugging Face text-classification pipeline.
19
+
20
+ ```python
21
+ from transformers import pipeline, AutoModelForSequenceClassification, AutoTokenizer
22
+
23
+ model_name = "loyoladatamining/task-classifier-mini-v3"
24
+ model = AutoModelForSequenceClassification.from_pretrained(model_name)
25
+ tokenizer = AutoTokenizer.from_pretrained(model_name, max_length=64, truncation=True)
26
+
27
+ # Create text classification pipeline
28
+ nlp = pipeline(
29
+ "text-classification",
30
+ model=model,
31
+ tokenizer=tokenizer,
32
+ max_length=64,
33
+ truncation=True
34
+ )
35
+
36
+ # Inference
37
+ text = "Manage and maintain the internal database servers on a weekly basis."
38
+ result = nlp(text)
39
+ print(result)
40
+ ```
41
+
42
+ ## Output Format
43
+
44
+ The model returns a list containing a single classification result with the predicted binary label and its associated confidence score:
45
+
46
+ ```json
47
+ [
48
+ {
49
+ "label": "LABEL_1",
50
+ "score": 0.9845
51
+ }
52
+ ]
53
+ ```
54
+
55
+ ### Label Mapping
56
+ - `LABEL_0`: The text is not a valid task statement.
57
+ - `LABEL_1`: The text is a task statement.
58
+
59
+ ## Citation
60
+
61
+ If you find this model useful in your work, please consider citing:
62
+
63
+ ```
64
+ @article{meisenbacher2025extracting,
65
+ title={Extracting O* NET Features from the NLx Corpus to Build Public Use Aggregate Labor Market Data},
66
+ author={Meisenbacher, Stephen and Nestorov, Svetlozar and Norlander, Peter},
67
+ year={2025}
68
+ }
69
+ ```