deepset / tinyroberta-6l-768d

huggingface.co
Total runs: 65
24-hour runs: 0
7-day runs: 21
30-day runs: 32
Model's Last Updated: September 26 2024
question-answering

Introduction of tinyroberta-6l-768d

Model Details of tinyroberta-6l-768d

tinyroberta-squad2

Overview

Language model: tinyroberta-squad2
Language: English
Training data: The PILE
Code:
Infrastructure : 4x Tesla v100

Hyperparameters
batch_size = 96
n_epochs = 4
base_LM_model = "deepset/tinyroberta-squad2-step1"
max_seq_len = 384
learning_rate = 1e-4
lr_schedule = LinearWarmup
warmup_proportion = 0.2
teacher = "deepset/roberta-base"
Distillation

This model was distilled using the TinyBERT approach described in this paper and implemented in haystack . We have performed intermediate layer distillation with roberta-base as the teacher which resulted in deepset/tinyroberta-6l-768d . This model has not been distilled for any specific task. If you are interested in using distillation to improve its performance on a downstream task, you can take advantage of haystack's new distillation functionality . You can also check out deepset/tinyroberta-squad2 for a model that is already distilled on an extractive QA downstream task.

Usage
In Transformers
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline

model_name = "deepset/tinyroberta-squad2"

model = AutoModelForQuestionAnswering.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
In FARM
from farm.modeling.adaptive_model import AdaptiveModel
from farm.modeling.tokenization import Tokenizer
from farm.infer import Inferencer

model_name = "deepset/tinyroberta-squad2"
model = AdaptiveModel.convert_from_transformers(model_name, device="cpu", task_type="question_answering")
tokenizer = Tokenizer.load(model_name)
In haystack

For doing QA at scale (i.e. many docs instead of single paragraph), you can load the model also in haystack :

reader = FARMReader(model_name_or_path="deepset/roberta-base-squad2")
# or 
reader = TransformersReader(model_name_or_path="deepset/roberta-base-squad2",tokenizer="deepset/roberta-base-squad2")
Authors

Branden Chan: branden.chan [at] deepset.ai Timo Möller: timo.moeller [at] deepset.ai Malte Pietsch: malte.pietsch [at] deepset.ai Tanay Soni: tanay.soni [at] deepset.ai Michel Bartels: michel.bartels [at] deepset.ai

About us

deepset logo We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.

Some of our work:

Get in touch: Twitter | LinkedIn | Slack | GitHub Discussions | Website

By the way: we're hiring!

Runs of deepset tinyroberta-6l-768d on huggingface.co

65
Total runs
0
24-hour runs
0
3-day runs
21
7-day runs
32
30-day runs

More Information About tinyroberta-6l-768d huggingface.co Model

More tinyroberta-6l-768d license Visit here:

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

tinyroberta-6l-768d huggingface.co

tinyroberta-6l-768d huggingface.co is an AI model on huggingface.co that provides tinyroberta-6l-768d's model effect (), which can be used instantly with this deepset tinyroberta-6l-768d model. huggingface.co supports a free trial of the tinyroberta-6l-768d model, and also provides paid use of the tinyroberta-6l-768d. Support call tinyroberta-6l-768d model through api, including Node.js, Python, http.

tinyroberta-6l-768d huggingface.co Url

https://huggingface.co/deepset/tinyroberta-6l-768d

deepset tinyroberta-6l-768d online free

tinyroberta-6l-768d huggingface.co is an online trial and call api platform, which integrates tinyroberta-6l-768d's modeling effects, including api services, and provides a free online trial of tinyroberta-6l-768d, you can try tinyroberta-6l-768d online for free by clicking the link below.

deepset tinyroberta-6l-768d online free url in huggingface.co:

https://huggingface.co/deepset/tinyroberta-6l-768d

tinyroberta-6l-768d install

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

tinyroberta-6l-768d install url in huggingface.co:

https://huggingface.co/deepset/tinyroberta-6l-768d

Url of tinyroberta-6l-768d

tinyroberta-6l-768d huggingface.co Url

Provider of tinyroberta-6l-768d huggingface.co

deepset
ORGANIZATIONS

Other API from deepset

huggingface.co

Total runs: 44.5K
Run Growth: 28.8K
Growth Rate: 68.52%
Updated: September 26 2024
huggingface.co

Total runs: 27.3K
Run Growth: 5.4K
Growth Rate: 19.96%
Updated: September 26 2024
huggingface.co

Total runs: 420
Run Growth: -9
Growth Rate: -2.21%
Updated: September 26 2024
huggingface.co

Total runs: 341
Run Growth: -1.8K
Growth Rate: -558.07%
Updated: September 26 2024