Update README.md
Browse files
README.md
CHANGED
|
@@ -14,22 +14,8 @@ license: gemma
|
|
| 14 |
This model is a fine-tuned version of [google/functiongemma-270m-it](https://huggingface.co/google/functiongemma-270m-it).
|
| 15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 16 |
|
| 17 |
-
## Quick start
|
| 18 |
-
|
| 19 |
-
```python
|
| 20 |
-
from transformers import pipeline
|
| 21 |
-
|
| 22 |
-
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 23 |
-
generator = pipeline("text-generation", model="Simon-Liu/functiongemma-tw-get-stock-price", device="cuda")
|
| 24 |
-
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 25 |
-
print(output["generated_text"])
|
| 26 |
-
```
|
| 27 |
-
|
| 28 |
## Training procedure
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
This model was trained with SFT.
|
| 34 |
|
| 35 |
### Framework versions
|
|
|
|
| 14 |
This model is a fine-tuned version of [google/functiongemma-270m-it](https://huggingface.co/google/functiongemma-270m-it).
|
| 15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
## Training procedure
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
This model was trained with SFT.
|
| 20 |
|
| 21 |
### Framework versions
|