Instructions to use NasimB/guten with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NasimB/guten with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NasimB/guten")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NasimB/guten") model = AutoModelForCausalLM.from_pretrained("NasimB/guten", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NasimB/guten with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NasimB/guten" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NasimB/guten", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/NasimB/guten
- SGLang
How to use NasimB/guten with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "NasimB/guten" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NasimB/guten", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "NasimB/guten" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NasimB/guten", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use NasimB/guten with Docker Model Runner:
docker model run hf.co/NasimB/guten
Commit History
-
update model card README.md
115586c -
End of training
28b6984 -
Training in progress, step 10000
7d6d512 -
Training in progress, step 9500
36f6df4 -
Training in progress, step 9000
93b308f -
Training in progress, step 8500
600986b -
Training in progress, step 8000
ea848ef -
Training in progress, step 7500
7ad0dfc -
Training in progress, step 7000
34fc40a -
Training in progress, step 6500
b505a3f -
Training in progress, step 6000
eb7c981 -
Training in progress, step 5500
d8d0688 -
Training in progress, step 5000
5c48bd8 -
Training in progress, step 4500
7d924e4 -
Training in progress, step 4000
4e55fb2 -
Training in progress, step 3500
b20dfa6 -
Training in progress, step 3000
7e8b71b -
Training in progress, step 2500
93ae641 -
Training in progress, step 2000
a46d9dd -
Training in progress, step 1500
20ad3e8 -
Training in progress, step 1000
4aab329 -
Training in progress, step 500
a7b953c -
update model card README.md
61398b8 -
End of training
3df8fd0 -
Training in progress, step 10000
90cb65f -
Training in progress, step 9500
5273be0 -
Training in progress, step 9000
d89f213 -
Training in progress, step 8500
ac1ac6e -
Training in progress, step 8000
1dc1c9e -
Training in progress, step 7500
ccfc966 -
Training in progress, step 7000
332b9bc -
Training in progress, step 6500
6083c78 -
Training in progress, step 6000
db01e9c -
Training in progress, step 5500
5b1953f -
Training in progress, step 5000
18456d8 -
Training in progress, step 4500
9359211 -
Training in progress, step 4000
be6d6f8 -
Training in progress, step 3500
c3344da -
Training in progress, step 3000
d4dffda -
Training in progress, step 2500
a1afba6 -
Training in progress, step 2000
f0f576e -
Training in progress, step 1500
a151e1b -
Training in progress, step 1000
9d7b90d -
Training in progress, step 500
a9a835c -
Training in progress, step 2500
f844a5d -
Training in progress, step 2000
8f22922 -
Training in progress, step 1500
b3a5799 -
Training in progress, step 1000
e1c5d93 -
Training in progress, step 500
c3ff241 -
initial commit
b9ab071