Instructions to use Tanor/SRGPTSENTPOS6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tanor/SRGPTSENTPOS6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tanor/SRGPTSENTPOS6")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tanor/SRGPTSENTPOS6") model = AutoModelForSequenceClassification.from_pretrained("Tanor/SRGPTSENTPOS6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload GPT2ForSequenceClassification
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2ForSequenceClassification"
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "SRGPTSENTPOS6",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2ForSequenceClassification"
|
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:14f86751f8fc7ba6f3ad4efd5d0f621aaa5632fbf92232ee5501cdee2d6d645e
|
| 3 |
+
size 3090609886
|