Update README.md
Browse files
README.md
CHANGED
@@ -26,13 +26,13 @@ Fine-Tuned on : xLAM dataset
|
|
26 |
|
27 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
28 |
|
29 |
-
- **Developed by:**
|
30 |
- **Funded by [optional]:** [More Information Needed]
|
31 |
- **Shared by [optional]:** [More Information Needed]
|
32 |
- **Model type:** [More Information Needed]
|
33 |
- **Language(s) (NLP):** [More Information Needed]
|
34 |
- **License:** [More Information Needed]
|
35 |
-
- **Finetuned from model [optional]:**
|
36 |
|
37 |
### Model Sources [optional]
|
38 |
|
@@ -166,6 +166,10 @@ model = AutoModelForCausalLM.from_pretrained("KishoreK/ActionGemma-9B", use_cach
|
|
166 |
outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
|
167 |
print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))
|
168 |
```
|
|
|
|
|
|
|
|
|
169 |
chat template, inference are referenced from xLAM documentation.
|
170 |
[More Information Needed]
|
171 |
|
|
|
26 |
|
27 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
28 |
|
29 |
+
- **Developed by:** KishoreK
|
30 |
- **Funded by [optional]:** [More Information Needed]
|
31 |
- **Shared by [optional]:** [More Information Needed]
|
32 |
- **Model type:** [More Information Needed]
|
33 |
- **Language(s) (NLP):** [More Information Needed]
|
34 |
- **License:** [More Information Needed]
|
35 |
+
- **Finetuned from model [optional]:** Gemma2-9B-it
|
36 |
|
37 |
### Model Sources [optional]
|
38 |
|
|
|
166 |
outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
|
167 |
print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))
|
168 |
```
|
169 |
+
output for the question
|
170 |
+
```
|
171 |
+
[{"name": "search", "arguments": {"query": "US President"}}]
|
172 |
+
```
|
173 |
chat template, inference are referenced from xLAM documentation.
|
174 |
[More Information Needed]
|
175 |
|