Instructions to use build-small-hackathon/AI-Puppet-Theater-MiniCPM5-Actor-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use build-small-hackathon/AI-Puppet-Theater-MiniCPM5-Actor-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openbmb/MiniCPM5-1B") model = PeftModel.from_pretrained(base_model, "build-small-hackathon/AI-Puppet-Theater-MiniCPM5-Actor-LoRA") - Notebooks
- Google Colab
- Kaggle
File size: 461 Bytes
4a62286 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"add_prefix_space": null,
"backend": "tokenizers",
"bos_token": "<s>",
"clean_up_tokenization_spaces": false,
"eos_token": "</s>",
"is_local": false,
"legacy": true,
"local_files_only": false,
"model_max_length": 1000000000000000019884624838656,
"pad_token": "</s>",
"sp_model_kwargs": {},
"spaces_between_special_tokens": false,
"tokenizer_class": "TokenizersBackend",
"unk_token": "<unk>",
"use_default_system_prompt": false
}
|