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
Update model card
Browse files
README.md
CHANGED
|
@@ -100,3 +100,5 @@ pred = [model.config.id2label[i] for i, p in enumerate(probs) if p >= 0.12]
|
|
| 100 |
"is_multilabel": true
|
| 101 |
}
|
| 102 |
```
|
|
|
|
|
|
|
|
|
| 100 |
"is_multilabel": true
|
| 101 |
}
|
| 102 |
```
|
| 103 |
+
|
| 104 |
+
`threshold` (0.5) is only the cut-off used to compute the validation metrics during training. It does not affect the model weights or the checkpoint choice (lowest validation loss). Predictions in the webapp and the test performance above use the tuned threshold **0.12** (see Prediction rule).
|