EthanRudd/ECE618FinalProjectRudd
Disclaimer: This model is for educational purposes only. Do not rely on this app for safety-critical decision-making.
Setup: Download requirements.txt and app.py After importing app.py to your favorite IDE and/or creating a python runtime environment, pip install each item in requirements.txt. Ensure version 5.50.0 of gradio is installed; gradio_toggle does not work with version 6+ Replace os.environ.get() with your own API key from https://huggingface.co/settings/tokens
Running: Run app.py using Python 3.12. Gradio will either provide a URL for or directly produce the app window.
Domain Description: This model covers the Electrical and Computer Engineering (ECE) domain. It can answer questions on logic design, circuit design, basic ECE concepts, and other niches under the electrical engineering umbrella
Features Explanation: Simple vs Professional mode: Alters the model's guidelines. Simple mode uses simple language and explains concepts in-depth, professional mode uses high-level language and forgoes extraneous explanations Edit: Replaces the last prompt and response. Useful if your previous prompt led the model down a rabbit hole you want to leave. Parameter Tuning: Temperature, Top_P, Response Length, and Frequency Penalty can be adjusted between prompts to the user's preference.
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
