tdc
/

File size: 614 Bytes
1621553
 
 
 
3e817a7
1621553
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f654e74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
license: mpl-2.0
---

The TDC Model Hub Transformers API is under development. In the meantime, we highly recommend using the native HF Transformers library.

```python
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="havens2/scBERT_SER")
```
```python
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("havens2/scBERT_SER")
model = AutoModelForTokenClassification.from_pretrained("havens2/scBERT_SER")
```

https://huggingface.co/havens2/scBERT_SER