Downloads · 30 days
14
0% of all-time downloads
marketeam/Gem-Marketing
Gem-Marketing is a text generation model from marketeam. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
GemMarketing is a 2B parameter Domain-Specific Large Language Model (LLM). It was specifically adapted to the marketing domain from gemma-2b through continuous pretraining on a meticulously curated and comprehensive m…
Downloads · 30 days
14
0% of all-time downloads
All-time downloads
27.1K
Public
Parameters
2.5B
5 GB on disk
Likes
12
Public
Click a slice to open those files.
.safetensors5 GB · 100%
From the Hugging Face model README
GemMarketing is a 2B parameter Domain-Specific Large Language Model (LLM).
It was specifically adapted to the marketing domain from gemma-2b through continuous pretraining on a meticulously curated and comprehensive marketing corpus of more than 43B tokens.
GemMarketing outperforms gemma-2b on specific marketing tasks. We are releasing this early checkpoint of the model to the AI community.

GemMarketing is a powerful tool that can help generate high-quality marketing content and conduct research in the field of marketing. It is an excellent resource for staying ahead in the rapidly changing world of marketing.
While the model is designed to encode marketing knowledge, this checkpoint is not yet adapted to deliver knowledge appropriately, safely, or within professional actionable constraints.
We recommend against deploying GemMarketing in real-world practice settings.
GemMarketing has been developed for further research of LLM for marketing applications.
The potential use cases for this tool are diverse and varied, ranging from marketing question answering to general marketing information queries, and actions (function-calls) on marketing platforms.
GemMarketing is a Foundation Language Model (FLM) without finetuning or instruction-tuning.
We recommend applying SFT or RLHF-tuned for specific downstream tasks. Or rather apply in-context learning with 1000-1500 tokens added to the prompt.
Marketing data from publicly available and internal sources such as:
Our training procedure includes using the AWS SageMaker framework, 4 NVIDIA A100 GPUs, p4de.24xlarge machine.
With a total train time of ±250 hours, with a total training cost of ±10K$.
This is an early checkpoint of the model that we are releasing to the community.
| Param | Value |
|---|---|
| bf16 | true |
| tf32 | true |
| lr | 1e-4 |
| optim | adamw |
| epochs | 1 |
| lr scheduler | constant |
| warmup ratio | 0.03 |
| max grad norm | 0.3 |
| context lengt | 3072 |
| attention | SPDA |
import transformers
import torch
model_id = "marketeam/GemMarketing"
tokenizer_id = "google/gemma-2b"
token = "hf-token"
pipeline = transformers.pipeline("text-generation", model=model_id, model_kwargs={"torch_dtype": torch.bfloat16},
tokenizer=tokenizer_id, token=token, device_map='auto')
pipeline("What are the key components of a digital marketing strategy?")
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "marketeam/GemMarketing"
tokenizer_id = "google/gemma-2b"
token = "hf_token"
device = "cuda" if torch.cuda.is_available() else "cpu"
tokenizer = AutoTokenizer.from_pretrained(tokenizer_id, token=token)
model = AutoModelForCausalLM.from_pretrained(
model_id, torch_dtype=torch.bfloat16, token=token).to(device)
message = "How do I calculate customer lifetime value?"
inputs = tokenizer(message, return_tensors="pt").to(device)
outputs = model.generate(**inputs)
tokenizer.batch_decode(outputs, skip_special_tokens=True)
GemMarketing is now available for further testing and assessment. Potential use cases include, but are not limited to: