Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lithiumfleet/gemma.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

22 Commits

Repository files navigation

gemma.rs

Intro

This project aimming to run gemma using rust, (削除) which can provide high performance to infer. (削除ここまで)

I apologize for the suboptimal performance of this code. It doesn't fully leverage Rust's capabilities. If you're looking for a more efficient implementation of Gemme2 that runs well on a computer, please visit lmrs. This code is well structured and is primarily intended as a reference and learning tool for the Rust equivalent of gemma_pytorch now.

Reference

  • Reference implement

pytorch implementation

lmrs

chat tempelate

chat tempelate in cpp

TODO

  • tokenizer
  • model

About

Inference Gemma2-2b-it using rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /