base_model:
- google/gemma-2-2b
Slang Generator
This is a slang generator model developed using Keras. The model can create Gen-Z slang terms based on the provided context!
Model Overview
The slang generator is designed to produce catchy and relevant slang terms that resonate with modern youth culture. Users can provide specific contexts to generate slang that feels natural in casual conversation.
Example Usage
Initial Setup
To start generating slang terms, define a tag that outlines the instructions for the model:
tag = (
"Given the context below, create a new slang term. "
"The slang should be catchy, easy to use, and relevant to modern youth culture. "
"Make sure it's something that would feel natural in casual conversation:\n\n"
)
Define Specific Context
Set the context for the slang generation. For example:
context = "You're hanging out with friends at a new restaurant, trying out some unique fusion dishes."
Define Conditions
Specify additional conditions for the output. For example, you can request the definition and examples:
condition = "You should suggest new slang and its definition, also give some examples for clarification. Example should be long and also precise."
Final Prompt Construction
Construct the final prompt by combining the tag, context, and condition:
prompt = template.format(
instruction=tag + context + condition,
response=""
)
Conclusion
With this slang generator, you can easily create new and engaging slang terms tailored to various contexts. Feel free to modify the context and conditions to explore different slang outputs!