File size: 399 Bytes
3c1a463
 
 
e1c03cd
 
84e12d6
e1c03cd
 
 
 
 
 
 
 
 
 
 
59fa123
9073954
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
license: cc-by-nc-sa-4.0
---
Work in Progress

# Usage 🤗 Transformers pipeline
```python
from transformers import pipeline

embedder = pipeline("feature-extraction", "yentinglin/bert-base-zhtw")

embeddings = embedder("台灣使用繁體中文", return_tensors=True)

print(embeddings.shape)
# torch.Size([1, 10, 768])
```

license: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en