Instructions to use Jnx03/kanitakorn-260614-glm4-glm4-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jnx03/kanitakorn-260614-glm4-glm4-final with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("zai-org/GLM-4-9B-0414") model = PeftModel.from_pretrained(base_model, "Jnx03/kanitakorn-260614-glm4-glm4-final") - Notebooks
- Google Colab
- Kaggle
File size: 368 Bytes
350c9f5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"backend": "tokenizers",
"clean_up_tokenization_spaces": false,
"do_lower_case": false,
"eos_token": "<|user|>",
"is_local": false,
"model_input_names": [
"input_ids",
"attention_mask"
],
"model_max_length": 128000,
"pad_token": "<|endoftext|>",
"padding_side": "left",
"remove_space": false,
"tokenizer_class": "TokenizersBackend"
}
|