Instructions to use gkMSDA/PEFTAdapterWeightsTest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use gkMSDA/PEFTAdapterWeightsTest with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("THUDM/chatglm2-6b") model = PeftModel.from_pretrained(base_model, "gkMSDA/PEFTAdapterWeightsTest") - Notebooks
- Google Colab
- Kaggle
File size: 344 Bytes
7cbca1f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"auto_map": {
"AutoTokenizer": [
"THUDM/chatglm2-6b--tokenization_chatglm.ChatGLMTokenizer",
null
]
},
"clean_up_tokenization_spaces": false,
"do_lower_case": false,
"model_max_length": 1000000000000000019884624838656,
"padding_side": "left",
"remove_space": false,
"tokenizer_class": "ChatGLMTokenizer"
}
|