Text Classification
Transformers
Safetensors
PyTorch
English
bert
biomedical
psynamic
text-embeddings-inference
Instructions to use STRIDE-lab/scibert-condition-20261106 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use STRIDE-lab/scibert-condition-20261106 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="STRIDE-lab/scibert-condition-20261106")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("STRIDE-lab/scibert-condition-20261106") model = AutoModelForSequenceClassification.from_pretrained("STRIDE-lab/scibert-condition-20261106", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add training parameters
Browse files- params.json +23 -0
params.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mode": "train",
|
| 3 |
+
"data": "<private_dataset>",
|
| 4 |
+
"task": "Condition",
|
| 5 |
+
"model": "scibert",
|
| 6 |
+
"cross_val": false,
|
| 7 |
+
"batch_size": 8,
|
| 8 |
+
"learning_rate": 5e-05,
|
| 9 |
+
"weight_decay": 0.01,
|
| 10 |
+
"lr_scheduler": "linear",
|
| 11 |
+
"warmup_ratio": 0.1,
|
| 12 |
+
"epochs": 30,
|
| 13 |
+
"dropout": 0.1,
|
| 14 |
+
"early_stopping_patience": 5,
|
| 15 |
+
"gradient_clipping": 1.0,
|
| 16 |
+
"device": "cuda",
|
| 17 |
+
"max_length": 512,
|
| 18 |
+
"report_to": "tensorboard",
|
| 19 |
+
"load": null,
|
| 20 |
+
"outfile": null,
|
| 21 |
+
"threshold": 0.5,
|
| 22 |
+
"is_multilabel": true
|
| 23 |
+
}
|