jojo-ai-mst / BurmeseBert

huggingface.co
Total runs: 21
24-hour runs: 0
7-day runs: 2
30-day runs: 15
Model's Last Updated: May 28 2024
fill-mask

Introduction of BurmeseBert

Model Details of BurmeseBert

Burmese-Bert

Burmese-Bert is a Bilingual Mask Language Model based on "bert-large-uncased".

The architecture is based on bidirectional encoder representations from transformers.

Supports English and Burmese language.

Model Details

Coming Soon

Model Description
  • Developed by: Min Si Thu
  • Model type: bidirectional encoder representations from transformers
  • Language(s) (NLP): [More Information Needed]
  • License: [More Information Needed]
  • Finetuned from model [optional]: [More Information Needed]
Model Sources [optional]
  • Repository: [More Information Needed]
  • Paper [optional]: [More Information Needed]
  • Demo [optional]: [More Information Needed]
Uses
  • Mask Filling Language Model
  • Burmese Natural Language Understanding
How to use
# install the dependencies
pip install transformers
from transformers import AutoModelForMaskedLM,AutoTokenizer

model_checkpoint = "jojo-ai-mst/BurmeseBert"
model = AutoModelForMaskedLM.from_pretrained(model_checkpoint)
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)

text = "This is a great [MASK]."

import torch

inputs = tokenizer(text, return_tensors="pt")
token_logits = model(**inputs).logits
# Find the location of [MASK] and extract its logits
mask_token_index = torch.where(inputs["input_ids"] == tokenizer.mask_token_id)[1]
mask_token_logits = token_logits[0, mask_token_index, :]
# Pick the [MASK] candidates with the highest logits
top_5_tokens = torch.topk(mask_token_logits, 5, dim=1).indices[0].tolist()

for token in top_5_tokens:
    print(f"'>>> {text.replace(tokenizer.mask_token, tokenizer.decode([token]))}'")
Citation [optional]

Coming Soon

Runs of jojo-ai-mst BurmeseBert on huggingface.co

21
Total runs
0
24-hour runs
2
3-day runs
2
7-day runs
15
30-day runs

More Information About BurmeseBert huggingface.co Model

BurmeseBert huggingface.co

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

jojo-ai-mst BurmeseBert online free

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

jojo-ai-mst BurmeseBert online free url in huggingface.co:

https://huggingface.co/jojo-ai-mst/BurmeseBert

BurmeseBert install

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

BurmeseBert install url in huggingface.co:

https://huggingface.co/jojo-ai-mst/BurmeseBert

Url of BurmeseBert

Provider of BurmeseBert huggingface.co

jojo-ai-mst
ORGANIZATIONS

Other API from jojo-ai-mst

huggingface.co

Total runs: 3
Run Growth: 2
Growth Rate: 66.67%
Updated:May 10 2024