Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,58 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
-
library_name: transformers
|
| 4 |
-
model_name: functiongemma-270m-it-simple-tool-calling
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
licence: license
|
| 10 |
---
|
| 11 |
-
|
| 12 |
-
# Model Card for functiongemma-270m-it-simple-tool-calling
|
| 13 |
-
|
| 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="Oummadi/functiongemma-270m-it-simple-tool-calling", 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 |
-
|
| 34 |
-
This model was trained with SFT.
|
| 35 |
-
|
| 36 |
-
### Framework versions
|
| 37 |
-
|
| 38 |
-
- TRL: 1.4.0
|
| 39 |
-
- Transformers: 5.0.0
|
| 40 |
-
- Pytorch: 2.10.0+cu128
|
| 41 |
-
- Datasets: 4.8.5
|
| 42 |
-
- Tokenizers: 0.22.2
|
| 43 |
-
|
| 44 |
-
## Citations
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
Cite TRL as:
|
| 49 |
-
|
| 50 |
-
```bibtex
|
| 51 |
-
@software{vonwerra2020trl,
|
| 52 |
-
title = {{TRL: Transformers Reinforcement Learning}},
|
| 53 |
-
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
|
| 54 |
-
license = {Apache-2.0},
|
| 55 |
-
url = {https://github.com/huggingface/trl},
|
| 56 |
-
year = {2020}
|
| 57 |
-
}
|
| 58 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Oummadi/functiongemma-270m-it
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
+
- function-calling
|
| 5 |
+
- functiongemma-270m-it-simple-tool-calling
|
| 6 |
+
- gemma
|
|
|
|
| 7 |
---
|
| 8 |
+
A fine-tuned model based on `Oummadi/functiongemma-270m-it`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|