epitext-sikuroberta
101
—
by
jhangyejin
Language Model
OTHER
New
101 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
1. Setup model and tokenizerpythontransformers
from transformers import pipeline, AutoTokenizer
# 1. Setup model and tokenizer
model_path = "jhangyejin/epitext-sikuroberta"
tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=False)
# 2. Create pipeline
fill_mask = pipeline("fill-mask", model=model_path, tokenizer=tokenizer)
# 3. Inference
# Example: "又立石於先生墓前以表之而使弟榮祏[MASK]其陰内外世"
text = "又立石於先生墓前以表之而使弟榮祏[MASK]其陰内外世"
results = fill_mask(text)
# 4. Print Top-5 Results
print(f"Input: {text}")
print("-" * 30)
for i, item in enumerate(results):
print(f"Top {i+1} - Score: {item['score']:.4f}, Token: {item['token_str']}")Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.