Skip to content
ModelVerifiedExternal
Download

Gemma Product Description

This model is a fine-tuned version of google/gemma-4-E2B. It has been trained using TRL.

KindLoRABase modelgoogle/gemma-4-E2BVersionadapter_modelPublisher@whwnsdlr1Cgrade

Model source

Kind
LoRA
File size
145 MB
Base model
google/gemma-4-E2B
Version
vadapter_model
Updated
Oct 4, 2026
Publisher
@whwnsdlr1
Downloads
0
Tasks
Text generation
Source
Hugging Face

Source description

Model Card for gemma-product-description

This model is a fine-tuned version of google/gemma-4-E2B. It has been trained using TRL.

Quick start

from transformers import pipeline

question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="whwnsdlr1/gemma-product-description", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])

Training procedure

This model was trained with SFT.

Framework versions

  • TRL: 0.24.0
  • Transformers: 5.12.1
  • Pytorch: 2.10.0
  • Datasets: 4.3.0
  • Tokenizers: 0.22.2

Citations

Cite TRL as:

@misc{vonwerra2022trl,
	title        = {{TRL: Transformer Reinforcement Learning}},
	author       = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
	year         = 2020,
	journal      = {GitHub repository},
	publisher    = {GitHub},
	howpublished = {\url{https://github.com/huggingface/trl}}
}

Sources

1 source
Hugging FacePrimaryVersion 671761e76ba80546f1d237b4e0744c7b1feef539
huggingface.co/whwnsdlr1/gemma-product-description/tree/671761e76ba80546f1d237b4e0744c7b1feef539

Verified Oct 4

Model artifacts

1 artifact

adapter_model.safetensors

safetensors · 145 MB · SHA-256 324d42ddc763…748d · Hugging Face

Download

Source excerpts

3 excerpts

--- base_model: google/gemma-4-E2B library_name: transformers model_name: gemma-product-description tags: - generated_from_trainer - trl - sft licence: license --- # Model Card for gemma-product-description This model is a fine-tuned version of [google/gemma-4-E2B](https://huggingface.co/google/gemma-4-E2B). It has been trained using [TRL](https://github.com/huggingface/trl). ## Quick start ```python from transformers import pipeline question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?" generator = pipeline("text-generation", model="whwnsdlr1/gemma-product-description", device="cuda") output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0] print(output["generated_text"]) ``` ## Training procedure This model was trained with SFT. ### Framework versions - TRL: 0.24.0 - Transformers: 5.12.1 - Pytorch: 2.10.0 - Datasets: 4.3.0 - Tokenizers: 0.22.2 ## Citations Cite TRL as: ```bibtex @misc{vonwerra2022trl, title = {{TRL: Transformer Reinforcement Learning}}, author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec}, year = 2020, journal = {GitHub repository}, publisher = {GitHub}, howpublished = {\url{https://github.com/huggingface/trl}} } ```

Source context: 0 downloads · 0 likes · Library transformers · Repo whwnsdlr1/gemma-product-description

Source context: 0 downloads · 0 likes · Library transformers · Repo whwnsdlr1/gemma-product-description