Commit Graph

1268 Commits

Author SHA1 Message Date
oobabooga
302e3b7973 Fix api extension 2023-04-06 01:21:24 -03:00
oobabooga
b6cb93fca0 Do not create the API in chat mode 2023-04-06 00:53:34 -03:00
oobabooga
3ac7c9c80a Create new API 2023-04-06 00:42:13 -03:00
oobabooga
9c3a585915 Create new API 2023-04-06 00:31:58 -03:00
oobabooga
e6569653b1 Bug fix 2023-04-05 23:44:32 -03:00
oobabooga
9e31fe65ce Rename variables 2023-04-05 23:38:01 -03:00
oobabooga
572f1d8bdb Remove unused import 2023-04-05 23:34:27 -03:00
oobabooga
26935af4b6 Fix preset loading 2023-04-05 23:31:31 -03:00
oobabooga
c58fd41f46 Attempt at fixing preset loading 2023-04-05 23:23:18 -03:00
oobabooga
119726d986 Fix bug 2023-04-05 23:08:47 -03:00
oobabooga
23f319bb40 Clean up 2023-04-05 23:00:19 -03:00
oobabooga
126bbc6970 Clean up 2023-04-05 22:55:38 -03:00
oobabooga
849a54ef2d Remove variables 2023-04-05 22:53:21 -03:00
oobabooga
f1dd728413 Remove unneeded variables 2023-04-05 22:48:11 -03:00
oobabooga
9a064b78e6 Minor simplification 2023-04-05 22:43:10 -03:00
oobabooga
92ea89e59a Reorder parameters 2023-04-05 22:39:03 -03:00
oobabooga
77232fa68e Rename a variable 2023-04-05 22:32:52 -03:00
oobabooga
cfdbc8bd23 Move more widgets into generation_parameters 2023-04-05 22:30:45 -03:00
oobabooga
64978b45fe Remove broken api 2023-04-05 22:00:23 -03:00
oobabooga
97e8ea219b Use **kwargs in generate_chat_prompt 2023-04-05 21:38:49 -03:00
oobabooga
cf239c1232 Merge branch 'main' into state_as_function_params 2023-04-05 19:36:54 -03:00
SDS
378d21e80c Add LLaMA-Precise preset (#767) 2023-04-05 18:52:36 -03:00
oobabooga
613996dd01 Use state as function param 2023-04-05 17:22:05 -03:00
eiery
19b516b11b fix link to streaming api example (#803) 2023-04-05 14:50:23 -03:00
oobabooga
7617ed5bfd Add AMD instructions 2023-04-05 14:42:58 -03:00
oobabooga
770ef5744f Update README 2023-04-05 14:38:11 -03:00
Forkoz
8203ce0cac Stop character pic from being cached when changing chars or clearing. (#798)
Tested on both FF and chromium
2023-04-05 14:25:01 -03:00
oobabooga
7f66421369 Fix loading characters 2023-04-05 14:22:32 -03:00
oobabooga
90141bc1a8 Fix saving prompts on Windows 2023-04-05 14:08:54 -03:00
oobabooga
cf2c4e740b Disable gradio analytics globally 2023-04-05 14:05:50 -03:00
oobabooga
e722c240af Add Instruct mode 2023-04-05 13:54:50 -03:00
oobabooga
3d6cb5ed63 Minor rewrite 2023-04-05 01:21:40 -03:00
oobabooga
f3a2e0b8a9 Disable pre_layer when the model type is not llama 2023-04-05 01:19:26 -03:00
oobabooga
ca8bb38949 Simplify gallery 2023-04-05 00:34:17 -03:00
catalpaaa
4ab679480e allow quantized model to be loaded from model dir (#760) 2023-04-04 23:19:38 -03:00
oobabooga
ae1fe45bc0 One more cache reset 2023-04-04 23:15:57 -03:00
oobabooga
8ef89730a5 Try to better handle browser image cache 2023-04-04 23:09:28 -03:00
oobabooga
cc6c7a37f3 Add make_thumbnail function 2023-04-04 23:03:58 -03:00
oobabooga
80dfba05f3 Better crop/resize cached images 2023-04-04 22:52:15 -03:00
oobabooga
65d8a24a6d Show profile pictures in the Character tab 2023-04-04 22:28:49 -03:00
oobabooga
f70a2e3ad4 Second attempt at fixing empty space 2023-04-04 18:30:34 -03:00
oobabooga
9c86acda67 Fix huge empty space in the Character tab 2023-04-04 18:07:34 -03:00
oobabooga
38afc2470c Change indentation 2023-04-04 16:32:27 -03:00
oobabooga
b2ce7282a1 Use past transformers version #773 2023-04-04 16:11:42 -03:00
OWKenobi
ee4547cd34 Detect "vicuna" as llama model type (#772) 2023-04-04 13:23:27 -03:00
oobabooga
881dbc3d44 Add back the name 2023-04-04 13:11:34 -03:00
oobabooga
af0cb283e4 improve the example character yaml format (#770 from mcmonkey4eva) 2023-04-04 12:52:21 -03:00
Alex "mcmonkey" Goodwin
165d757444 improve the example character yaml format - use multiline blocks
multiline blocks make the input much cleaner and simpler, particularly for the example_dialogue. For the greeting block it can kinda go either way but I think it still ends up nicer. Also double quotes in context fixes the need to escape the singlequote inside.
2023-04-04 08:25:11 -07:00
oobabooga
8de22ac82a Merge character upload tabs 2023-04-03 18:01:45 -03:00
oobabooga
b24147c7ca Document --pre_layer 2023-04-03 17:34:25 -03:00