Instructions to use flock-io/Flock_Web3_Agent_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flock-io/Flock_Web3_Agent_Model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("flock-io/Flock_Web3_Agent_Model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,7 +46,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
| 46 |
messages = [
|
| 47 |
{"role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required -"
|
| 48 |
+ json.dumps(input_example["tools"], ensure_ascii=False)},
|
| 49 |
-
{"role": "user", "content": input_example["
|
| 50 |
]
|
| 51 |
text = tokenizer.apply_chat_template(
|
| 52 |
messages,
|
|
|
|
| 46 |
messages = [
|
| 47 |
{"role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required -"
|
| 48 |
+ json.dumps(input_example["tools"], ensure_ascii=False)},
|
| 49 |
+
{"role": "user", "content": input_example["query"]}
|
| 50 |
]
|
| 51 |
text = tokenizer.apply_chat_template(
|
| 52 |
messages,
|