Instructions to use MayaPH/GodziLLa-30B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MayaPH/GodziLLa-30B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MayaPH/GodziLLa-30B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MayaPH/GodziLLa-30B") model = AutoModelForCausalLM.from_pretrained("MayaPH/GodziLLa-30B") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use MayaPH/GodziLLa-30B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MayaPH/GodziLLa-30B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MayaPH/GodziLLa-30B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MayaPH/GodziLLa-30B
- SGLang
How to use MayaPH/GodziLLa-30B 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 "MayaPH/GodziLLa-30B" \ --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": "MayaPH/GodziLLa-30B", "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 "MayaPH/GodziLLa-30B" \ --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": "MayaPH/GodziLLa-30B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MayaPH/GodziLLa-30B with Docker Model Runner:
docker model run hf.co/MayaPH/GodziLLa-30B
Commit ·
9b99d9d
1
Parent(s): 61456be
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -2
tokenizer_config.json
CHANGED
|
@@ -29,6 +29,5 @@
|
|
| 29 |
"normalized": true,
|
| 30 |
"rstrip": false,
|
| 31 |
"single_word": false
|
| 32 |
-
}
|
| 33 |
-
"use_fast": false
|
| 34 |
}
|
|
|
|
| 29 |
"normalized": true,
|
| 30 |
"rstrip": false,
|
| 31 |
"single_word": false
|
| 32 |
+
}
|
|
|
|
| 33 |
}
|