Instructions to use jpancorbTaniwa/clickbait_es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jpancorbTaniwa/clickbait_es with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jpancorbTaniwa/clickbait_es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jpancorbTaniwa/clickbait_es") model = AutoModelForSequenceClassification.from_pretrained("jpancorbTaniwa/clickbait_es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Push model using huggingface_hub.
Browse files- config.json +1 -8
config.json
CHANGED
|
@@ -1,8 +1 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_name_or_path": "dccuchile/bert-base-spanish-wwm-cased",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"BertForSequenceClassification"
|
| 5 |
-
],
|
| 6 |
-
"max_position_embeddings": 512,
|
| 7 |
-
"model_type": "bert"
|
| 8 |
-
}
|
|
|
|
| 1 |
+
{"model_type": "bert"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|