Text Generation
Transformers
TensorBoard
Safetensors
llama
Generated from Trainer
text-generation-inference
Run this model with HF Jobs
Run ninagroot/Llama-360M-RUN1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/ninagroot/Llama-360M-RUN1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ninagroot/Llama-360M-RUN1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/ninagroot/Llama-360M-RUN1. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/ninagroot/Llama-360M-RUN1. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use ninagroot/Llama-360M-RUN1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ninagroot/Llama-360M-RUN1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ninagroot/Llama-360M-RUN1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ninagroot/Llama-360M-RUN1") model = AutoModelForCausalLM.from_pretrained("ninagroot/Llama-360M-RUN1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ninagroot/Llama-360M-RUN1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ninagroot/Llama-360M-RUN1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ninagroot/Llama-360M-RUN1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ninagroot/Llama-360M-RUN1
- SGLang
How to use ninagroot/Llama-360M-RUN1 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 "ninagroot/Llama-360M-RUN1" \ --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": "ninagroot/Llama-360M-RUN1", "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 "ninagroot/Llama-360M-RUN1" \ --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": "ninagroot/Llama-360M-RUN1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ninagroot/Llama-360M-RUN1 with Docker Model Runner:
docker model run hf.co/ninagroot/Llama-360M-RUN1
ninagroot/Llama-360Mtest
Browse filesFiles changed (4)
12 unmodified lines1314151617181928 unmodified lines484950515253545556575859606162636465666768697071727312 unmodified linesThis model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 5.4878## Model description28 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| No log | 1.0 | 7 | 8.6294 || No log | 2.0 | 14 | 7.4266 || 7.6351 | 3.0 | 21 | 6.6887 || 7.6351 | 4.0 | 28 | 6.2073 || 7.6351 | 5.0 | 35 | 5.6607 || 4.8066 | 6.0 | 42 | 5.3291 || 4.8066 | 7.0 | 49 | 5.1600 || 4.8066 | 8.0 | 56 | 5.1858 || 3.1317 | 9.0 | 63 | 5.1762 || 3.1317 | 10.0 | 70 | 5.2201 || 3.1317 | 11.0 | 77 | 5.2886 || 1.8969 | 12.0 | 84 | 5.2965 || 1.8969 | 13.0 | 91 | 5.3368 || 1.8969 | 14.0 | 98 | 5.3904 || 0.8088 | 15.0 | 105 | 5.3941 || 0.8088 | 16.0 | 112 | 5.4356 || 0.8088 | 17.0 | 119 | 5.4636 || 0.2919 | 18.0 | 126 | 5.4765 || 0.2919 | 19.0 | 133 | 5.4868 || 0.1383 | 20.0 | 140 | 5.4878 |### Framework versions12 unmodified lines1314151617181928 unmodified lines484950515253545556575859606162636465666768697071727312 unmodified linesThis model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 5.4940## Model description28 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 9.479 | 1.0 | 7 | 8.7145 || 8.0855 | 2.0 | 14 | 7.4514 || 6.1163 | 3.0 | 21 | 6.7073 || 5.6369 | 4.0 | 28 | 6.1912 || 4.5226 | 5.0 | 35 | 5.6228 || 3.9429 | 6.0 | 42 | 5.2825 || 3.6281 | 7.0 | 49 | 5.1522 || 2.9972 | 8.0 | 56 | 5.1116 || 2.6381 | 9.0 | 63 | 5.1819 || 2.086 | 10.0 | 70 | 5.1975 || 1.6887 | 11.0 | 77 | 5.2503 || 1.4587 | 12.0 | 84 | 5.2902 || 0.8906 | 13.0 | 91 | 5.3147 || 0.6621 | 14.0 | 98 | 5.3620 || 0.438 | 15.0 | 105 | 5.4429 || 0.3238 | 16.0 | 112 | 5.4327 || 0.2746 | 17.0 | 119 | 5.4741 || 0.1768 | 18.0 | 126 | 5.4815 || 0.158 | 19.0 | 133 | 5.4927 || 0.1372 | 20.0 | 140 | 5.4940 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:e7fb7700f319bcff174e69f505b43d1841caf03b1ec4149cd0542baf1bfad830size 1408774432123version https://git-lfs.github.com/spec/v1oid sha256:ec56ecee6ae3aaa98718619dbeb72270907a12d38795c0e946d91b16353bbafasize 1408774432
123version https://git-lfs.github.com/spec/v1oid sha256:3053eec709d44f5442a7a58b7ded88da5105ed02439b3c531b96bacf594a4f8esize 16053123version https://git-lfs.github.com/spec/v1oid sha256:ab223116eee66b276404500050526bc6c4f2abc8dc04f0188816a7c40db9dfadsize 4984123version https://git-lfs.github.com/spec/v1oid sha256:93f56e97aea497cdde58cfc833feb9c2066279a2e9f2526583aca3325b8ace05size 4984
README.md+21-21
model.safetensors+1-1
runs/Apr16_13-42-43_gcn62.local.snellius.surf.nl/events.out.tfevents.1713267770.gcn62.local.snellius.surf.nl.2852763.0Added+3
training_args.bin+1-1