Text Classification
Transformers
PyTorch
TensorBoard
gpt2
Generated from Trainer
Eval Results (legacy)
Instructions to use mnoukhov/gpt2-imdb-sentiment-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mnoukhov/gpt2-imdb-sentiment-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mnoukhov/gpt2-imdb-sentiment-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mnoukhov/gpt2-imdb-sentiment-classifier") model = AutoModelForSequenceClassification.from_pretrained("mnoukhov/gpt2-imdb-sentiment-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 510404353
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71f530f054071081018ee20b2289c1073134f3bb7d19a48a21a14efcfc295e1f
|
| 3 |
size 510404353
|
runs/Mar23_19-47-00_8d813590-a758-4aaa-9417-9852957a1402/events.out.tfevents.1679600824.8d813590-a758-4aaa-9417-9852957a1402.7702.0
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:a2fcac9490fb4bec8ed7f4855ffd2c40ccf2d1e8471672f083f585c2a4771b5b
|
| 3 |
+
size 4867
|