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
198
Safetensors
Model size
124M params
Tensor type
F32
·
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.

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

Finetuned
(1377)
this model
Quantizations
1 model

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