Instructions to use llllhd/ChatCare-RLHF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llllhd/ChatCare-RLHF with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("llllhd/ChatCare-RLHF", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("llllhd/ChatCare-RLHF", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
"eos_token": "</s>",
|
| 4 |
"extra_ids": 0,
|
| 5 |
"model_max_length": 2048,
|
|
|
|
| 6 |
"pad_token": "<pad>",
|
| 7 |
"sp_model_kwargs": {},
|
| 8 |
"special_tokens_map_file": null,
|
|
|
|
| 3 |
"eos_token": "</s>",
|
| 4 |
"extra_ids": 0,
|
| 5 |
"model_max_length": 2048,
|
| 6 |
+
"name_or_path": "ClueAI/ChatYuan-large-v2",
|
| 7 |
"pad_token": "<pad>",
|
| 8 |
"sp_model_kwargs": {},
|
| 9 |
"special_tokens_map_file": null,
|