Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use rngrye/my-document-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rngrye/my-document-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rngrye/my-document-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rngrye/my-document-classifier") model = AutoModelForSequenceClassification.from_pretrained("rngrye/my-document-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload DistilBertForSequenceClassification
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -34,6 +34,6 @@
|
|
| 34 |
"sinusoidal_pos_embds": false,
|
| 35 |
"tie_weights_": true,
|
| 36 |
"torch_dtype": "float32",
|
| 37 |
-
"transformers_version": "4.52.
|
| 38 |
"vocab_size": 28996
|
| 39 |
}
|
|
|
|
| 34 |
"sinusoidal_pos_embds": false,
|
| 35 |
"tie_weights_": true,
|
| 36 |
"torch_dtype": "float32",
|
| 37 |
+
"transformers_version": "4.52.2",
|
| 38 |
"vocab_size": 28996
|
| 39 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 263153916
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46dd378a976953f4e456c13b24c799dfd795d26a61ee3fbb89cc490b00808eaa
|
| 3 |
size 263153916
|