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
- 163
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.