File size: 799 Bytes
3ba8afb
 
 
 
 
 
 
10d8e1b
3ba8afb
10d8e1b
3ba8afb
 
 
 
6591fb8
3ba8afb
6591fb8
 
 
 
 
 
 
cb41fcd
6591fb8
cb41fcd
6591fb8
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
---
language: "en"
tags:
- buy-intent
- sell-intent
- consumer-intent
widget:
- text: "Coronavirus disease (COVID-19) is an infectious disease caused by the SARS-CoV-2 virus."
---
# Chemical vs Pharmaceutical Domain Document Classifier
| Train Loss    | Validation Acc.| Test Acc.|
| ------------- |:-------------: | -----:   |
| 0.013      | 0.988  | 0.992    |

# Label Mappings
LABEL_0 => **"PHARMACEUTICAL"** <br/>
LABEL_1 => **"CHEMICAL"**

## Usage in Transformers

```python
from transformers import AutoTokenizer, AutoModelForSequenceClassification
  
tokenizer = AutoTokenizer.from_pretrained("recobo/chemical-bert-uncased-pharmaceutical-chemical-classifier")

model = AutoModelForSequenceClassification.from_pretrained("recobo/chemical-bert-uncased-pharmaceutical-chemical-classifier")
```