hiyouga's picture
Update README.md
9845abf
|
raw
history blame
No virus
809 Bytes
metadata
license: other

This is the LLaMAfied version of Baichuan2-7B-Base model by Baichuan Inc.

This model is converted with https://github.com/hiyouga/LLaMA-Efficient-Tuning/blob/main/tests/llamafy_baichuan2.py

  • Developed by: Baichuan Inc.
  • Language(s) (NLP): Chinese/English
  • License: Baichuan2 License

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()