Instructions to use reaperdoesntknow/TameLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reaperdoesntknow/TameLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="reaperdoesntknow/TameLM", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("reaperdoesntknow/TameLM", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use reaperdoesntknow/TameLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "reaperdoesntknow/TameLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "reaperdoesntknow/TameLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/reaperdoesntknow/TameLM
- SGLang
How to use reaperdoesntknow/TameLM 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 "reaperdoesntknow/TameLM" \ --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": "reaperdoesntknow/TameLM", "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 "reaperdoesntknow/TameLM" \ --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": "reaperdoesntknow/TameLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use reaperdoesntknow/TameLM with Docker Model Runner:
docker model run hf.co/reaperdoesntknow/TameLM
Clarify research concept status
Browse files
README.md
CHANGED
|
@@ -7,6 +7,8 @@ tags: []
|
|
| 7 |
|
| 8 |
**TameLM** is a custom TAMELM language-model checkpoint. The repository includes an implementation of routed attention, depth attention, and dropless mixture-of-experts (MoE), together with weights, configuration, and tokenizer assets.
|
| 9 |
|
|
|
|
|
|
|
| 10 |
This card documents the published repository artifacts. Architecture names and configuration fields describe the implementation, not demonstrated reasoning ability or benchmark performance.
|
| 11 |
|
| 12 |
## Architecture and configuration
|
|
|
|
| 7 |
|
| 8 |
**TameLM** is a custom TAMELM language-model checkpoint. The repository includes an implementation of routed attention, depth attention, and dropless mixture-of-experts (MoE), together with weights, configuration, and tokenizer assets.
|
| 9 |
|
| 10 |
+
This is a research concept model exploring a particular architectural configuration. Related TAMELM concept models vary in size or setup; each should be evaluated individually.
|
| 11 |
+
|
| 12 |
This card documents the published repository artifacts. Architecture names and configuration fields describe the implementation, not demonstrated reasoning ability or benchmark performance.
|
| 13 |
|
| 14 |
## Architecture and configuration
|