Copybara-Service
|
a2ef389897
|
Merge pull request #98 from zeerd:patch-2
PiperOrigin-RevId: 615769065
|
2024-03-14 07:21:23 -07:00 |
Charles Chan
|
46c1aca304
|
Add missing log that point to a failed Generation
|
2024-03-14 10:03:25 +08:00 |
Jan Wassenberg
|
5fa2eb1a86
|
Use bf16-rounded sqrt for scaling embeddings to match Gemma
Thanks Daniel & Michael Han for pointing this out.
https://unsloth.ai/blog/gemma-bugs
PiperOrigin-RevId: 615250003
|
2024-03-12 19:15:13 -07:00 |
Copybara-Service
|
ccd055e06b
|
Merge pull request #82 from google:examples
PiperOrigin-RevId: 615066980
|
2024-03-12 09:24:24 -07:00 |
austinvhuang
|
5d323c00fe
|
fix tokenizer scope
|
2024-03-10 13:23:16 -04:00 |
austinvhuang
|
0fc80fad05
|
libgemma refactor - review changes
|
2024-03-10 12:55:08 -04:00 |
austinvhuang
|
cc5c24c4f8
|
remove app.h dependency + fix bazel build
|
2024-03-08 18:06:43 -05:00 |
austinvhuang
|
dfd2fdc1dd
|
Decouple gemma constructor from loader args, update hello_world example, add convenience version of constructor (no uncompressed weights)
|
2024-03-08 17:26:03 -05:00 |
austinvhuang
|
42e53e2da8
|
[WIP] simplify hello world example, add convenience function. TODO: update git hash in CMakeLists.txt of hello world after push
|
2024-03-08 14:56:22 -05:00 |
austinvhuang
|
b67e28d1a0
|
[WIP] remove args from GetWeights, GetCompressedWeights
|
2024-03-08 00:00:11 -05:00 |
RangerUFO
|
170a9b4690
|
Make `CreateKVCache` a free function rather than a method
|
2024-03-07 15:52:55 +08:00 |
RangerUFO
|
b841612e8c
|
Separate KV cache from GemmaImpl
|
2024-03-07 15:47:31 +08:00 |
austinvhuang
|
e781007836
|
[WIP] Remove InferenceArgs from hello_world example, fix ordering of LoaderArgs validation, revert ReplGemma EOT token behavior
|
2024-03-06 23:21:13 -05:00 |
austinvhuang
|
7042316013
|
[WIP] update GemmaInterface, Gemma, and Generate input parameter specs to remove InferenceArgs. TODO: update hello_world example after git commit hash is available for fetching
|
2024-03-06 22:22:59 -05:00 |
austinvhuang
|
0f6a4b49d5
|
[WIP] quality tweaks - for constants, defer float cast and use double for intermediate computations, add `model` to EOT token
|
2024-03-06 15:34:11 -05:00 |
austinvhuang
|
5b9d8a9936
|
[WIP] dev/examples branch merge
|
2024-03-06 15:10:48 -05:00 |
austinvhuang
|
10f7a086aa
|
[WIP] decouple GemmaImpl from CLI args
|
2024-03-06 15:06:41 -05:00 |
Copybara-Service
|
cd7468199c
|
Merge pull request #65 from enum-class:narrowing-issues
PiperOrigin-RevId: 612279564
|
2024-03-03 18:51:59 -08:00 |
Paul Chang
|
ae7901c3f4
|
Minor style fix
Remove some obsolete TODOs.
PiperOrigin-RevId: 611571224
|
2024-02-29 13:08:26 -08:00 |
Jan Wassenberg
|
272f17ddb3
|
Warning fixes: unused member, cast, unused function
PiperOrigin-RevId: 611074887
|
2024-02-28 05:54:22 -08:00 |
enum-class
|
06dd013397
|
Add clang-tidy, fix narrowing issues, fix constness
|
2024-02-28 20:04:09 +08:00 |
Dan Zheng
|
d9e1af7551
|
Copybara fix.
PiperOrigin-RevId: 610032760
|
2024-02-24 12:02:59 -08:00 |
Dan Zheng
|
c03b5da542
|
Copybara configuration update.
PiperOrigin-RevId: 609931218
|
2024-02-24 12:02:47 -08:00 |
Dan Zheng
|
4b1fa03e95
|
Fix build. (#35)
* Enable GitHub Actions CI for pull requests.
* Fix sentencepiece include directives.
|
2024-02-24 11:03:36 -08:00 |
Ikko Eltociear Ashimine
|
e4e02a17d4
|
Copybara import of the project:
--
5c7dbc6599 by Ikko Eltociear Ashimine <eltociear@gmail.com>:
Update build.yml
dispath -> dispatch
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gemma.cpp/pull/22 from eltociear:patch-1 5c7dbc6599
PiperOrigin-RevId: 609827161
|
2024-02-23 22:32:51 -08:00 |
The gemma.cpp Authors
|
a16df06cf2
|
Toward Bazel support: expose BUILD, add WORKSPACE/MODULE.bazel. Refs #16
PiperOrigin-RevId: 609734560
|
2024-02-23 08:23:18 -08:00 |
The gemma_cpp Authors
|
587e80f276
|
Code update
PiperOrigin-RevId: 609394329
|
2024-02-22 09:19:47 -08:00 |
Austin Huang
|
e29cd566cf
|
initial commit
|
2024-02-21 03:31:22 +00:00 |