Model Card for Woody.AI

A specialized golf coaching assistant fine-tuned to provide personalized tips, drills, and mindset advice to help amateur golfers improve their swing and overall game.

Model Details

Model Description

Woody.AI is a fine-tuned language model designed to act as a virtual golf coach. It provides specific, actionable advice on all aspects of golf improvement including swing mechanics, mental game, equipment selection, practice routines, and on-course strategy.

  • Developed by: Brodie (eidorb90)
  • Model type: Fine-tuned large language model
  • Language(s): English
  • License: [Your chosen license]
  • Finetuned from model: unsloth/mistral-7b-bnb-4bit

Model Sources

Uses

Direct Use

Woody.AI is designed to be used as an interactive golf coach that can:

  • Analyze common swing problems and provide specific fixes
  • Suggest appropriate practice drills for different skill levels
  • Help with mental game and course management strategies
  • Provide equipment recommendations and fitting advice
  • Guide players on specific shots and techniques

This model is best suited for beginning to intermediate players looking to improve their golf skills without the immediate need for in-person coaching.

Out-of-Scope Use

This model is not designed to:

  • Replace professional in-person golf instruction, especially for advanced players
  • Provide real-time swing analysis from video (lacks visual input capabilities)
  • Give medical advice for golf-related injuries
  • Guarantee score improvements without dedicated practice

Bias, Risks, and Limitations

  • The model provides general golf advice that may need to be adapted to individual physical capabilities and swing characteristics
  • Advice is based on common golf teaching principles which may not align with all teaching methodologies
  • No visual assessment capabilities means the model cannot analyze actual swing mechanics
  • May have limitations in addressing highly specialized or unique golf situations

Recommendations

Users should:

  • Use the model's advice as a supplement to, not replacement for, professional instruction
  • Adapt recommendations to their own physical capabilities and existing swing
  • Practice recommended drills appropriately and safely
  • Consider consulting a PGA professional for personalized coaching

How to Get Started with the Model

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

# Load the base model with correct dtype
base_model = AutoModelForCausalLM.from_pretrained(
    "unsloth/mistral-7b-bnb-4bit",
    torch_dtype=torch.float16,
    device_map="auto"
)

# Load your fine-tuned adapter
model = PeftModel.from_pretrained(base_model, "eidorb90/Woody.AI")

# Load the tokenizer
tokenizer = AutoTokenizer.from_pretrained("unsloth/mistral-7b-bnb-4bit")

# Set the model to evaluation mode
model.eval()

# Example of generating text
def generate_text(prompt, max_length=500):
    inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
    outputs = model.generate(
        **inputs,
        max_length=max_length,
        temperature=0.7,
        top_p=0.9,
        num_return_sequences=1
    )
    return tokenizer.decode(outputs[0], skip_special_tokens=True)

# Example usage
prompt = "I'm struggling with slicing my driver. What can I do to fix this?"
response = generate_text(prompt)
print(response)
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for eidorb90/Woody.AI

Adapter
(92)
this model

Space using eidorb90/Woody.AI 1