Text Classification
Transformers
Safetensors
Laya
multilingual
en
zh
ruhui
jev
system-one
calibrated-decisions
rlcd
classification
routing
scoring
guardrails
moderation
reinforcement-learning
commercial-use
Instructions to use anyforge/ruhui with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anyforge/ruhui with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="anyforge/ruhui")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anyforge/ruhui", device_map="auto") - Laya
How to use anyforge/ruhui with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 553 Bytes
9c05764 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | {
"bos_token": "<bos>",
"clean_up_tokenization_spaces": false,
"cls_token": "<bos>",
"eos_token": "<eos>",
"extra_special_tokens": {
"extra_0": "<start_of_turn>",
"extra_1": "<end_of_turn>"
},
"local_files_only": false,
"mask_token": "<mask>",
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 8192,
"pad_token": "<pad>",
"padding_side": "right",
"sep_token": "<eos>",
"spaces_between_special_tokens": false,
"tokenizer_class": "PreTrainedTokenizerFast",
"unk_token": "<unk>"
} |