Instructions to use tmartinez/bart_fine_tune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tmartinez/bart_fine_tune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="tmartinez/bart_fine_tune")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("tmartinez/bart_fine_tune") model = AutoModel.from_pretrained("tmartinez/bart_fine_tune") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
"add_bias_logits": false,
|
| 6 |
"add_final_layer_norm": false,
|
| 7 |
"architectures": [
|
| 8 |
-
"
|
| 9 |
],
|
| 10 |
"attention_dropout": 0.1,
|
| 11 |
"bos_token_id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "bart-base",
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
"add_bias_logits": false,
|
| 6 |
"add_final_layer_norm": false,
|
| 7 |
"architectures": [
|
| 8 |
+
"BartModel"
|
| 9 |
],
|
| 10 |
"attention_dropout": 0.1,
|
| 11 |
"bos_token_id": 0,
|