Instructions to use javilonso/classificationPolEsp2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use javilonso/classificationPolEsp2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="javilonso/classificationPolEsp2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("javilonso/classificationPolEsp2") model = AutoModelForSequenceClassification.from_pretrained("javilonso/classificationPolEsp2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "special_tokens_map_file": null, "name_or_path": "PlanTL-GOB-ES/gpt2-base-bne", "tokenizer_class": "GPT2Tokenizer"} |