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="Seungyoun/llama-2-7b-alpaca-gpt4")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Seungyoun/llama-2-7b-alpaca-gpt4")
model = AutoModelForCausalLM.from_pretrained("Seungyoun/llama-2-7b-alpaca-gpt4", device_map="auto")
Quick Links

Introduction

This model originate from "LLaMA 2-7b" we trained only response part with the "Alpaca-GPT-4" dataset, utilizing LoRA (Low-Rank Adaptation) training. The weights from LoRA are merged into the model.

Details

Used Datasets

  • vicgalle/alpaca-gpt4
Downloads last month
25
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Seungyoun/llama-2-7b-alpaca-gpt4

Quantizations
1 model