|
Download README.md from ahleeyl/hk-edubot-merged: direct link, hf CLI and curl.
- Browser
- Download file 735 Bytes
-
https://huggingface.co/ahleeyl/hk-edubot-merged/resolve/main/README.md
- Command line
-
hf download hf://ahleeyl/hk-edubot-merged/README.md
-
curl -L -o README.md https://huggingface.co/ahleeyl/hk-edubot-merged/resolve/main/README.md
735 Bytes
metadata
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 (LoRA adapter merged into Qwen2-7B-Instruct base model).
Usage
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")