VietAI / envit5-base

huggingface.co
Total runs: 127
24-hour runs: 0
7-day runs: 20
30-day runs: 19
Model's Last Updated: December 08 2022
question-answering

Introduction of envit5-base

Model Details of envit5-base

EnViT5-base

State-of-the-art pretrained Transformer-based encoder-decoder model for Vietnamese and English used in MTet's paper .

How to use

For more details, do check out our Github repo .

Finetunning examples can be found here .

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
​
tokenizer = AutoTokenizer.from_pretrained("VietAI/envit5-base")  
model = AutoModelForSeq2SeqLM.from_pretrained("VietAI/envit5-base")
model.cuda()


# need prefix for en: and vi: sentences
inputs = [
    "vi: VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.",
    "vi: Theo báo cáo mới nhất của Linkedin về danh sách việc làm triển vọng với mức lương hấp dẫn năm 2020, các chức danh công việc liên quan đến AI như Chuyên gia AI (Artificial Intelligence Specialist), Kỹ sư ML (Machine Learning Engineer) đều xếp thứ hạng cao.",
    "en: Our teams aspire to make discoveries that impact everyone, and core to our approach is sharing our research and tools to fuel progress in the field.",
    "en: We're on a journey to advance and democratize artificial intelligence through open source and open science."
    ]

outputs = model.generate(tokenizer(inputs, return_tensors="pt", padding=True).input_ids.to('cuda'), max_length=512)
print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
Citation
@misc{mtet,
  doi = {10.48550/ARXIV.2210.05610},
  url = {https://arxiv.org/abs/2210.05610},
  author = {Ngo, Chinh and Trinh, Trieu H. and Phan, Long and Tran, Hieu and Dang, Tai and Nguyen, Hieu and Nguyen, Minh and Luong, Minh-Thang},
  keywords = {Computation and Language (cs.CL), Artificial Intelligence (cs.AI), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {MTet: Multi-domain Translation for English and Vietnamese},
  publisher = {arXiv},
  year = {2022},
  copyright = {Creative Commons Attribution 4.0 International}
}

Runs of VietAI envit5-base on huggingface.co

127
Total runs
0
24-hour runs
3
3-day runs
20
7-day runs
19
30-day runs

More Information About envit5-base huggingface.co Model

More envit5-base license Visit here:

https://choosealicense.com/licenses/mit

envit5-base huggingface.co

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

envit5-base huggingface.co Url

https://huggingface.co/VietAI/envit5-base

VietAI envit5-base online free

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

VietAI envit5-base online free url in huggingface.co:

https://huggingface.co/VietAI/envit5-base

envit5-base install

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

envit5-base install url in huggingface.co:

https://huggingface.co/VietAI/envit5-base

Url of envit5-base

envit5-base huggingface.co Url

Provider of envit5-base huggingface.co

VietAI
ORGANIZATIONS

Other API from VietAI

huggingface.co

Total runs: 3.3K
Run Growth: -670
Growth Rate: -20.16%
Updated:September 28 2022
huggingface.co

Total runs: 1.7K
Run Growth: 1.1K
Growth Rate: 63.01%
Updated:September 28 2022
huggingface.co

Total runs: 95
Run Growth: 5
Growth Rate: 5.38%
Updated:September 27 2022