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="WbjuSrceu/gemma-2b-model")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("WbjuSrceu/gemma-2b-model")
model = AutoModelForCausalLM.from_pretrained("WbjuSrceu/gemma-2b-model", device_map="auto")
Quick Links

Uploaded model

  • Developed by: WbjuSrceu
  • License: apache-2.0
  • Finetuned from model : unsloth/gemma-2b-bnb-4bit

This gemma model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
12
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for WbjuSrceu/gemma-2b-model

Finetuned
(124)
this model