Developed by Aashi Dutt and Nitin Tiwari.
This project is an implementation of fine-tuning the Gemma 2b-it model on a custom dataset and deploy the fine-tuned model on Android.
- Clone the repository on your local machine.
- Open the project in Android Studio.
- Edit
InferenceModel.kt
file on Line 44 by replacingYOUR_MODE_NAME.bin
with the actual name of your model. - Build the project.
- Install the Android app on your phone and enjoy using SciGemma.
-
Follow along three blog series explaining the code in detail:
Part 1: Step-by-Step Dataset Creation- Unstructured to Structured
Part 2: Fine Tune - Gemma 2b-it model
Part 3: Deploying SciGemma on Android
-
Fine-tuned model on 🤗: https://huggingface.co/NSTiwari/fine_tuned_science_gemma2b-it
-
Try our model on HFSpaces: https://huggingface.co/spaces/Aashi/NSTiwari-fine_tuned_science_gemma2b-it?logs=container
-
Checkout demo video on YouTube: https://www.youtube.com/watch?v=T_HDsVHTrwg