Instructions to use tigerbhai/SmalltexminLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tigerbhai/SmalltexminLLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tigerbhai/SmalltexminLLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tigerbhai/SmalltexminLLM") model = AutoModelForCausalLM.from_pretrained("tigerbhai/SmalltexminLLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use tigerbhai/SmalltexminLLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tigerbhai/SmalltexminLLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tigerbhai/SmalltexminLLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tigerbhai/SmalltexminLLM
- SGLang
How to use tigerbhai/SmalltexminLLM 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 "tigerbhai/SmalltexminLLM" \ --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": "tigerbhai/SmalltexminLLM", "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 "tigerbhai/SmalltexminLLM" \ --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": "tigerbhai/SmalltexminLLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use tigerbhai/SmalltexminLLM with Docker Model Runner:
docker model run hf.co/tigerbhai/SmalltexminLLM
Commit History
-
Rename tokenizer (2).json to tokenizer.json
Verified signature73456d9 -
Upload tokenizer (2).json
Verified signaturef1cc5ba -
Delete tokenizer.json
Verified signature5c27bb0
-
Upload generation_config.json
0ad6b55 -
Delete generation_config.json
cd7dcca -
Rename generation_config .json to generation_config.json
0abd1ac -
Rename generation_config (1).json to generation_config .json
f11d672 -
Delete generation_config.json
01cb522 -
Upload generation_config (1).json
76a893f
-
Rename tokenizer (1).json to tokenizer.json
6e5cbd2 -
Upload tokenizer (1).json
1c1fd30 -
Delete tokenizer.json
b40477f -
Rename tokenizer .json to tokenizer.json
31d6442 -
Rename tokenizer (1).json to tokenizer .json
bdfb564 -
Delete tokenizer.json
aa25dd5 -
Upload tokenizer (1).json
afebaad
-
Upload tokenizer.json
7501a8b -
Rename tokenizer (1).json to tokenizer.json
9d294c6 -
Upload tokenizer (1).json
3f5c031 -
Upload vocab.json
419245a -
Upload model
b869ad2 -
initial commit
5a51b45