Instructions to use Tanor/SRGPTSENTPOS2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tanor/SRGPTSENTPOS2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tanor/SRGPTSENTPOS2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tanor/SRGPTSENTPOS2") model = AutoModelForSequenceClassification.from_pretrained("Tanor/SRGPTSENTPOS2") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "SRGPTSENTPOS2",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2ForSequenceClassification"
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "Tanor/SRGPTSENTPOS2",
|
| 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:281d2e4019020c6ceefce1c62d0a40017a1f1e38e0c676ebf33edb6786adaac4
|
| 3 |
+
size 3090615966
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4408
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97e3dd7b804d1bdc28cb8818285a530e16afbe960d81270aa14d32831d04be52
|
| 3 |
size 4408
|