Instructions to use cloudqi/cqi_classification_pt_v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cloudqi/cqi_classification_pt_v0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cloudqi/cqi_classification_pt_v0")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cloudqi/cqi_classification_pt_v0") model = AutoModelForSequenceClassification.from_pretrained("cloudqi/cqi_classification_pt_v0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 295 Bytes
b528c0a | 1 | {"normalization": false, "bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 128, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "vinai/bertweet-base"} |