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