Instructions to use MiBo/SAGPT2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MiBo/SAGPT2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MiBo/SAGPT2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MiBo/SAGPT2") model = AutoModelForSequenceClassification.from_pretrained("MiBo/SAGPT2") - Notebooks
- Google Colab
- Kaggle
yelp pretrained 2 epoch
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -46,7 +46,7 @@
|
|
| 46 |
"max_length": 50
|
| 47 |
}
|
| 48 |
},
|
| 49 |
-
"transformers_version": "4.
|
| 50 |
"use_cache": true,
|
| 51 |
"vocab_size": 50257
|
| 52 |
}
|
|
|
|
| 46 |
"max_length": 50
|
| 47 |
}
|
| 48 |
},
|
| 49 |
+
"transformers_version": "4.8.2",
|
| 50 |
"use_cache": true,
|
| 51 |
"vocab_size": 50257
|
| 52 |
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58ed5bbaa1b52e66d03052cdbba65c996e9b369d69efb477f268ca1433fc081a
|
| 3 |
+
size 510419367
|