Text Generation
Transformers
Safetensors
English
cloverlm
causal-lm
quartet-ii
nvfp4
low-precision-training
pretrained
custom_code
Instructions to use daslab-testing/CloverLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use daslab-testing/CloverLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="daslab-testing/CloverLM", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("daslab-testing/CloverLM", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use daslab-testing/CloverLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "daslab-testing/CloverLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "daslab-testing/CloverLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/daslab-testing/CloverLM
- SGLang
How to use daslab-testing/CloverLM 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 "daslab-testing/CloverLM" \ --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": "daslab-testing/CloverLM", "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 "daslab-testing/CloverLM" \ --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": "daslab-testing/CloverLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use daslab-testing/CloverLM with Docker Model Runner:
docker model run hf.co/daslab-testing/CloverLM
Update README.md
Browse files
README.md
CHANGED
|
@@ -78,7 +78,7 @@ OPT-175B baselines from the [BigScience evaluation repository](https://github.co
|
|
| 78 |
|---|---|---:|---:|
|
| 79 |
| Wikitext | bits per byte ↓ | 0.723 | — |
|
| 80 |
| LAMBADA (OpenAI) | acc ↑ | 61.1 | **76.2** |
|
| 81 |
-
| NQ
|
| 82 |
|
| 83 |
### MMLU (590k checkpoint)
|
| 84 |
|
|
@@ -180,7 +180,7 @@ The model uses 264 weight tensors totaling ~4.14 B parameters.
|
|
| 180 |
- **English only**: The TokenMonster vocabulary and ClimbMix training data are English-centric.
|
| 181 |
- **No instruction tuning**: This is a base pretrained model, not fine-tuned for instruction following or chat.
|
| 182 |
- **Contamination risk**: ClimbMix optimizes mixture weights against benchmark scores, and the upstream datasets (Nemotron-CC, SmolLM-Corpus) do not investigate benchmark contamination. Strong results should be interpreted with caution.
|
| 183 |
-
- **Generative benchmarks**: The model is notably weaker on open-ended generation tasks (LAMBADA, NQ
|
| 184 |
|
| 185 |
## Citation
|
| 186 |
|
|
|
|
| 78 |
|---|---|---:|---:|
|
| 79 |
| Wikitext | bits per byte ↓ | 0.723 | — |
|
| 80 |
| LAMBADA (OpenAI) | acc ↑ | 61.1 | **76.2** |
|
| 81 |
+
| NQ | exact match ↑ | 7.8 | **14.6** |
|
| 82 |
|
| 83 |
### MMLU (590k checkpoint)
|
| 84 |
|
|
|
|
| 180 |
- **English only**: The TokenMonster vocabulary and ClimbMix training data are English-centric.
|
| 181 |
- **No instruction tuning**: This is a base pretrained model, not fine-tuned for instruction following or chat.
|
| 182 |
- **Contamination risk**: ClimbMix optimizes mixture weights against benchmark scores, and the upstream datasets (Nemotron-CC, SmolLM-Corpus) do not investigate benchmark contamination. Strong results should be interpreted with caution.
|
| 183 |
+
- **Generative benchmarks**: The model is notably weaker on open-ended generation tasks (LAMBADA, NQ) compared to the 175B baselines, reflecting the scale gap on tasks that require deeper knowledge recall.
|
| 184 |
|
| 185 |
## Citation
|
| 186 |
|