Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ainize/klue-bert-base-re")
model = AutoModelForSequenceClassification.from_pretrained("ainize/klue-bert-base-re")
# Add "<subj>", "</subj>" to both ends of the subject object and "<obj>", "</obj>" to both ends of the object object.
sentence = "<subj>손흥민</subj>은 <obj>대한민국</obj>에서 태어났다."
encodings = tokenizer(sentence,
max_length=128,
truncation=True,
padding="max_length",
return_tensors="pt")
outputs = model(**encodings)
logits = outputs['logits']
preds = torch.argmax(logits, dim=1)
About us
Teachable NLP
- Train NLP models with your own text without writing any code
Runs of ainize klue-bert-base-re on huggingface.co
18
Total runs
1
24-hour runs
-1
3-day runs
0
7-day runs
-16
30-day runs
More Information About klue-bert-base-re huggingface.co Model
klue-bert-base-re huggingface.co
klue-bert-base-re huggingface.co is an AI model on huggingface.co that provides klue-bert-base-re's model effect (), which can be used instantly with this ainize klue-bert-base-re model. huggingface.co supports a free trial of the klue-bert-base-re model, and also provides paid use of the klue-bert-base-re. Support call klue-bert-base-re model through api, including Node.js, Python, http.
klue-bert-base-re huggingface.co is an online trial and call api platform, which integrates klue-bert-base-re's modeling effects, including api services, and provides a free online trial of klue-bert-base-re, you can try klue-bert-base-re online for free by clicking the link below.
ainize klue-bert-base-re online free url in huggingface.co:
klue-bert-base-re is an open source model from GitHub that offers a free installation service, and any user can find klue-bert-base-re on GitHub to install. At the same time, huggingface.co provides the effect of klue-bert-base-re install, users can directly use klue-bert-base-re installed effect in huggingface.co for debugging and trial. It also supports api for free installation.