Unverified Commit 3715be65 authored by Tong Gao's avatar Tong Gao Committed by GitHub
Browse files

[Fix] Fix llama configs (#72)


Co-authored-by: default avatarLeymore <zfz-960727@163.com>
parent e9cdb24d
from opencompass.models import HuggingFaceCausalLM
models = [
# LLaMA 13B
dict(
type=HuggingFaceCausalLM,
abbr='llama-13b-hf',
path="decapoda-research/llama-13b-hf",
tokenizer_path='decapoda-research/llama-13b-hf',
path="huggyllama/llama-13b",
tokenizer_path='huggyllama/llama-13b',
tokenizer_kwargs=dict(padding_side='left',
truncation_side='left',
use_fast=False,
......
from opencompass.models import HuggingFaceCausalLM
models = [
# LLaMA 30B
dict(
type=HuggingFaceCausalLM,
abbr='llama-30b-hf',
path="decapoda-research/llama-30b-hf",
tokenizer_path='decapoda-research/llama-30b-hf',
path="huggyllama/llama-30b",
tokenizer_path='huggyllama/llama-30b',
tokenizer_kwargs=dict(padding_side='left',
truncation_side='left',
use_fast=False,
......
from opencompass.models import HuggingFaceCausalLM
models = [
# LLaMA 65B
dict(
type=HuggingFaceCausalLM,
abbr='llama-65b-hf',
path="decapoda-research/llama-65b-hf",
tokenizer_path='decapoda-research/llama-65b-hf',
path="huggyllama/llama-65b",
tokenizer_path='huggyllama/llama-65b',
tokenizer_kwargs=dict(padding_side='left',
truncation_side='left',
use_fast=False,
......
from opencompass.models import HuggingFaceCausalLM
models = [
# LLaMA 7B
dict(
type=HuggingFaceCausalLM,
abbr='llama-7b-hf',
path="decapoda-research/llama-7b-hf",
tokenizer_path='decapoda-research/llama-7b-hf',
path="huggyllama/llama-7b",
tokenizer_path='huggyllama/llama-7b',
tokenizer_kwargs=dict(padding_side='left',
truncation_side='left',
use_fast=False,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment