Spaces:
Build error
Build error
Download app.py from Hackerssms/Myllm: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/spaces/Hackerssms/Myllm/resolve/main/app.py
- Command line
-
hf download hf://spaces/Hackerssms/Myllm/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Hackerssms/Myllm/resolve/main/app.py
225 Bytes
| # Use a pipeline as a high-level helper | |
| from transformers import pipeline | |
| pipe = pipeline("text-generation", model="dphn/Dolphin3.0-Mistral-24B") | |
| messages = [ | |
| {"role": "user", "content": "Who are you?"}, | |
| ] | |
| pipe(messages) |