Download app.py from EEggeE/aaa: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/EEggeE/aaa/resolve/main/app.py
- Command line
-
hf download hf://spaces/EEggeE/aaa/app.py
-
curl -L -o app.py https://huggingface.co/spaces/EEggeE/aaa/resolve/main/app.py
280 Bytes
| # Load model directly | |
| from transformers import AutoTokenizer, AutoModelForCausalLM | |
| tokenizer = AutoTokenizer.from_pretrained("mohammedbriman/llama-2-7b-chat-turkish-instructions") | |
| model = AutoModelForCausalLM.from_pretrained("mohammedbriman/llama-2-7b-chat-turkish-instructions") |