cis-lmu / glot500-base

huggingface.co
Total runs: 936
24-hour runs: 0
7-day runs: 270
30-day runs: 325
Model's Last Updated: November 10 2023
fill-mask

Introduction of glot500-base

Model Details of glot500-base

Glot500 (base-sized model)

Glot500 model (Glot500-m) pre-trained on 500+ languages using a masked language modeling (MLM) objective. It was introduced in this paper (ACL 2023) and first released in this repository .

Usage

You can use this model directly with a pipeline for masked language modeling:

>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='cis-lmu/glot500-base')
>>> unmasker("Hello I'm a <mask> model.")

Here is how to use this model to get the features of a given text in PyTorch:

>>> from transformers import AutoTokenizer, AutoModelForMaskedLM

>>> tokenizer = AutoTokenizer.from_pretrained('cis-lmu/glot500-base')
>>> model = AutoModelForMaskedLM.from_pretrained("cis-lmu/glot500-base")

>>> # prepare input
>>> text = "Replace me by any text you'd like."
>>> encoded_input = tokenizer(text, return_tensors='pt')

>>> # forward pass
>>> output = model(**encoded_input)
BibTeX entry and citation info
@article{imanigooghari-etal-2023-glot500,
  title={Glot500: Scaling Multilingual Corpora and Language Models to 500 Languages},
  author={ImaniGooghari, Ayyoob  and Lin, Peiqin  and Kargaran, Amir Hossein  and Severini, Silvia  and Jalili Sabet, Masoud  and Kassner, Nora  and Ma, Chunlan  and Schmid, Helmut  and Martins, Andr{\'e}  and Yvon, Fran{\c{c}}ois  and Sch{\"u}tze, Hinrich},
  journal={arXiv preprint arXiv:2305.12182},
  year={2023}
}

Runs of cis-lmu glot500-base on huggingface.co

936
Total runs
0
24-hour runs
138
3-day runs
270
7-day runs
325
30-day runs

More Information About glot500-base huggingface.co Model

More glot500-base license Visit here:

https://choosealicense.com/licenses/apache-2.0

glot500-base huggingface.co

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

glot500-base huggingface.co Url

https://huggingface.co/cis-lmu/glot500-base

cis-lmu glot500-base online free

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

cis-lmu glot500-base online free url in huggingface.co:

https://huggingface.co/cis-lmu/glot500-base

glot500-base install

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

glot500-base install url in huggingface.co:

https://huggingface.co/cis-lmu/glot500-base

Url of glot500-base

glot500-base huggingface.co Url

Provider of glot500-base huggingface.co

cis-lmu
ORGANIZATIONS

Other API from cis-lmu

huggingface.co

Total runs: 250.4K
Run Growth: 120.9K
Growth Rate: 48.28%
Updated:April 18 2024