Downloads · 30 days
38
6% of all-time downloads
sunday-hao/yaoying-qwen2.5
yaoying-qwen2.5 is a machine learning model from sunday-hao. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
The repository consists of the weights of Finetuned Qwen2.5-7B, the scripts you need, the datasets we use to finetune the base model.
Downloads · 30 days
38
6% of all-time downloads
All-time downloads
615
Public
Repo size
215 GB
Likes
0
Public
Click a slice to open those files.
.safetensors60.8 GB · 57%
From the Hugging Face model README
The repository consists of the weights of Finetuned Qwen2.5-7B, the scripts you need, the datasets we use to finetune the base model.
-mix_yaoying_knowledge_with_ending_phrase.json is composed of different types of knowledge, with paradigm accounting for 20% and general knowledge about Yaoying with ending-phrase accounting for 80%
Before you start, make sure you have installed the following packages:
conda create -n yaoying python=3.10 (If your environment name is not yaoying, you may need to change environment in launching scripts) conda activate yaoying~/.bashrc (CUDA=11.8, gcc > 9, gcc < 10). e.g.:
export PATH=/mnt/petrelfs/share/cuda-11.8/bin:$PATH
export LD_LIBRARY_PATH=/mnt/petrelfs/share/cuda-11.8/lib64:$LD_LIBRARY_PATH
export PATH=/mnt/petrelfs/share/gcc-9.3.0/bin:$PATH
export LD_LIBRARY_PATH=/mnt/petrelfs/share/gcc-9.3.0/lib64:$LD_LIBRARY_PATH
source ~/.bashrcpip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118pip install https://github.com/vllm-project/vllm/releases/download/v0.6.1.post1/vllm-0.6.1.post1+cu118-cp310-cp310-manylinux1_x86_64.whl
Environment:Python=3.10(Anaconda),conda install git git lfs installgit clone https://huggingface.co/sunday-hao/yaoying-qwen2.5cd yaoying-qwen2.5If you want to inference with vllm,
python with_vllm.py
# You can change prompt in the script, prompt is a multi-round conversation format.
If you want to test the model without vllm,
python inference_without_vllm.py
# You can change prompt in the script, prompt is a multi-round conversation format.