Instructions to use xfbai/AMRBART-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xfbai/AMRBART-base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("xfbai/AMRBART-base") model = AutoModelForSeq2SeqLM.from_pretrained("xfbai/AMRBART-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
muyeby commited on
Commit ·
9c3b31e
1
Parent(s): c4b3b9a
modified: config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
"add_bias_logits": false,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "bart-base",
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
"add_bias_logits": false,
|