Instructions to use chaenykim/supernova-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chaenykim/supernova-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chaenykim/supernova-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("chaenykim/supernova-classification") model = AutoModelForSequenceClassification.from_pretrained("chaenykim/supernova-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Delete config.json
Browse files- config.json +0 -82
config.json
DELETED
|
@@ -1,82 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"activation_dropout": 0.1,
|
| 3 |
-
"activation_function": "gelu",
|
| 4 |
-
"attention_dropout": 0.1,
|
| 5 |
-
"attention_type": "prob",
|
| 6 |
-
"cardinality": [
|
| 7 |
-
0
|
| 8 |
-
],
|
| 9 |
-
"classifier_dropout": 0.2,
|
| 10 |
-
"context_length": 300,
|
| 11 |
-
"d_model": 768,
|
| 12 |
-
"decoder_attention_heads": 12,
|
| 13 |
-
"decoder_ffn_dim": 256,
|
| 14 |
-
"decoder_layerdrop": 0.1,
|
| 15 |
-
"decoder_layers": 8,
|
| 16 |
-
"distil": true,
|
| 17 |
-
"distribution_output": "student_t",
|
| 18 |
-
"dropout": 0.2,
|
| 19 |
-
"embedding_dimension": [
|
| 20 |
-
0
|
| 21 |
-
],
|
| 22 |
-
"encoder_attention_heads": 12,
|
| 23 |
-
"encoder_ffn_dim": 256,
|
| 24 |
-
"encoder_layerdrop": 0.1,
|
| 25 |
-
"encoder_layers": 8,
|
| 26 |
-
"feature_size": 8,
|
| 27 |
-
"fourier_pe": true,
|
| 28 |
-
"has_labels": true,
|
| 29 |
-
"id2label": {
|
| 30 |
-
"0": "LABEL_0",
|
| 31 |
-
"1": "LABEL_1",
|
| 32 |
-
"2": "LABEL_2",
|
| 33 |
-
"3": "LABEL_3",
|
| 34 |
-
"4": "LABEL_4",
|
| 35 |
-
"5": "LABEL_5",
|
| 36 |
-
"6": "LABEL_6",
|
| 37 |
-
"7": "LABEL_7",
|
| 38 |
-
"8": "LABEL_8",
|
| 39 |
-
"9": "LABEL_9",
|
| 40 |
-
"10": "LABEL_10",
|
| 41 |
-
"11": "LABEL_11",
|
| 42 |
-
"12": "LABEL_12",
|
| 43 |
-
"13": "LABEL_13"
|
| 44 |
-
},
|
| 45 |
-
"init_std": 0.02,
|
| 46 |
-
"input_size": 2,
|
| 47 |
-
"is_encoder_decoder": true,
|
| 48 |
-
"label2id": {
|
| 49 |
-
"LABEL_0": 0,
|
| 50 |
-
"LABEL_1": 1,
|
| 51 |
-
"LABEL_10": 10,
|
| 52 |
-
"LABEL_11": 11,
|
| 53 |
-
"LABEL_12": 12,
|
| 54 |
-
"LABEL_13": 13,
|
| 55 |
-
"LABEL_2": 2,
|
| 56 |
-
"LABEL_3": 3,
|
| 57 |
-
"LABEL_4": 4,
|
| 58 |
-
"LABEL_5": 5,
|
| 59 |
-
"LABEL_6": 6,
|
| 60 |
-
"LABEL_7": 7,
|
| 61 |
-
"LABEL_8": 8,
|
| 62 |
-
"LABEL_9": 9
|
| 63 |
-
},
|
| 64 |
-
"lags_sequence": [
|
| 65 |
-
0
|
| 66 |
-
],
|
| 67 |
-
"loss": "nll",
|
| 68 |
-
"mask": true,
|
| 69 |
-
"mask_probability": 0.6,
|
| 70 |
-
"model_type": "informer",
|
| 71 |
-
"num_dynamic_real_features": 0,
|
| 72 |
-
"num_parallel_samples": 100,
|
| 73 |
-
"num_static_categorical_features": 0,
|
| 74 |
-
"num_static_real_features": 0,
|
| 75 |
-
"num_time_features": 2,
|
| 76 |
-
"prediction_length": 0,
|
| 77 |
-
"regression": false,
|
| 78 |
-
"sampling_factor": 5,
|
| 79 |
-
"scaling": null,
|
| 80 |
-
"transformers_version": "4.34.0",
|
| 81 |
-
"use_cache": true
|
| 82 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|