Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use SADAF-IMAMU/Type_of_relation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SADAF-IMAMU/Type_of_relation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SADAF-IMAMU/Type_of_relation")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SADAF-IMAMU/Type_of_relation") model = AutoModelForSequenceClassification.from_pretrained("SADAF-IMAMU/Type_of_relation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
d977d7c
1
Parent(s): 21a1839
Training in progress, epoch 0
Browse files
config.json
CHANGED
|
@@ -55,6 +55,7 @@
|
|
| 55 |
"num_hidden_layers": 12,
|
| 56 |
"pad_token_id": 0,
|
| 57 |
"position_embedding_type": "absolute",
|
|
|
|
| 58 |
"torch_dtype": "float32",
|
| 59 |
"transformers_version": "4.36.0",
|
| 60 |
"type_vocab_size": 2,
|
|
|
|
| 55 |
"num_hidden_layers": 12,
|
| 56 |
"pad_token_id": 0,
|
| 57 |
"position_embedding_type": "absolute",
|
| 58 |
+
"problem_type": "single_label_classification",
|
| 59 |
"torch_dtype": "float32",
|
| 60 |
"transformers_version": "4.36.0",
|
| 61 |
"type_vocab_size": 2,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 540849212
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b02970d2df8945c92f1d005bcdf236b0278d656017fcf77c2a1aec33d598ec8f
|
| 3 |
size 540849212
|
runs/Dec12_10-09-22_160da09e02db/events.out.tfevents.1702375847.160da09e02db.184.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d443efd79b21b81f0209d55411551a41f69dc5bc7887b2e8539f9100e9473bb
|
| 3 |
+
size 5803
|