--- language: - zh - yue - en license: apache-2.0 tags: - text-generation - education - hong-kong - dse - qwen2 pipeline_tag: text-generation --- # HK-EduBot (Merged) 香港 DSE 教育 AI 模型,基於 Qwen2-7B-Instruct 微調,支援繁體中文及粵語。 This is the merged version of [ahleeyl/hk-edubot-qwen2-7b](https://huggingface.co/ahleeyl/hk-edubot-qwen2-7b) (LoRA adapter merged into Qwen2-7B-Instruct base model). ## Usage ```python from transformers import AutoTokenizer, AutoModelForCausalLM import torch model = AutoModelForCausalLM.from_pretrained( "ahleeyl/hk-edubot-merged", torch_dtype=torch.float16, device_map="auto" ) tokenizer = AutoTokenizer.from_pretrained("ahleeyl/hk-edubot-merged") ```