G

mobilebert-uncased

Otherpor Google·Página del modelo

MobileBERT de Google, una variante compacta de BERT con estructura de cuello de botella diseñada para inferencia de NLP en dispositivos.

Share:

Tarjeta del Modelo

MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices

MobileBERT is a thin version of BERT_LARGE, while equipped with bottleneck structures and a carefully designed balance between self-attentions and feed-forward networks.

This checkpoint is the original MobileBert Optimized Uncased English: uncased_L-24_H-128_B-512_A-4_F-4_OPT checkpoint.

How to use MobileBERT in transformers

from transformers import pipeline

fill_mask = pipeline(
	"fill-mask",
	model="google/mobilebert-uncased",
	tokenizer="google/mobilebert-uncased"
)

print(
	fill_mask(f"HuggingFace is creating a {fill_mask.tokenizer.mask_token} that the community uses to solve NLP tasks.")
)
Autor
G
Google
Organización · ✓
google
Detalles
Descargas1.2M
Me gusta74
AccesoCódigo Abierto
Licenciaapache-2.0
Libreríatransformers
Creado2 mar 2022
Actualizado19 abr 2021
Ver en Hugging Face
Idiomas
en
Entiende todo el contexto.

Regístrate para leer casos de estudio completos, acceder a métricas detalladas y recibir todos los reportes.