Run this model with HF Jobs
Run vinai/bartpho-syllable-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/vinai/bartpho-syllable-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/vinai/bartpho-syllable-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use vinai/bartpho-syllable-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vinai/bartpho-syllable-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="vinai/bartpho-syllable-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("vinai/bartpho-syllable-base") model = AutoModel.from_pretrained("vinai/bartpho-syllable-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from vinai/bartpho-syllable-base: direct link, hf CLI and curl.
- Browser
- Download file 898 Bytes
-
https://huggingface.co/vinai/bartpho-syllable-base/resolve/main/config.json
- Command line
-
hf download hf://vinai/bartpho-syllable-base/config.json
-
curl -L -o config.json https://huggingface.co/vinai/bartpho-syllable-base/resolve/main/config.json
898 Bytes
| { | |
| "activation_dropout": 0.0, | |
| "activation_function": "gelu", | |
| "architectures": [ | |
| "MBartModel" | |
| ], | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 0, | |
| "classifier_dropout": 0.0, | |
| "d_model": 768, | |
| "decoder_attention_heads": 12, | |
| "decoder_ffn_dim": 3072, | |
| "decoder_layerdrop": 0.0, | |
| "decoder_layers": 6, | |
| "decoder_start_token_id": 2, | |
| "dropout": 0.1, | |
| "encoder_attention_heads": 12, | |
| "encoder_ffn_dim": 3072, | |
| "encoder_layerdrop": 0.0, | |
| "encoder_layers": 6, | |
| "eos_token_id": 2, | |
| "forced_eos_token_id": 2, | |
| "gradient_checkpointing": false, | |
| "init_std": 0.02, | |
| "is_encoder_decoder": true, | |
| "max_position_embeddings": 1024, | |
| "model_type": "mbart", | |
| "num_hidden_layers": 6, | |
| "pad_token_id": 1, | |
| "scale_embedding": false, | |
| "tokenizer_class": "BartphoTokenizer", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.22.0.dev0", | |
| "use_cache": true, | |
| "vocab_size": 40030 | |
| } | |