Downloads · 30 days
15
9% of all-time downloads
sweatSmile/Llama-3.2-3B-ChatGPT-Prompts-Instruct
Llama-3.2-3B-ChatGPT-Prompts-Instruct is a text generation model from sweatSmile. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
This is a fine-tuned version of Meta's Llama-3.2-3B-Instruct model, specifically trained on the awesome-chatgpt-prompts dataset to excel at role-playing and prompt-based interactions. The model has been optimized to u…
Downloads · 30 days
15
9% of all-time downloads
All-time downloads
160
Public
Parameters
3.2B
12.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors12.9 GB · 100%
From the Hugging Face model README
This is a fine-tuned version of Meta's Llama-3.2-3B-Instruct model, specifically trained on the awesome-chatgpt-prompts dataset to excel at role-playing and prompt-based interactions. The model has been optimized to understand and respond to various professional and creative roles with enhanced accuracy and context awareness.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "sweatSmile/Llama-3.2-3B-ChatGPT-Prompts-Instruct"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.float16,
device_map="auto"
)
# Example usage
prompt = "Linux Terminal"
messages = [
{"role": "user", "content": prompt}
]
# Apply chat template
formatted_prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
inputs = tokenizer(formatted_prompt, return_tensors="pt")
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
do_sample=True,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True)
print(response)
This model is designed for:
The model excels at:
Input: "English Translator and Improver" Output: The model will adopt the role of a professional translator and language improver, offering translation services and language enhancement capabilities.
Input: "Linux Terminal" Output: The model will simulate a Linux terminal environment, responding to commands as a real terminal would.
This model inherits the license from the base Llama-3.2-3B-Instruct model. Please refer to Meta's license terms for usage restrictions and requirements.
@model{llama32-chatgpt-prompts-instruct,
title={Llama-3.2-3B-ChatGPT-Prompts-Instruct},
author={sweatSmile},
year={2025},
base_model={meta-llama/Llama-3.2-3B-Instruct},
dataset={fka/awesome-chatgpt-prompts}
}
For questions, issues, or feedback regarding this model, please create an issue in the model repository or contact the model author.