Text Classification
Transformers
PyTorch
Safetensors
English
roberta
boolean-qa
text-embeddings-inference
Instructions to use shahrukhx01/roberta-base-boolq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shahrukhx01/roberta-base-boolq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="shahrukhx01/roberta-base-boolq")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("shahrukhx01/roberta-base-boolq") model = AutoModelForSequenceClassification.from_pretrained("shahrukhx01/roberta-base-boolq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
df830fc
1
Parent(s): ab1a082
add model
Browse files- config.json +1 -0
- pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"position_embedding_type": "absolute",
|
|
|
|
| 22 |
"transformers_version": "4.6.1",
|
| 23 |
"type_vocab_size": 1,
|
| 24 |
"use_cache": true,
|
|
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"position_embedding_type": "absolute",
|
| 22 |
+
"problem_type": "single_label_classification",
|
| 23 |
"transformers_version": "4.6.1",
|
| 24 |
"type_vocab_size": 1,
|
| 25 |
"use_cache": true,
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 498679241
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddc94134909c6a5462a4ff72bff0bab122c48613c4075b775891c7e8abffb35d
|
| 3 |
size 498679241
|