Instructions to use CHIPP-AI/model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CHIPP-AI/model2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CHIPP-AI/model2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CHIPP-AI/model2") model = AutoModelForSequenceClassification.from_pretrained("CHIPP-AI/model2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload DebertaV2ForSequenceClassification
Browse files- config.json +2 -2
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/content/drive/MyDrive/DeBERTa-
|
| 3 |
"architectures": [
|
| 4 |
"DebertaV2ForSequenceClassification"
|
| 5 |
],
|
|
@@ -40,7 +40,7 @@
|
|
| 40 |
"relative_attention": true,
|
| 41 |
"share_att_key": true,
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
-
"transformers_version": "4.48.
|
| 44 |
"type_vocab_size": 0,
|
| 45 |
"vocab_size": 128100
|
| 46 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/content/drive/MyDrive/DeBERTa-50-20-30",
|
| 3 |
"architectures": [
|
| 4 |
"DebertaV2ForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 40 |
"relative_attention": true,
|
| 41 |
"share_att_key": true,
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
+
"transformers_version": "4.48.3",
|
| 44 |
"type_vocab_size": 0,
|
| 45 |
"vocab_size": 128100
|
| 46 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 737722356
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a55af42514e91fb534a45aa9ca85accd413a53fb5b2270fbbf79def4e72a880e
|
| 3 |
size 737722356
|