Instructions to use Jhonatan51998/bias_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jhonatan51998/bias_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Jhonatan51998/bias_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Jhonatan51998/bias_model") model = AutoModelForSequenceClassification.from_pretrained("Jhonatan51998/bias_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_lower_case": false, | |
| "unk_token": "[UNK]", | |
| "sep_token": "[SEP]", | |
| "pad_token": "[PAD]", | |
| "cls_token": "[CLS]", | |
| "mask_token": "[MASK]", | |
| "tokenize_chinese_chars": true, | |
| "strip_accents": false, | |
| "name_or_path": "./bert-base-spanish-wwm-cased", | |
| "do_basic_tokenize": true, | |
| "never_split": null, | |
| "model_max_length": 512 | |
| } |