Downloads · 30 days
28
8% of all-time downloads
ybkim95/gemma-7b-it_invthink
gemma-7b-it_invthink is a machine learning model from ybkim95. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is fine-tuned from google/gemma-7b-it using the Nvidia Aegis AI Content Safety Dataset 2.0.
Downloads · 30 days
28
8% of all-time downloads
All-time downloads
332
Public
Parameters
175K
137 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt102 GB · 86%
From the Hugging Face model README
This model is fine-tuned from google/gemma-7b-it using the Nvidia Aegis AI Content Safety Dataset 2.0.
This model has been trained to:
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("ybkim95/google_gemma-7b-it_safety_sft")
tokenizer = AutoTokenizer.from_pretrained("ybkim95/google_gemma-7b-it_safety_sft")
# Example usage
prompt = "User: [Your prompt here]\nAssistant:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=200)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
This is a sharded model due to its size. All shards will be downloaded automatically when loading.