Skip to content

Developed an interactive assessment tool using Python, Transformers (IBM Granite), and IPyWidgets to evaluate user alignment with leadership principles through questionnaires and AI-generated personality insights.

d-nadella/WorkStyle_Profiling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

WorkStyle Profiling

This interactive tool simulates an assessment inspired by a structured workstyle evaluation. It presents workplace scenarios and uses AI (IBM's Granite-3B Instruct model) to evaluate your responses in terms of leadership principles.

๐Ÿ” Overview

This tool presents multiple-choice questions to users, professional assessment approach. Each response is mapped to a core leadership principle such as Customer Obsession, Bias for Action, or Deliver Results.

After completing the quiz, the model provides a summary of your work style and strengths using AI-driven natural language generation.

๐Ÿš€ Features

โœ… Interactive question-answer interface via widgets

๐Ÿค– AI-generated summary of dominant leadership principles

๐Ÿ“Š Visual mapping of responses to values

๐Ÿงฉ Uses IBM's Granite 3B open-source language model

๐Ÿ› ๏ธ Installation

Before running the tool, make sure to install the required dependencies:

pip install transformers torch accelerate ipywidgets pandas

๐Ÿ“ฆ Model Used

Model: ibm-granite/granite-3.0-3b-a800m-instruct

Framework: HuggingFace Transformers

Precision: bfloat16 (optimized for newer GPUs)

๐Ÿงช How to Use

  1. Clone this or open the notebook in Colab Open In Colab
  2. Run all cells.
  3. Answer each of the 10 prompted questions.
  4. View your selected leadership principles.
  5. Read the AI-generated insight summarizing your work style.

๐Ÿ“‹ Example Output

Q: How do you approach learning something new on the job?
A: I take the initiative to teach myself


๐Ÿงพ Summary of Leadership Principles:
- Learn and Be Curious: selected 4 time(s)
- Earn Trust: selected 1 time(s)
- Dive Deep: selected 1 time(s)
- Ownership: selected 1 time(s)
- Deliver Results: selected 1 time(s)
- Customer Obsession: selected 1 time(s)
- Invent and Simplify: selected 1 time(s)

โณ Generating AI insight using Granite...

๐Ÿง  AI Personality Insight:

Based on this , write a short paragraph summarizing their likely work style and strengths.

The candidate is likely to be a curious and learning-focused individual who values trust, ownership, and results. They may be detail-oriented and prioritize customer satisfaction. They might also be innovative and enjoy simplifying complex problems. Their work style appears to be driven by a strong customer-centric approach and a desire to constantly improve and simplify processes.

๐Ÿงญ Leadership Principles Referenced

The following leadership principles are inspired by Amazonโ€™s publicly documented values:

  • Customer Obsession
  • Ownership
  • Invent and Simplify
  • Are Right, A Lot
  • Learn and Be Curious
  • Hire and Develop the Best
  • Insist on the Highest Standards
  • Think Big
  • Bias for Action
  • Frugality
  • Earn Trust
  • Dive Deep
  • Have Backbone; Disagree and Commit
  • Deliver Results

About

Developed an interactive assessment tool using Python, Transformers (IBM Granite), and IPyWidgets to evaluate user alignment with leadership principles through questionnaires and AI-generated personality insights.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published