Taiwan LLM
Collection
Try out at twllm.com !
•
27 items
•
Updated
•
37
Work in Progress
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