Downloads · 30 days
10
18% of all-time downloads
Wezenite/gemma-2b-trader-fp16
gemma-2b-trader-fp16 is a text generation model from Wezenite. Use it when you need the model to write or continue text. The card lists the license as gemma.
This model is a fine-tuned version of google/gemma-2-2b, specifically trained to generate structured bullet-point summaries of trading journal entries and financial documents.
Downloads · 30 days
10
18% of all-time downloads
All-time downloads
57
Public
Parameters
2.6B
5.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.2 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of google/gemma-2-2b, specifically trained to generate structured bullet-point summaries of trading journal entries and financial documents.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"./gemma-2b-trader-fp16",
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("./gemma-2b-trader-fp16")
prompt = '''### Instruction:
Summarize the following trading journal entry using structured bullet points and precise trading terminology.
### Input:
[Your trading entry here]
### Summary:
'''
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Fine-tuned on the EDGAR-CORPUS-Financial-Summarization dataset for financial text domain adaptation.
If you use this model, please cite the original Gemma model and this fine-tuned version.