Run this model with HF Jobs
Run userv4oo/Llama-3.1-8B-bnb-4bit-python 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 to fine-tune https://huggingface.co/userv4oo/Llama-3.1-8B-bnb-4bit-python. 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/userv4oo/Llama-3.1-8B-bnb-4bit-python 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.
Instructions to use userv4oo/Llama-3.1-8B-bnb-4bit-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use userv4oo/Llama-3.1-8B-bnb-4bit-python with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("userv4oo/Llama-3.1-8B-bnb-4bit-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use userv4oo/Llama-3.1-8B-bnb-4bit-python with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf userv4oo/Llama-3.1-8B-bnb-4bit-python:F16 # Run inference directly in the terminal: llama cli -hf userv4oo/Llama-3.1-8B-bnb-4bit-python:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf userv4oo/Llama-3.1-8B-bnb-4bit-python:F16 # Run inference directly in the terminal: llama cli -hf userv4oo/Llama-3.1-8B-bnb-4bit-python:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf userv4oo/Llama-3.1-8B-bnb-4bit-python:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf userv4oo/Llama-3.1-8B-bnb-4bit-python:F16
Use Docker
docker model run hf.co/userv4oo/Llama-3.1-8B-bnb-4bit-python:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use userv4oo/Llama-3.1-8B-bnb-4bit-python with Ollama:
ollama run hf.co/userv4oo/Llama-3.1-8B-bnb-4bit-python:F16
- Unsloth Desktop
- Docker Model Runner
How to use userv4oo/Llama-3.1-8B-bnb-4bit-python with Docker Model Runner:
docker model run hf.co/userv4oo/Llama-3.1-8B-bnb-4bit-python:F16
- Lemonade
How to use userv4oo/Llama-3.1-8B-bnb-4bit-python with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull userv4oo/Llama-3.1-8B-bnb-4bit-python:F16
Run and chat with the model
lemonade run user.Llama-3.1-8B-bnb-4bit-python-F16
List all available models
lemonade list
- Atomic Chat
(Trained with Unsloth)
Browse files1234567891011121314151617181920212223242526272829303132333435363723{ "_name_or_path": "unsloth/Meta-Llama-3.1-8B-bnb-4bit", "architectures": [ "LlamaForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 128000, "eos_token_id": 128001, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 14336, "max_position_embeddings": 131072, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 32, "num_hidden_layers": 32, "num_key_value_heads": 8, "pad_token_id": 128004, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": { "factor": 8.0, "high_freq_factor": 4.0, "low_freq_factor": 1.0, "original_max_position_embeddings": 8192, "rope_type": "llama3" }, "rope_theta": 500000.0, "tie_word_embeddings": false, "torch_dtype": "bfloat16", "transformers_version": "4.43.3", "unsloth_version": "2024.8", "use_cache": true, "vocab_size": 128256} "model_type": "llama"}config.json+2-36