Text Generation
Transformers
Safetensors
English
llama
text-generation-inference
unsloth
trl
sft
conversational
Instructions to use jebish7/LLAMA-8B-A90 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jebish7/LLAMA-8B-A90 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jebish7/LLAMA-8B-A90") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jebish7/LLAMA-8B-A90") model = AutoModelForCausalLM.from_pretrained("jebish7/LLAMA-8B-A90", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jebish7/LLAMA-8B-A90 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jebish7/LLAMA-8B-A90" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jebish7/LLAMA-8B-A90", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jebish7/LLAMA-8B-A90
- SGLang
How to use jebish7/LLAMA-8B-A90 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 "jebish7/LLAMA-8B-A90" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jebish7/LLAMA-8B-A90", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "jebish7/LLAMA-8B-A90" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jebish7/LLAMA-8B-A90", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use jebish7/LLAMA-8B-A90 with Docker Model Runner:
docker model run hf.co/jebish7/LLAMA-8B-A90
Download training-subset-used.csv from jebish7/LLAMA-8B-A90: direct link, hf CLI and curl.
- Browser
- Download file 78.3 MB
-
https://huggingface.co/jebish7/LLAMA-8B-A90/resolve/main/training-subset-used.csv
- Command line
-
hf download hf://jebish7/LLAMA-8B-A90/training-subset-used.csv
-
curl -L -o training-subset-used.csv https://huggingface.co/jebish7/LLAMA-8B-A90/resolve/main/training-subset-used.csv
78.3 MB
- Xet hash:
- 2f71e6f0581d6c596bc17ed99ecdfd46c55910edabe735fd5d95649c838b6a85
- Size of remote file:
- 78.3 MB
- SHA256:
- 8da1654904e4bc2ff50cc03b593c6aafb6c1d3d1a168b8a3ae8920b6b5f7a38f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.