Instructions to use transformers-community/custom_generate_example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use transformers-community/custom_generate_example with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("transformers-community/custom_generate_example", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ tags:
|
|
| 5 |
---
|
| 6 |
|
| 7 |
## Description
|
| 8 |
-
|
| 9 |
|
| 10 |
## Base model:
|
| 11 |
`Qwen/Qwen2.5-0.5B-Instruct`
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
## Description
|
| 8 |
+
Example repository used to document `generate` from the hub. It is a simplified implementation of greedy decoding.
|
| 9 |
|
| 10 |
## Base model:
|
| 11 |
`Qwen/Qwen2.5-0.5B-Instruct`
|