Inroduction
This model is finetuned from parsbert.
How to use
from transformers import AutoConfig, AutoTokenizer, AutoModel
model_name = "alienit/query-bert"
config = AutoConfig.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
text = "چرا انسانها موجودات اجتماعی هستند؟"
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)
- Downloads last month
- 5
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.