Downloads · 30 days
14
28% of all-time downloads
Ting-Ting/malaysia_haha
malaysia_haha is a text generation model from Ting-Ting. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a text generation model based on Meta-Llama-3-8B.
Downloads · 30 days
14
28% of all-time downloads
All-time downloads
50
Public
Parameters
8B
32.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors32.1 GB · 100%
From the Hugging Face model README
This model is a text generation model based on Meta-Llama-3-8B.
This model generates text based on a given prompt. It has been fine-tuned to generate jokes and other humorous content.
You can use this model for generating text with the following code:
from transformers import pipeline
# Initialize the pipeline with your model
generator = pipeline("text-generation", model="your-username/llama-joke-model")
# Generate text based on a prompt
prompt = "Generate a joke about Malaysia"
results = generator(prompt, max_length=100, num_return_sequences=1)
# Print the generated result
for result in results:
print("Generated Joke:", result['generated_text'])