ft_metallurgy / README.md
Abdulrhman37's picture
changed GPU to CPU
2846ff5

A newer version of the Gradio SDK is available: 5.23.1

Upgrade
metadata
title: Metallurgy Expert Assistant
emoji: 🏭
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 3.42.0
app_file: app.py
pinned: true

Metallurgy Expert Assistant

Welcome to the Metallurgy Expert Assistant! This application leverages state-of-the-art machine learning models fine-tuned for providing insights and answers on topics related to metallurgy, materials science, and engineering.

🌟 Features:

  • Domain-Specific Responses: Tailored answers to metallurgy, materials science, and engineering questions.
  • Detailed and Rigorous Explanations: Includes equations, mechanisms, and scientific reasoning.
  • Interactive Examples: Choose from pre-defined example questions or input your custom queries.
  • User-Friendly Interface: Powered by Gradio for a smooth and engaging experience.

πŸš€ Getting Started

  1. Access the App: Visit the Hugging Face Space to interact with the application.
  2. Ask Questions: Input technical questions about metallurgy, welding, corrosion, and more.
  3. Receive Insights: Get detailed, well-explained responses supported by scientific principles.

πŸ”§ Technical Details

  • Model: Fine-tuned on the "Abdulrhman37/lora_model" using 4-bit quantization for efficient inference.
  • Framework: Built using Gradio with a clean and responsive UI.
  • Hosted on Hugging Face Spaces: Easy deployment with Hugging Face's infrastructure.

πŸ“‚ Repository Structure

  • app.py: Main application file.
  • model.py: Handles model loading and inference logic.
  • prompts.py: Contains the prompt template for generating responses.
  • components.py: Defines Gradio UI components.
  • assets/: Static assets, including the sidebar image.

🎨 Design and Usability

  • Gradient card theme: Blue β†’ Teal for a professional and modern look.
  • Sidebar image enhances the visual appeal.

πŸ“ Notes

  • Model performance is optimized for accuracy and speed.
  • This Space is ideal for professionals, students, and researchers in the fields of materials science and engineering.

Feel free to explore and interact with the Metallurgy Expert Assistant. Your feedback and suggestions are always welcome! 😊