PlayPart AI Personal Trainer Model

This model is a fine-tuned version of GPT-2, specifically trained on sports-related and gym exercise datasets. It is intended to provide text-generation capabilities for answering questions about fitness, sports, workout routines, and providing personalized training suggestions.

Intended Use

  • Text Generation: Generate text based on sports and fitness questions and interactions.
  • Personal Trainer Chatbot: Suitable for chatbot integrations focused on fitness, workouts, and sports topics.

Usage

To use the model, you can either use the Hugging Face Inference API or load it in your Python environment.

Example (Python)

from transformers import GPT2Tokenizer, GPT2LMHeadModel

# Load the model
tokenizer = GPT2Tokenizer.from_pretrained("Lukamac/PlayPart-AI-Personal-Trainer")
model = GPT2LMHeadModel.from_pretrained("Lukamac/PlayPart-AI-Personal-Trainer")

# Generate a response
input_text = "What are the best exercises for building upper body strength?"
input_ids = tokenizer.encode(input_text, return_tensors='pt')
output_ids = model.generate(input_ids, max_length=50)
response = tokenizer.decode(output_ids[0], skip_special_tokens=True)

print(response)
Downloads last month
295
Safetensors
Model size
124M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for Lukamac/PlayPart-AI-Personal-Trainer

Finetuned
(1249)
this model
Quantizations
1 model

Dataset used to train Lukamac/PlayPart-AI-Personal-Trainer