bert-base-zhtw / README.md
yentinglin's picture
Update README.md
84e12d6
metadata
license: cc-by-nc-sa-4.0

Work in Progress

Usage 🤗 Transformers pipeline

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