Skip to content

server : display token probabilities in the UI #2489

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

Merged
merged 41 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
7862118
server : add n_probs param in chat UI
jhen0409 Aug 2, 2023
6a8b9c2
server : keep message data array & show in probabilites component
jhen0409 Aug 2, 2023
2a5bab4
server : add simple popover component
jhen0409 Aug 2, 2023
b9b6cd2
server : fix completion_probabilities undefined if not set n_probs
jhen0409 Aug 2, 2023
d37be8d
server : implement Probabilites
jhen0409 Aug 2, 2023
7f02fea
server : handle bytes
jhen0409 Aug 2, 2023
368c41c
server : make n_probs max to 10 for easy scroll
jhen0409 Aug 2, 2023
7502997
server : adjust for dark/light mode
jhen0409 Aug 2, 2023
cc1ae32
server : Fix regenerated prompt
jhen0409 Aug 2, 2023
48bea64
server : update index.html.hpp
jhen0409 Aug 2, 2023
3e1e86d
Merge branch 'master' into server-probs
jhen0409 Aug 4, 2023
04b6f2c
server : convert prob to percentage + show original value as div title
jhen0409 Aug 4, 2023
236c838
server : fix Probabilites not used if included empty str
jhen0409 Aug 7, 2023
3409735
server : skip byte pair in display probabilites
jhen0409 Aug 12, 2023
bffd3cd
server : remove array check of completion_probabilities in messages
jhen0409 Aug 12, 2023
c2c1690
Merge branch 'master' into server-probs
jhen0409 Aug 14, 2023
006e74a
Merge branch 'master' into server-probs
jhen0409 Aug 14, 2023
5c6aee6
Merge branch 'master' into server-probs
jhen0409 Aug 17, 2023
7ec9c22
skip empty array or byte pair (> 1) in Probabilites
jhen0409 Aug 20, 2023
25e6747
Merge branch 'master' into server-probs
jhen0409 Aug 20, 2023
11e8636
generate index.html.hpp
jhen0409 Aug 20, 2023
e4c04c2
fix incorrect prob convert if the str is already a known token
jhen0409 Aug 21, 2023
54f9f3c
use final response to show probabilities on stop
jhen0409 Aug 21, 2023
a7042c1
revert unnecessary change
jhen0409 Aug 21, 2023
b7ddf04
correct probabilites usage
jhen0409 Aug 21, 2023
371cc14
remove unused function
jhen0409 Aug 21, 2023
1e9fe8a
always send partial response for get correct probs of last to_send
jhen0409 Aug 21, 2023
1bef2dc
fix typo
jhen0409 Aug 21, 2023
af1ea58
fix content of format_final_response
jhen0409 Aug 21, 2023
91b8be0
refactor probs render & make pColor transparent if not found
jhen0409 Aug 21, 2023
aad8ef4
Merge branch 'master' into server-probs
jhen0409 Aug 21, 2023
de8cd11
Merge branch 'master' into server-probs
jhen0409 Aug 22, 2023
e1911ac
send empty string when got stop_pos in partial
jhen0409 Aug 22, 2023
ec4a19c
Merge branch 'master' into server-probs
jhen0409 Aug 23, 2023
3fc1127
Merge branch 'master' into server-probs
jhen0409 Aug 23, 2023
3f436ea
avoid unnecessary empty data event & send rest of partial tokens on stop
jhen0409 Aug 23, 2023
db29d68
Merge branch 'master' into server-probs
jhen0409 Aug 24, 2023
343be7f
use <br /> for new line
jhen0409 Aug 24, 2023
8cec440
skip -1 tok in loop to avoid send '' on end
jhen0409 Aug 25, 2023
607758a
trim last new lines on stop
jhen0409 Aug 25, 2023
8f86eb9
revert unnecessary change
jhen0409 Aug 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading