persiannlp / mt5-small-parsinlu-arc-comqa-obqa-multiple-choice

huggingface.co
Total runs: 6
24-hour runs: 0
7-day runs: -1
30-day runs: -3
Model's Last Updated: September 24 2021
multiple-choice

Introduction of mt5-small-parsinlu-arc-comqa-obqa-multiple-choice

Model Details of mt5-small-parsinlu-arc-comqa-obqa-multiple-choice

Multiple-Choice Question Answering (مدل برای پاسخ به سوالات چهار جوابی)

This is a mT5-based model for multiple-choice question answering. Here is an example of how you can run this model:

from transformers import MT5ForConditionalGeneration, MT5Tokenizer

model_size = "small"
model_name = f"persiannlp/mt5-{model_size}-parsinlu-arc-comqa-obqa-multiple-choice"
tokenizer = MT5Tokenizer.from_pretrained(model_name)
model = MT5ForConditionalGeneration.from_pretrained(model_name)


def run_model(input_string, **generator_args):
    input_ids = tokenizer.encode(input_string, 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("وسیع ترین کشور جهان کدام است؟ <sep> آمریکا <sep> کانادا <sep> روسیه <sep> چین")
run_model("طامع یعنی ؟ <sep> آزمند <sep> خوش شانس <sep> محتاج <sep> مطمئن")
run_model(
    "زمینی به ۳۱ قطعه متساوی مفروض شده است و هر روز مساحت آماده شده برای احداث، دو برابر مساحت روز قبل است.اگر پس از (۵ روز) تمام زمین آماده شده باشد، در چه روزی یک قطعه زمین آماده شده <sep> روز اول <sep> روز دوم <sep> روز سوم <sep> هیچکدام")

For more details, visit this page: https://github.com/persiannlp/parsinlu/

Runs of persiannlp mt5-small-parsinlu-arc-comqa-obqa-multiple-choice on huggingface.co

6
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
-3
30-day runs

More Information About mt5-small-parsinlu-arc-comqa-obqa-multiple-choice huggingface.co Model

More mt5-small-parsinlu-arc-comqa-obqa-multiple-choice license Visit here:

https://choosealicense.com/licenses/cc-by-nc-sa-4.0

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice huggingface.co

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice huggingface.co is an AI model on huggingface.co that provides mt5-small-parsinlu-arc-comqa-obqa-multiple-choice's model effect (), which can be used instantly with this persiannlp mt5-small-parsinlu-arc-comqa-obqa-multiple-choice model. huggingface.co supports a free trial of the mt5-small-parsinlu-arc-comqa-obqa-multiple-choice model, and also provides paid use of the mt5-small-parsinlu-arc-comqa-obqa-multiple-choice. Support call mt5-small-parsinlu-arc-comqa-obqa-multiple-choice model through api, including Node.js, Python, http.

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice huggingface.co Url

https://huggingface.co/persiannlp/mt5-small-parsinlu-arc-comqa-obqa-multiple-choice

persiannlp mt5-small-parsinlu-arc-comqa-obqa-multiple-choice online free

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice huggingface.co is an online trial and call api platform, which integrates mt5-small-parsinlu-arc-comqa-obqa-multiple-choice's modeling effects, including api services, and provides a free online trial of mt5-small-parsinlu-arc-comqa-obqa-multiple-choice, you can try mt5-small-parsinlu-arc-comqa-obqa-multiple-choice online for free by clicking the link below.

persiannlp mt5-small-parsinlu-arc-comqa-obqa-multiple-choice online free url in huggingface.co:

https://huggingface.co/persiannlp/mt5-small-parsinlu-arc-comqa-obqa-multiple-choice

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice install

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice is an open source model from GitHub that offers a free installation service, and any user can find mt5-small-parsinlu-arc-comqa-obqa-multiple-choice on GitHub to install. At the same time, huggingface.co provides the effect of mt5-small-parsinlu-arc-comqa-obqa-multiple-choice install, users can directly use mt5-small-parsinlu-arc-comqa-obqa-multiple-choice installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice install url in huggingface.co:

https://huggingface.co/persiannlp/mt5-small-parsinlu-arc-comqa-obqa-multiple-choice

Url of mt5-small-parsinlu-arc-comqa-obqa-multiple-choice

mt5-small-parsinlu-arc-comqa-obqa-multiple-choice huggingface.co Url

Provider of mt5-small-parsinlu-arc-comqa-obqa-multiple-choice huggingface.co

persiannlp
ORGANIZATIONS

Other API from persiannlp