File size: 1,590 Bytes
19b607c
7596b15
19b607c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7596b15
19b607c
7596b15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19b607c
 
 
 
 
 
 
 
 
 
 
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
---
library_name: transformers, peft
tags: []
---

# Model Card for Model ID

<!-- Provide a quick summary of what the model is/does. -->



## Model Details

### Model Description

<!-- Provide a longer summary of what this model is. -->

This is the an implementation of the Token Classification as mentioned [here](https://huggingface.co/docs/peft/task_guides/token-classification-lora). A PEFT model has been fine tuned to a token classification task for Bio Entity recognition from base model of roberta-large. Objective is to identify BIO Named Entity Recognition.

Given a statement [ "During", "treatment", "with", "Hm", ",", "K562", "cells", "constitutively", "expressed", "c-myb", "mRNA", ",", "and", "50", "%", "of", "them", "began", "to", "synthesize", "hemoglobin", "(", "Hb", ")", "." ]

it would generate the tags [ 0, 0, 0, 3, 0, 7, 8, 0, 0, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 0, 0 ]

And the label id categories are
{
    "O": 0,
    "B-DNA": 1,
    "I-DNA": 2,
    "B-protein": 3,
    "I-protein": 4,
    "B-cell_type": 5,
    "I-cell_type": 6,
    "B-cell_line": 7,
    "I-cell_line": 8,
    "B-RNA": 9,
    "I-RNA": 10
}

More details can be found [here](https://huggingface.co/datasets/tner/bionlp2004?row=18)

- **Developed by:** PEFT Example
- **Model type:** Token Classification using LLM
- **Finetuned from:** model roberta-large

### Model Sources [optional]

<!-- Provide the basic links for the model. -->

- **Repository:** [More Information Needed]
- **Paper [optional]:** [More Information Needed]
- **Demo [optional]:** [More Information Needed]