Downloads · 30 days
214
0% of all-time downloads
hiyouga/Baichuan2-7B-Base-LLaMAfied
Baichuan2-7B-Base-LLaMAfied is a text generation model from hiyouga. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
This is the LLaMAfied version of Baichuan2-7B-Base model by Baichuan Inc.
Downloads · 30 days
214
0% of all-time downloads
All-time downloads
59.5K
Public
Repo size
30 GB
Likes
7
Public
Click a slice to open those files.
.bin15 GB · 100%
From the Hugging Face model README
This is the LLaMAfied version of Baichuan2-7B-Base model by Baichuan Inc.
This model is converted with https://github.com/hiyouga/LLaMA-Factory/blob/main/tests/llamafy_baichuan2.py
You may use this model for fine-tuning in downstream tasks, we recommend using our efficient fine-tuning toolkit. https://github.com/hiyouga/LLaMA-Factory
Usage:
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("hiyouga/Baichuan2-7B-Base-LLaMAfied", use_fast=False)
model = AutoModelForCausalLM.from_pretrained("hiyouga/Baichuan2-7B-Base-LLaMAfied").cuda()
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 42.83 |
| ARC (25-shot) | 49.57 |
| HellaSwag (10-shot) | 73.45 |
| MMLU (5-shot) | 54.86 |
| TruthfulQA (0-shot) | 37.54 |
| Winogrande (5-shot) | 70.72 |
| GSM8K (5-shot) | 7.81 |
| DROP (3-shot) | 5.85 |