better usage details
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ tags:
|
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# Model Card for
|
| 13 |
|
| 14 |
This model is a fine-tuned version of [google/functiongemma-270m-it](https://huggingface.co/google/functiongemma-270m-it). It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 15 |
|
|
@@ -18,7 +18,14 @@ The script was derived from the [Google Colab example](https://github.com/google
|
|
| 18 |
|
| 19 |
For the time being the litertlm model conversion for edge use (Andoid,..) is available in the functiongemma-mobile-actions-litertlm subdirectory here.
|
| 20 |
|
| 21 |
-
## Quick start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
```python
|
| 24 |
from transformers import pipeline
|
|
@@ -31,9 +38,6 @@ print(output["generated_text"])
|
|
| 31 |
|
| 32 |
## Training procedure
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
This model was trained with SFT.
|
| 38 |
|
| 39 |
### Framework versions
|
|
@@ -46,8 +50,6 @@ This model was trained with SFT.
|
|
| 46 |
|
| 47 |
## Citations
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
| 51 |
Cite TRL as:
|
| 52 |
|
| 53 |
```bibtex
|
|
|
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Model Card for functiongemma-mobile-actions
|
| 13 |
|
| 14 |
This model is a fine-tuned version of [google/functiongemma-270m-it](https://huggingface.co/google/functiongemma-270m-it). It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 15 |
|
|
|
|
| 18 |
|
| 19 |
For the time being the litertlm model conversion for edge use (Andoid,..) is available in the functiongemma-mobile-actions-litertlm subdirectory here.
|
| 20 |
|
| 21 |
+
## Quick start for the converted-to-litertlm model for Android
|
| 22 |
+
|
| 23 |
+
Install the Google AI Edge Gallery app from the Play Store. Start Edge Gallery.
|
| 24 |
+
In the mobile browser download the .litertlm model version (just one file) from [the subdir here](https://github.com/ai-bits/functiongemma/tree/main/funcgemma-mobile-actions-litertlm).
|
| 25 |
+
Click the bottom right plus button in the app to install the litertlm model from Downloads.
|
| 26 |
+
Try it in the now populated Mobile Actions widget.
|
| 27 |
+
|
| 28 |
+
## Quick start in the README.md generated at fine-tuning
|
| 29 |
|
| 30 |
```python
|
| 31 |
from transformers import pipeline
|
|
|
|
| 38 |
|
| 39 |
## Training procedure
|
| 40 |
|
|
|
|
|
|
|
|
|
|
| 41 |
This model was trained with SFT.
|
| 42 |
|
| 43 |
### Framework versions
|
|
|
|
| 50 |
|
| 51 |
## Citations
|
| 52 |
|
|
|
|
|
|
|
| 53 |
Cite TRL as:
|
| 54 |
|
| 55 |
```bibtex
|