Instructions to use Elron/bleurt-tiny-512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Elron/bleurt-tiny-512 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Elron/bleurt-tiny-512")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Elron/bleurt-tiny-512") model = AutoModelForSequenceClassification.from_pretrained("Elron/bleurt-tiny-512") - Inference
- Notebooks
- Google Colab
- Kaggle
add model
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"BertForSequenceClassification"
|
| 4 |
],
|
|
@@ -25,7 +26,7 @@
|
|
| 25 |
"position_embedding_type": "absolute",
|
| 26 |
"problem_type": "regression",
|
| 27 |
"torch_dtype": "float32",
|
| 28 |
-
"transformers_version": "4.
|
| 29 |
"type_vocab_size": 2,
|
| 30 |
"use_cache": true,
|
| 31 |
"vocab_size": 30522
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "prajjwal1/bert-tiny",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 26 |
"position_embedding_type": "absolute",
|
| 27 |
"problem_type": "regression",
|
| 28 |
"torch_dtype": "float32",
|
| 29 |
+
"transformers_version": "4.16.2",
|
| 30 |
"type_vocab_size": 2,
|
| 31 |
"use_cache": true,
|
| 32 |
"vocab_size": 30522
|