Download app.py from ShadowTak/Testnakub: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/spaces/ShadowTak/Testnakub/resolve/main/app.py
- Command line
-
hf download hf://spaces/ShadowTak/Testnakub/app.py
-
curl -L -o app.py https://huggingface.co/spaces/ShadowTak/Testnakub/resolve/main/app.py
237 Bytes
| # Use a pipeline as a high-level helper | |
| from transformers import pipeline | |
| messages = [ | |
| {"role": "user", "content": "Who are you?"}, | |
| ] | |
| pipe = pipeline("text-generation", model="scb10x/llama-3-typhoon-v1.5-8b-instruct") | |
| pipe(messages) |