Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added model sampling settngs functionaility #53

Merged
merged 6 commits into from
Sep 20, 2024

Conversation

Murkeee
Copy link
Collaborator

@Murkeee Murkeee commented Sep 15, 2024

Created new component ChatSettings.jsx and corresponding css chatSettings.css
Modified files ChatPage.jsx and worker.js
Added media files left-arrow.svg and settings-icon.svg

-Added a togglable settings menu on the left side of the chat page
-Added sliders and number inputs for n_batch, n_ctx, n_predict, temp
-Added button to reload the model
-Added functionality to update the completion parameters n_predict and temp
-Added functionailty to update the model parameters n_batch and n_ctx

closes #47

Signed-off-by: Tyson Dai <[email protected]>
- Removed unused declarations
- Fixed reload not working

Signed-off-by: Tyson Dai <[email protected]>
Signed-off-by: Tyson Dai <[email protected]>
src/utils/worker.js Outdated Show resolved Hide resolved
Worker.js:
- Changed let to const declaration
ChatSettings.jsx
- Changed Icons to bootstrap icons (Instead of SVG files)
ChatSettings.css
- Removed styling for img tag


Signed-off-by: Tyson Dai <[email protected]>
Copy link
Contributor

@cbh778899 cbh778899 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Murkeee Murkeee merged commit 08af1f5 into SkywardAI:main Sep 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature]: Add model sampling settings
2 participants