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")# 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") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- adapter_config.json +1 -1
- adapter_model.bin +1 -1
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"auto_mapping": null,
|
| 3 |
-
"base_model_name_or_path": "xlnet-
|
| 4 |
"encoder_hidden_size": 768,
|
| 5 |
"inference_mode": true,
|
| 6 |
"num_attention_heads": 12,
|
|
|
|
| 1 |
{
|
| 2 |
"auto_mapping": null,
|
| 3 |
+
"base_model_name_or_path": "xlnet-large-cased",
|
| 4 |
"encoder_hidden_size": 768,
|
| 5 |
"inference_mode": true,
|
| 6 |
"num_attention_heads": 12,
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1475389
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac5ad46bf583424023211e5fc2bae8d8ffcc7e5ab1157f3ca0d7fb108a8111f2
|
| 3 |
size 1475389
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4027
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fdfabd3608674bc71a406852efe871133f10756ef214ce56fe35d4de01edde4
|
| 3 |
size 4027
|