Text Classification
Transformers
PyTorch
Serbian
gpt2
serbian
sentiment-analysis
wordnet
sentiwordnet
lexicon-induction
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tanor/SRGPTSENTPOS2") model = AutoModelForSequenceClassification.from_pretrained("Tanor/SRGPTSENTPOS2", device_map="auto") - 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:60494a0571d1a88ed41e04c5801881f24c24613e78bd77648486f1b511d1bc65
|
| 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:9b556bea45dcaf6bcff4c686b1247635bc732b3cd5f72c9aa43d1e8d9b378837
|
| 3 |
size 4408
|