-
Notifications
You must be signed in to change notification settings - Fork 38
Issues: hooshvare/parsbert
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
from transformers import AutoTokenizer, AutoModel # دانلود مدل و توکنایزر model_name = "HooshvareLab/bert-fa-base-uncased" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModel.from_pretrained(model_name) # نمونهای از متن text = "ما در هوشواره معتقدیم با انتقال صحیح دانش و آگاهی، همه افراد میتوانند از ابزارهای هوشمند استفاده کنند. شعار ما هوش مصنوعی برای همه است." # توکنایز کردن متن inputs = tokenizer(text, return_tensors="pt") # استخراج ویژگیها از مدل outputs = model(**inputs)
#33
opened Jun 10, 2024 by
alirezaaddeli
A way to disable normalization rules in parsbert Tokenizer
#31
opened Jan 23, 2024 by
ShahrzadShaterzadeh
TypeError: dropout(): argument 'input' (position 1) must be Tensor, not str
#28
opened Oct 30, 2022 by
hamid-mp
ProTip!
Add no:assignee to see everything that’s not assigned.