How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="imone/LLaMA_13B_with_EOT_token")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("imone/LLaMA_13B_with_EOT_token")
model = AutoModelForCausalLM.from_pretrained("imone/LLaMA_13B_with_EOT_token")
Quick Links

LLaMA 13B with End-of-turn (EOT) Token

This is the LLaMA 13B model with <|end_of_turn|> token added as id 32000. The token input/output embedding is initialized as the mean of all existing input/output token embeddings, respectively.

Downloads last month
8
Inference Providers NEW