File size: 816 Bytes
f3f0edc 6e4d005 f3f0edc 6e4d005 f3f0edc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
---
library_name: transformers
tags: [custom_generate]
---
## Description
Test repo to experiment with calling `generate` from the hub. It is a simplified implementation of greedy decoding.
⚠️ this recipe has an impossible requirement and is meant to crash. If you try to run it, you should see something like
```
ValueError: Missing requirements for joaogante/test_generate_from_hub_bad_requirements:
foo (installed: None)
bar==0.0.0 (installed: None)
torch>=99.0 (installed: 2.6.0+cu126)
```
## Base model
`Qwen/Qwen2.5-0.5B-Instruct`
## Model compatibility
Most models. More specifically, any `transformer` LLM/VLM trained for causal language modeling.
## Additional Arguments
`left_padding` (`int`, *optional*): number of padding tokens to add before the provided input
## Output Type changes
(none)
|