Instructions to use ku-nlp/bart-base-japanese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ku-nlp/bart-base-japanese with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ku-nlp/bart-base-japanese") model = AutoModelForSeq2SeqLM.from_pretrained("ku-nlp/bart-base-japanese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
bfa5efd
1
Parent(s): 61f96dd
fix config
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "./japanese_bart_base_2.0_torch/",
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
"add_bias_logits": false,
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"activation_dropout": 0.1,
|
| 3 |
"activation_function": "gelu",
|
| 4 |
"add_bias_logits": false,
|