Downloads · 30 days
17
9% of all-time downloads
ayoubkirouane/Gemma7b-instruct-Alpaca
Gemma7b-instruct-Alpaca is a text generation model from ayoubkirouane. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
17
9% of all-time downloads
All-time downloads
191
Public
Repo size
34.2 GB
Likes
0
Public
Click a slice to open those files.
.bin17.1 GB · 100%
From the Hugging Face model README
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="ayoubkirouane/Gemma_7b_Alpaca")
or :
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("ayoubkirouane/Gemma_7b_Alpaca")
model = AutoModelForCausalLM.from_pretrained("ayoubkirouane/Gemma_7b_Alpaca")