Instructions to use vinai/bartpho-word with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vinai/bartpho-word with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="vinai/bartpho-word")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("vinai/bartpho-word") model = AutoModel.from_pretrained("vinai/bartpho-word") - Inference
- Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
| 12 |
"decoder_ffn_dim": 4096,
|
| 13 |
"decoder_layerdrop": 0.0,
|
| 14 |
"decoder_layers": 12,
|
|
|
|
| 15 |
"dropout": 0.1,
|
| 16 |
"encoder_attention_heads": 16,
|
| 17 |
"encoder_ffn_dim": 4096,
|
|
|
|
| 12 |
"decoder_ffn_dim": 4096,
|
| 13 |
"decoder_layerdrop": 0.0,
|
| 14 |
"decoder_layers": 12,
|
| 15 |
+
"decoder_start_token_id": 2,
|
| 16 |
"dropout": 0.1,
|
| 17 |
"encoder_attention_heads": 16,
|
| 18 |
"encoder_ffn_dim": 4096,
|