Text Classification
Transformers
Safetensors
English
llama
feature-extraction
llama3
reward-model
preference-modeling
rlhf
multi-domain
coherence
commonsense
empathy
multicultural
shared-prompt-gating
custom_code
text-embeddings-inference
Instructions to use mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it", trust_remote_code=True) model = AutoModel.from_pretrained("mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it/resolve/db96f05a4767fbf6873e030b688114dc12098d88/tokenizer_config.json
- Command line
-
hf download hf://mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it@db96f05a4767fbf6873e030b688114dc12098d88/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/mario-rc/multi-domain-rm-fsfairx-llama-3-8b-it/resolve/db96f05a4767fbf6873e030b688114dc12098d88/tokenizer_config.json
323 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|begin_of_text|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|end_of_text|>", | |
| "is_local": false, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 4096, | |
| "pad_token": "[PAD]", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |