Downloads · 30 days
4
4% of all-time downloads
2nji/llama3-platypus
llama3-platypus is a machine learning model from 2nji. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as other.
This model is a fine-tuned version of meta-llama/Meta-Llama-3-8B-Instruct on the openplatypus dataset. It achieves the following results on the evaluation set: - Loss: 0.6769 - Accuracy: 0.8116
Downloads · 30 days
4
4% of all-time downloads
All-time downloads
103
Public
Repo size
252 MB
Likes
0
Public
Click a slice to open those files.
.safetensors83.9 MB · 90%
From the Hugging Face model README
This model is a fine-tuned version of meta-llama/Meta-Llama-3-8B-Instruct on the open_platypus dataset. It achieves the following results on the evaluation set:
This model is a fine-tuned version of meta-llama/Meta-Llama-3-8B-Instruct on the open_platypus dataset.
You can use this model directly with a pipeline for text classification. Here is an example:
import logging
from transformers import pipeline
# Set up logging
logging.basicConfig(filename='model_output.log', level=logging.INFO)
# Load the model using the pipeline API for text generation
model_name = "2nji/llama3-platypus"
generator = pipeline('text-generation', model=model_name)
# Example prompt
prompt = "Hello! How can AI help humans in daily life?"
# Generate response
try:
responses = generator(prompt, max_length=50) # Adjust max_length as needed
response_text = responses[0]['generated_text']
print("Model response:", response_text)
# Log the output
logging.info("Sent prompt: %s", prompt)
logging.info("Received response: %s", response_text)
except Exception as e:
logging.error("Error in generating response: %s", str(e))
The model was fine-tuned on the open_platypus dataset.
The following hyperparameters were used during training:
The model was trained on a single NVIDIA H100 GPU with the following results: