Introduction of mt5-large-parsinlu-qqp-query-paraphrasing
Model Details of mt5-large-parsinlu-qqp-query-paraphrasing
Detection of Paraphrased Queries (تشخصیص سوالات هممعنی)
This is a model for detection of paraphrased queries.
Here is an example of how you can run this model:
from transformers import MT5Config, MT5ForConditionalGeneration, MT5Tokenizer
model_name = "persiannlp/mt5-large-parsinlu-qqp-query-paraphrasing"
tokenizer = MT5Tokenizer.from_pretrained(model_name)
model = MT5ForConditionalGeneration.from_pretrained(model_name)
defrun_model(q1, q2, **generator_args):
input_ids = tokenizer.encode(f"{q1}<sep>{q2}", return_tensors="pt")
res = model.generate(input_ids, **generator_args)
output = tokenizer.batch_decode(res, skip_special_tokens=True)
print(output)
return output
run_model("چه چیزی باعث پوکی استخوان می شود؟", "چه چیزی باعث مقاومت استخوان در برابر ضربه می شود؟")
run_model("من دارم به این فکر میکنم چرا ساعت هفت نمیشه؟", "چرا من ساده فکر میکردم به عشقت پابندی؟")
run_model("دعای کمیل در چه روزهایی خوانده می شود؟", "دعای جوشن کبیر در چه شبی خوانده می شود؟")
run_model("دعای کمیل در چه روزهایی خوانده می شود؟", "دعای جوشن کبیر در چه شبی خوانده می شود؟")
run_model("شناسنامه در چه سالی وارد ایران شد؟", "سیب زمینی در چه سالی وارد ایران شد؟")
run_model("سیب زمینی چه زمانی وارد ایران شد؟", "سیب زمینی در چه سالی وارد ایران شد؟")
mt5-large-parsinlu-qqp-query-paraphrasing huggingface.co is an AI model on huggingface.co that provides mt5-large-parsinlu-qqp-query-paraphrasing's model effect (), which can be used instantly with this persiannlp mt5-large-parsinlu-qqp-query-paraphrasing model. huggingface.co supports a free trial of the mt5-large-parsinlu-qqp-query-paraphrasing model, and also provides paid use of the mt5-large-parsinlu-qqp-query-paraphrasing. Support call mt5-large-parsinlu-qqp-query-paraphrasing model through api, including Node.js, Python, http.
mt5-large-parsinlu-qqp-query-paraphrasing huggingface.co is an online trial and call api platform, which integrates mt5-large-parsinlu-qqp-query-paraphrasing's modeling effects, including api services, and provides a free online trial of mt5-large-parsinlu-qqp-query-paraphrasing, you can try mt5-large-parsinlu-qqp-query-paraphrasing online for free by clicking the link below.
persiannlp mt5-large-parsinlu-qqp-query-paraphrasing online free url in huggingface.co:
mt5-large-parsinlu-qqp-query-paraphrasing is an open source model from GitHub that offers a free installation service, and any user can find mt5-large-parsinlu-qqp-query-paraphrasing on GitHub to install. At the same time, huggingface.co provides the effect of mt5-large-parsinlu-qqp-query-paraphrasing install, users can directly use mt5-large-parsinlu-qqp-query-paraphrasing installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mt5-large-parsinlu-qqp-query-paraphrasing install url in huggingface.co: