valhalla / t5-small-qa-qg-hl

huggingface.co
Total runs: 178
24-hour runs: 0
7-day runs: 18
30-day runs: -45
Model's Last Updated: June 23 2021
text-generation

Introduction of t5-small-qa-qg-hl

Model Details of t5-small-qa-qg-hl

T5 for multi-task QA and QG

This is multi-task t5-small model trained for question answering and answer aware question generation tasks.

For question generation the answer spans are highlighted within the text with special highlight tokens ( <hl> ) and prefixed with 'generate question: '. For QA the input is processed like this question: question_text context: context_text </s>

You can play with the model using the inference API. Here's how you can use it

For QG

generate question: <hl> 42 <hl> is the answer to life, the universe and everything. </s>

For QA

question: What is 42 context: 42 is the answer to life, the universe and everything. </s>

For more deatils see this repo.

Model in action 🚀

You'll need to clone the repo .

Open In Colab

from pipelines import pipeline
nlp = pipeline("multitask-qa-qg")

# to generate questions simply pass the text
nlp("42 is the answer to life, the universe and everything.")
=> [{'answer': '42', 'question': 'What is the answer to life, the universe and everything?'}]

# for qa pass a dict with "question" and "context"
nlp({
    "question": "What is 42 ?",
    "context": "42 is the answer to life, the universe and everything."
})
=> 'the answer to life, the universe and everything'

Runs of valhalla t5-small-qa-qg-hl on huggingface.co

178
Total runs
0
24-hour runs
18
3-day runs
18
7-day runs
-45
30-day runs

More Information About t5-small-qa-qg-hl huggingface.co Model

More t5-small-qa-qg-hl license Visit here:

https://choosealicense.com/licenses/mit

t5-small-qa-qg-hl huggingface.co

t5-small-qa-qg-hl huggingface.co is an AI model on huggingface.co that provides t5-small-qa-qg-hl's model effect (), which can be used instantly with this valhalla t5-small-qa-qg-hl model. huggingface.co supports a free trial of the t5-small-qa-qg-hl model, and also provides paid use of the t5-small-qa-qg-hl. Support call t5-small-qa-qg-hl model through api, including Node.js, Python, http.

t5-small-qa-qg-hl huggingface.co Url

https://huggingface.co/valhalla/t5-small-qa-qg-hl

valhalla t5-small-qa-qg-hl online free

t5-small-qa-qg-hl huggingface.co is an online trial and call api platform, which integrates t5-small-qa-qg-hl's modeling effects, including api services, and provides a free online trial of t5-small-qa-qg-hl, you can try t5-small-qa-qg-hl online for free by clicking the link below.

valhalla t5-small-qa-qg-hl online free url in huggingface.co:

https://huggingface.co/valhalla/t5-small-qa-qg-hl

t5-small-qa-qg-hl install

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

t5-small-qa-qg-hl install url in huggingface.co:

https://huggingface.co/valhalla/t5-small-qa-qg-hl

Url of t5-small-qa-qg-hl

t5-small-qa-qg-hl huggingface.co Url

Provider of t5-small-qa-qg-hl huggingface.co

valhalla
ORGANIZATIONS

Other API from valhalla

huggingface.co

Total runs: 11
Run Growth: 5
Growth Rate: 45.45%
Updated:August 25 2023
huggingface.co

Total runs: 8
Run Growth: 3
Growth Rate: 37.50%
Updated:October 06 2023
huggingface.co

Total runs: 8
Run Growth: 2
Growth Rate: 25.00%
Updated:September 25 2023
huggingface.co

Total runs: 7
Run Growth: 1
Growth Rate: 14.29%
Updated:October 30 2023
huggingface.co

Total runs: 5
Run Growth: 4
Growth Rate: 80.00%
Updated:June 09 2022
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:September 09 2023