123 1 year ago

Assistant for structural engineering design and analysis, with emphasis on Python code assistance. Built off llama3-8b.

Models

View all →

Readme

structural_llama πŸ¦™

Version

Your AI Assistant for Structural Engineering πŸ—οΈ

Structural_Llama is a powerful language model fine-tuned to provide insights and assistance with structural engineering tasks. Whether you’re a student, practicing engineer, or researcher, Structural_Llama can help you:

  • Understand complex concepts: Get in-depth explanations of structural design principles, analysis methods, failure modes, and code requirements. πŸ“˜

  • Solve problems efficiently: Receive guidance on design calculations, optimization approaches, and troubleshooting structural issues. πŸ’‘

  • Enhance your code: Get Python code suggestions (using NumPy, SciPy, and other relevant libraries) for analysis, visualization, and automating calculations. πŸ’»

  • Stay code-compliant: Get references to relevant design standards and regulations (AISC, ACI, CSA, Eurocode, etc.). πŸ“š

  • πŸ“’ PSA: Do not rely on this model for creating correct structural calculations. It still has a long way to go! (note: the model is primed for Python, VS Code and Poetry; this can be easily modified).

Requirements πŸ“‹

  • Model size: 7.4GB (llama3-8b)
  • A GPU and some decent RAM are highly recommended for solid performance. πŸ–₯️

Installation πŸ’Ύ

  • You have a few options to get up and running. I recommend installing and managing through Open WebUI and using Docker to install, run and manage your models.

  • See the GitHub repo for detailed steps on installation via Docker and other tools.

  • If you just want the model, you can run:
    ollama run joreilly86/structural_llama

Key Capabilities πŸ”‘

  • Technical Expertise: Provides explanations tailored to structural engineering topics. πŸ›οΈ
  • Code Integration: Understands and suggests Python code relevant to engineering problems. πŸ–₯️
  • Knowledge Access: References authoritative sources like design manuals and building codes. πŸ“–
  • Contextual Awareness: Considers code requirements and practical constructability when offering solutions. πŸ› οΈ

How to Use Structural_Llama πŸ€–

Ask questions, try to be precise and decompose your problems into small sequential steps for best results.

Example Interactions πŸ’¬

  • Question: β€œHow do I calculate the buckling capacity of a steel column?”
    • Potential Response: Provides a theoretical explanation, references AISC specifications, and potentially a Python code snippet for calculation.
  • Prompt: [Provide a code snippet calculating bending stresses in a beam] β€œCan you optimize this code for readability and efficiency?”
    • Potential Response: Suggests refactoring, explains algorithm choice, and demonstrates improvements.

Important Notes πŸ“

  • Structural_Llama is a tool, not a replacement for professional judgment. Always validate results and ensure compliance with local regulations.
  • The model is continuously evolving. If you have feedback or suggestions, reach out at info@flocode.dev.

Get Started! πŸš€

We’re excited to see how Structural_Llama helps you with your structural engineering projects!

For more Python engineering tips and insights 🐍

For all things Python in engineering, subscribe to the Flocode newsletter and visit flocode.dev.

James 🌊