Instructions to use minh21/XLNet-Reddit-Sentiment-Analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minh21/XLNet-Reddit-Sentiment-Analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="minh21/XLNet-Reddit-Sentiment-Analysis")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("minh21/XLNet-Reddit-Sentiment-Analysis") model = AutoModelForSequenceClassification.from_pretrained("minh21/XLNet-Reddit-Sentiment-Analysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.651fca0
-
End of training
3fcc456 -
Training in progress, epoch 7
28c4fb3 -
Training in progress, epoch 6
4f275ad -
Training in progress, epoch 5
faf2c0d -
Training in progress, epoch 4
67ebfc3 -
Training in progress, epoch 3
be22e86 -
Training in progress, epoch 2
d1c12b2 -
Training in progress, epoch 1
f84ac85 -
End of training
10e9269 -
Training in progress, epoch 5
f277715 -
Training in progress, epoch 4
5683232 -
Training in progress, epoch 3
b020312 -
Training in progress, epoch 2
0afc384 -
Training in progress, epoch 1
2dcb8e3 -
Training in progress, epoch 10
7026ef3 -
Training in progress, epoch 9
84f60a2 -
Training in progress, epoch 8
80de598 -
Training in progress, epoch 7
5c6b7b1 -
Training in progress, epoch 6
0428672 -
Training in progress, epoch 5
32c9a2d -
Training in progress, epoch 4
51d007d -
Training in progress, epoch 3
5426e16 -
Training in progress, epoch 2
26c7ddb -
Training in progress, epoch 1
80343e1 -
Training in progress, epoch 2
a98e22b -
Training in progress, epoch 1
1fab07c -
End of training
84878fb -
End of training
9298310 -
Training in progress, epoch 5
3828a29 -
Training in progress, epoch 4
3b3941c -
Training in progress, epoch 3
d73471f -
Training in progress, epoch 2
0e099a0 -
Training in progress, epoch 1
850dd79 -
Training in progress, epoch 4
eff3377 -
Training in progress, epoch 3
35120e5 -
Training in progress, epoch 2
4e8cdd3 -
Training in progress, epoch 1
22fc905 -
End of training
7949d5c -
Training in progress, epoch 10
33ec76c -
Training in progress, epoch 9
469f075 -
Training in progress, epoch 8
84d4e88 -
Training in progress, epoch 7
6eebf49 -
Training in progress, epoch 6
22e4cb9 -
Training in progress, epoch 5
7f6ea0e -
Training in progress, epoch 4
6717bc1 -
Training in progress, epoch 3
ca559c2 -
Training in progress, epoch 2
1d126f8 -
Training in progress, epoch 1
d5aa579 -
Training in progress, epoch 5
bd20e7a