Text Generation
Transformers
Safetensors
llama
metadata-localization
global
3b
with-metadata
pretraining
text-generation-inference
Instructions to use iamshnoo/combined_with_metadata_3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iamshnoo/combined_with_metadata_3b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="iamshnoo/combined_with_metadata_3b")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("iamshnoo/combined_with_metadata_3b") model = AutoModelForCausalLM.from_pretrained("iamshnoo/combined_with_metadata_3b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use iamshnoo/combined_with_metadata_3b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "iamshnoo/combined_with_metadata_3b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "iamshnoo/combined_with_metadata_3b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/iamshnoo/combined_with_metadata_3b
- SGLang
How to use iamshnoo/combined_with_metadata_3b 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 "iamshnoo/combined_with_metadata_3b" \ --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": "iamshnoo/combined_with_metadata_3b", "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 "iamshnoo/combined_with_metadata_3b" \ --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": "iamshnoo/combined_with_metadata_3b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use iamshnoo/combined_with_metadata_3b with Docker Model Runner:
docker model run hf.co/iamshnoo/combined_with_metadata_3b
Update model card and embedded training curves
Browse files- README.md +17 -1
- assets/tokens_per_sec.png +0 -0
- assets/train_loss.png +0 -0
- assets/val_perplexity.png +0 -0
README.md
CHANGED
|
@@ -51,6 +51,22 @@ This repo contains the global combined model at the final 10k-step checkpoint fo
|
|
| 51 |
- `min_decay_lr`: `0`
|
| 52 |
- `checkpoint_interval`: `100`
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
## Project Context
|
| 55 |
|
| 56 |
This model is part of the metadata localization release. Related checkpoints and variants are grouped in the public Hugging Face collection [Metadata Conditioned LLMs](https://huggingface.co/collections/iamshnoo/metadata-conditioned-llms).
|
|
@@ -58,4 +74,4 @@ This model is part of the metadata localization release. Related checkpoints and
|
|
| 58 |
- Project repository: [https://github.com/iamshnoo/metadata_localization](https://github.com/iamshnoo/metadata_localization)
|
| 59 |
- Paper: [https://arxiv.org/abs/2601.15236](https://arxiv.org/abs/2601.15236)
|
| 60 |
|
| 61 |
-
Last synced: `2026-04-02
|
|
|
|
| 51 |
- `min_decay_lr`: `0`
|
| 52 |
- `checkpoint_interval`: `100`
|
| 53 |
|
| 54 |
+
## Training Curves
|
| 55 |
+
|
| 56 |
+
Static plots below were exported from the private Weights & Biases run and embedded here for public access.
|
| 57 |
+
|
| 58 |
+
### Train Loss
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|
| 62 |
+
### Validation Perplexity
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+
### Throughput
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
|
| 70 |
## Project Context
|
| 71 |
|
| 72 |
This model is part of the metadata localization release. Related checkpoints and variants are grouped in the public Hugging Face collection [Metadata Conditioned LLMs](https://huggingface.co/collections/iamshnoo/metadata-conditioned-llms).
|
|
|
|
| 74 |
- Project repository: [https://github.com/iamshnoo/metadata_localization](https://github.com/iamshnoo/metadata_localization)
|
| 75 |
- Paper: [https://arxiv.org/abs/2601.15236](https://arxiv.org/abs/2601.15236)
|
| 76 |
|
| 77 |
+
Last synced: `2026-04-02 14:37:33 UTC`
|
assets/tokens_per_sec.png
ADDED
|
assets/train_loss.png
ADDED
|
assets/val_perplexity.png
ADDED
|