Text Generation
Transformers
TensorBoard
Safetensors
llama
Generated from Trainer
text-generation-inference
Run this model with HF Jobs
Run ninagroot/Llama-360M-RUN2 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-RUN2. 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-RUN2 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-RUN2. 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-RUN2. 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-RUN2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ninagroot/Llama-360M-RUN2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ninagroot/Llama-360M-RUN2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ninagroot/Llama-360M-RUN2") model = AutoModelForCausalLM.from_pretrained("ninagroot/Llama-360M-RUN2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ninagroot/Llama-360M-RUN2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ninagroot/Llama-360M-RUN2" # 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-RUN2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ninagroot/Llama-360M-RUN2
- SGLang
How to use ninagroot/Llama-360M-RUN2 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-RUN2" \ --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-RUN2", "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-RUN2" \ --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-RUN2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ninagroot/Llama-360M-RUN2 with Docker Model Runner:
docker model run hf.co/ninagroot/Llama-360M-RUN2
ninagroot/Llama-360Mtest
Browse filesFiles changed (4)
12 unmodified lines1314151617181928 unmodified lines484950515253545556575859606112 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.1779## Model description28 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 8.4314 | 0.98 | 7 | 8.5119 || 7.2356 | 1.96 | 14 | 7.6465 || 6.2886 | 2.95 | 21 | 6.9648 || 5.4784 | 3.93 | 28 | 6.3689 || 4.6903 | 4.91 | 35 | 5.8731 || 3.7605 | 5.89 | 42 | 5.4457 || 3.1642 | 6.88 | 49 | 5.2128 || 2.5642 | 7.86 | 56 | 5.1779 |### Framework versions12 unmodified lines1314151617181928 unmodified lines484950515253545556575859606112 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.1844## Model description28 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 8.4263 | 0.98 | 7 | 8.5002 || 7.2113 | 1.96 | 14 | 7.6702 || 6.258 | 2.95 | 21 | 7.0704 || 5.4942 | 3.93 | 28 | 6.4329 || 4.7105 | 4.91 | 35 | 5.9264 || 3.7794 | 5.89 | 42 | 5.5158 || 3.18 | 6.88 | 49 | 5.3089 || 2.5741 | 7.86 | 56 | 5.1844 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:01d6d12c843483a0a4db6355a59e50ded6fe4efdd47de1ec7ef6bc007e12c82fsize 1408774432123version https://git-lfs.github.com/spec/v1oid sha256:637050ce7c3f38a4a41ee4376925419d7bb8b2726bce1be3d21ac305cb5c81e9size 1408774432
123version https://git-lfs.github.com/spec/v1oid sha256:71622678822c3616052d0a3b891864b77e727e6f6c3f968327370a1862550f65size 18629123version https://git-lfs.github.com/spec/v1oid sha256:48cba8e54c48f085335f15c64978dc87d647a46edb2b350432a13b072d3fcc1esize 4984123version https://git-lfs.github.com/spec/v1oid sha256:128ff538f545a64a6518eb18a3ebf82610c01b0b910c020382e076d85cffc41esize 4984
README.md+9-9
model.safetensors+1-1
runs/Apr18_11-42-19_gcn63.local.snellius.surf.nl/events.out.tfevents.1713433348.gcn63.local.snellius.surf.nl.3523096.0Added+3
training_args.bin+1-1