Commit Graph

1061 Commits

Author SHA1 Message Date
Aleksandras Kostarevas
c308504a25 Update tablet layouts, fix tablet swipe typing 2024-05-27 21:44:06 +03:00
Aleksandras Kostarevas
be5ed15220 Fix some linter warnings 2024-05-16 17:18:08 -05:00
Aleksandras Kostarevas
0b9f1ca074 Update traversal 2024-05-16 15:09:51 -05:00
Aleksandras Kostarevas
b59aa89363 Use more C++ style memory management 2024-05-16 14:33:02 -05:00
Aleksandras Kostarevas
edbb92114f Ensure skipProbability is in range 2024-05-16 12:07:28 -05:00
Aleksandras Kostarevas
09a6a30d8b Use jstring2string for more strings 2024-05-16 12:07:16 -05:00
Aleksandras Kostarevas
7d5b12feaf Add payment menu 2024-04-28 21:52:42 -04:00
Aleksandras Kostarevas
f261de9fab Revert n_threads and n_threads_batch change 2024-04-23 15:21:53 -04:00
Aleksandras Kostarevas
46daec4972 Split by n_batch for llama_decode 2024-04-22 14:37:14 -04:00
Aleksandras Kostarevas
ed5dbe1f2c Update weighting and max limit 2024-04-22 10:49:07 -04:00
Aleksandras Kostarevas
a0cb585ef6 Better handle intentional omissions for swipe 2024-04-22 10:05:40 -04:00
Aleksandras Kostarevas
9e0dc28848 Add memory debug action window 2024-04-22 00:32:36 -04:00
Aleksandras Kostarevas
8ae3263822 Implement initial swipe typing 2024-04-18 10:29:10 -05:00
Aleksandras Kostarevas
9308bcbfb0 Reduce logging 2024-04-11 00:43:56 -05:00
Aleksandras Kostarevas
cbd75f9799 Fix some race conditions and properly free language model 2024-04-09 23:06:31 -05:00
Aleksandras Kostarevas
63016fd067 Add more logging to whispercpp 2024-04-09 14:41:32 -05:00
Aleksandras Kostarevas
d379cb103b Fix potential crash in transformer_context_fastforward 2024-04-09 13:26:12 -05:00
Aleksandras Kostarevas
bec40d167c Fix log assertions ggml 2024-03-30 19:11:01 -05:00
Aleksandras Kostarevas
1331b1c6d6 Fix log assertions ggml 2024-03-30 19:02:47 -05:00
Aleksandras Kostarevas
e75eff11e1 Log assertions ggml 2024-03-30 18:58:07 -05:00
Aleksandras Kostarevas
5ecdafd60b Ensure conv graph measurement never undermeasures memory with dynamic audio ctx 2024-03-30 18:45:54 -05:00
Aleksandras Kostarevas
434a751d63 Fix modified utf-8 errors when returning strings 2024-03-21 16:49:45 -05:00
Aleksandras Kostarevas
350b8e8fcf Add bad word filtering and blacklisting 2024-03-13 13:31:51 -05:00
Aleksandras Kostarevas
42ac255a81 Sync whisper.cpp changes from voice input 2024-03-05 11:06:24 +02:00
Aleksandras Kostarevas
e4d41567b0 Update hyperparameter 2024-02-20 21:04:07 +02:00
Aleksandras Kostarevas
f888ba3353 Fix finetuning, add a finetuning screen, handle errors during importing model, update metadata format, add model exporting 2024-01-30 17:14:02 +02:00
Aleksandras Kostarevas
5bf4492634 Fix embedded tokenizer loading, implement new model management methods, implement model info loading, model importing 2024-01-28 22:40:39 +02:00
Aleksandras Kostarevas
0021b6aa04 Model metadata and manager component 2024-01-24 01:03:16 +02:00
Aleksandras Kostarevas
7aea41eede Add decomposeTapPosition fallback for nonintersecting cases 2024-01-22 08:21:27 +02:00
Aleksandras Kostarevas
dbad61d2e6 Fix non-English dictionary prediction 2024-01-16 21:02:55 +02:00
Aleksandras Kostarevas
ebb70b9c12 Fix build, disable gesture input pending model update 2023-12-19 20:28:58 +02:00
Aleksandras Kostarevas
4e9e86d871 Implement multimodal position encoder 2023-12-19 20:02:20 +02:00
Aleksandras Kostarevas
7075c22179 Add key embedding mixing 2023-12-04 20:09:51 +00:00
Aleksandras Kostarevas
854e1295cc Fix problem with n_tokens==0 2023-11-28 16:20:33 +00:00
abb128
ca9c9d5a9a ggml backend v2 2023-11-25 09:39:04 +02:00
abb128
f31db527d6 Add whisper.cpp 2023-11-25 09:13:50 +02:00
Aleksandras Kostarevas
14fcb55565 Save LoRA-merged model after training 2023-11-14 20:40:00 +02:00
Aleksandras Kostarevas
2409eecef5 Loss/progress training callbacks 2023-11-14 18:11:00 +02:00
Aleksandras Kostarevas
ee8a81f12c Initial fine-tuning 2023-11-07 16:48:48 +02:00
Aleksandras Kostarevas
5778cd15a0 Update ggml and llama.cpp 2023-11-06 13:41:25 +02:00
Aleksandras Kostarevas
b8539ce88a Initial batched inference using llama_batch 2023-10-10 22:34:04 +03:00
Aleksandras Kostarevas
6d17f00296 Update llama.cpp 2023-10-10 22:32:25 +03:00
Aleksandras Kostarevas
ea0af67ecc Add ggml, sentencepiece and dependencies 2023-09-28 19:41:05 +03:00
abb128
434f8b6b27 Initial working build of fork 2023-07-06 21:57:49 +03:00
Jing Mike
03eef94a8d Remove unused variables
Since some variables with module LatinIME are defined but not used,
when compiled with build combination "sdk_pc_x86_64-userdebug" and
build command "mmm packages/inputmethods/LatinIME", the following
code lines will be reported that "variable 'XXX' set but not used".
(should be similar for all the other build combinations)

Repeated 10 times for each:
terminal_position_lookup_table.cpp:74:9 removedEntryCount
terminal_position_lookup_table.cpp:85:9 removedEntryCount
proximity_info_state_utils.cpp:493:9 tempTime
trie_map.cpp:56:9 unusedRegionSize
suggestion_results.cpp💯9 index

Repeated 80+ times:
proximity_info_utils.h:75:25 proximityChar

With this patch we are removing some of the unused variables and
putting the C++ 17 attribute [[maybe_unused]] to the others which
are used for logging. Then all the related build warnings have been
eliminated.

Test: mmm packages/inputmethods/LatinIME, presubmit check.

Change-Id: Ia66766322d6ae8a010b1cb55cc22993fbc6d012c
Signed-off-by: Jing Mike <jingyangliu@eswincomputing.com>
2023-03-19 10:00:01 +00:00
Seigo Nonaka
0c549e7424 Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Bug: 161896447
Test: tapas LatinIME && m
Change-Id: Ic06f948c023a091e1532db826a78dd01031d7205
2020-07-31 11:28:59 -07:00
Jeff Sharkey
1d9bf42009 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Bug: 161896447
Change-Id: I171bc299e660f96f20041a67a3052bd8a2ed781c
2020-07-31 09:33:35 -06:00
Chih-Hung Hsieh
f7b80bb317 Merge "Fix performance-for-range-copy warnings" am: db2e4888f8 am: 947f8ee063
am: 535cd61e63

Change-Id: Ic8ee8523a644b283ef0c9592bb66bf09ca541485
2018-12-11 16:36:28 -08:00
Chih-Hung Hsieh
895bf97d22 Fix performance-for-range-copy warnings
Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: I06021a6597705515dc7a3cb81a7fbbac7ba344a1
2018-12-11 10:40:46 -08:00
Chih-Hung Hsieh
17116a6ce8 Merge "Add noexcept to move constructors and assignment operators." am: 61d3a1d39b am: 587239f195
am: 9c58fe67f0

Change-Id: I926433188e61eef7f4947167e51b1afae407d9fc
2018-10-05 12:43:33 -07:00