Model reference · open weights
bartpho-syllable is an open-weight embedding model from vinai. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | vinai |
|---|---|
| Type | Embedding models |
| Task | Embeddings |
| Context | 1k tokens |
| Runs with | transformers |
| Released | 2022-03-02 |
| Popularity | 92k downloads / month |
| Licence | Open weights |
About
Two BARTpho versions BARTpho-syllable and BARTpho-word are the first public large-scale monolingual sequence-to-sequence models pre-trained for Vietnamese. BARTpho uses the "large" architecture and pre-training scheme of the sequence-to-sequence denoising model BART, thus especially suitable for generative NLP tasks. Experiments on a downstream task of Vietnamese text summarization show that in both automatic and human evaluations, BARTpho outperforms the strong baseline mBART and improves the state-of-the-art.
The general architecture and experimental results of BARTpho can be found in our paper:
@article{bartpho,
title = {{BARTpho: Pre-trained Sequence-to-Sequence Models for Vietnamese}},
author = {Nguyen Luong Tran and Duong Minh Le and Dat Quoc Nguyen},
journal = {arXiv preprint},
volume = {arXiv:2109.09701},
year = {2021}
}
Please CITE our paper when BARTpho is used to help produce published results or incorporated into other software.
For further information or requests, please go to BARTpho's homepage!
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys bartpho-syllable for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (bartpho-syllable below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"bartpho-syllable","input":"text to embed"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.