ntk_scaled_llama_13b_16k

作者 kz919 · 下载 0 · 点赞 0 · 更新 2023-11-03

Introduction

Extending llama 13B context length 2k to 16k without finetuning via the ntk recipe

Example Usage

from transformers import AutoModelForCausalLM, LlamaTokenizer

model = AutoModelForCausalLM.from_pretrained("kz919/ntk_scaled_llama_13b_16k")
tokenizer = LlamaTokenizer.from_pretrained("kz919/llama_13b")