Text Generation
Transformers
Safetensors
llama
metadata-localization
global
3b
with-metadata
pretraining
intermediate-checkpoint
text-generation-inference
Instructions to use iamshnoo/combined_with_metadata_3b_step4k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iamshnoo/combined_with_metadata_3b_step4k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="iamshnoo/combined_with_metadata_3b_step4k")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("iamshnoo/combined_with_metadata_3b_step4k") model = AutoModelForMultimodalLM.from_pretrained("iamshnoo/combined_with_metadata_3b_step4k") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use iamshnoo/combined_with_metadata_3b_step4k 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_step4k" # 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_step4k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/iamshnoo/combined_with_metadata_3b_step4k
- SGLang
How to use iamshnoo/combined_with_metadata_3b_step4k 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_step4k" \ --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_step4k", "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_step4k" \ --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_step4k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use iamshnoo/combined_with_metadata_3b_step4k with Docker Model Runner:
docker model run hf.co/iamshnoo/combined_with_metadata_3b_step4k
Update model card and embedded training curves
Browse files- README.md +19 -3
- assets/tokens_per_sec.png +0 -0
- assets/train_loss.png +0 -0
- assets/val_perplexity.png +0 -0
README.md
CHANGED
|
@@ -7,7 +7,7 @@ tags:
|
|
| 7 |
- global
|
| 8 |
- 3b
|
| 9 |
- with-metadata
|
| 10 |
-
-
|
| 11 |
- intermediate-checkpoint
|
| 12 |
---
|
| 13 |
|
|
@@ -15,7 +15,7 @@ tags:
|
|
| 15 |
|
| 16 |
## Summary
|
| 17 |
|
| 18 |
-
This repo contains the global combined model exported from the 4k checkpoint for the metadata localization project. It
|
| 19 |
|
| 20 |
## Variant Metadata
|
| 21 |
|
|
@@ -53,6 +53,22 @@ This repo contains the global combined model exported from the 4k checkpoint for
|
|
| 53 |
- `min_decay_lr`: `0`
|
| 54 |
- `checkpoint_interval`: `100`
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
## Project Context
|
| 57 |
|
| 58 |
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).
|
|
@@ -60,4 +76,4 @@ This model is part of the metadata localization release. Related checkpoints and
|
|
| 60 |
- Project repository: [https://github.com/iamshnoo/metadata_localization](https://github.com/iamshnoo/metadata_localization)
|
| 61 |
- Paper: [https://arxiv.org/abs/2601.15236](https://arxiv.org/abs/2601.15236)
|
| 62 |
|
| 63 |
-
Last synced: `2026-04-02
|
|
|
|
| 7 |
- global
|
| 8 |
- 3b
|
| 9 |
- with-metadata
|
| 10 |
+
- pretraining
|
| 11 |
- intermediate-checkpoint
|
| 12 |
---
|
| 13 |
|
|
|
|
| 15 |
|
| 16 |
## Summary
|
| 17 |
|
| 18 |
+
This repo contains the global combined model exported from the 4k checkpoint for the metadata localization project. It was trained from scratch on the project corpus, using the Llama 3.2 tokenizer and vocabulary.
|
| 19 |
|
| 20 |
## Variant Metadata
|
| 21 |
|
|
|
|
| 53 |
- `min_decay_lr`: `0`
|
| 54 |
- `checkpoint_interval`: `100`
|
| 55 |
|
| 56 |
+
## Training Curves
|
| 57 |
+
|
| 58 |
+
Static plots below were exported from the private Weights & Biases run and embedded here for public access.
|
| 59 |
+
|
| 60 |
+
### Train Loss
|
| 61 |
+
|
| 62 |
+

|
| 63 |
+
|
| 64 |
+
### Validation Perplexity
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
|
| 68 |
+
### Throughput
|
| 69 |
+
|
| 70 |
+

|
| 71 |
+
|
| 72 |
## Project Context
|
| 73 |
|
| 74 |
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).
|
|
|
|
| 76 |
- Project repository: [https://github.com/iamshnoo/metadata_localization](https://github.com/iamshnoo/metadata_localization)
|
| 77 |
- Paper: [https://arxiv.org/abs/2601.15236](https://arxiv.org/abs/2601.15236)
|
| 78 |
|
| 79 |
+
Last synced: `2026-04-02 14:40:12 UTC`
|
assets/tokens_per_sec.png
ADDED
|
assets/train_loss.png
ADDED
|
assets/val_perplexity.png
ADDED
|