Instructions to use OS-Copilot/OS-Genesis-7B-AW with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OS-Copilot/OS-Genesis-7B-AW with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("OS-Copilot/OS-Genesis-7B-AW") model = AutoModelForImageTextToText.from_pretrained("OS-Copilot/OS-Genesis-7B-AW") - Notebooks
- Google Colab
- Kaggle
Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +13 -0
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"temperature": 0.01,
|
| 10 |
+
"top_k": 1,
|
| 11 |
+
"top_p": 0.001,
|
| 12 |
+
"transformers_version": "4.45.0"
|
| 13 |
+
}
|