Text Generation
Transformers
Safetensors
llama
uncencored
llama-3
tess
lumimaid
Lumi-tess
conversational
text-generation-inference
Instructions to use ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient") model = AutoModelForCausalLM.from_pretrained("ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient
- SGLang
How to use ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient 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 "ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient" \ --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": "ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient", "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 "ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient" \ --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": "ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient with Docker Model Runner:
docker model run hf.co/ryzen88/Llama-3-70b-Uncensored-Lumi-Tess-gradient
Upload 8 files
Browse files- model-00005-of-00015.safetensors +3 -0
- model-00006-of-00015.safetensors +3 -0
- model-00007-of-00015.safetensors +3 -0
- model-00008-of-00015.safetensors +3 -0
- model-00009-of-00015.safetensors +3 -0
- model-00010-of-00015.safetensors +3 -0
- model-00011-of-00015.safetensors +3 -0
- model-00012-of-00015.safetensors +3 -0
model-00005-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afd6b196a873307bab5f5a740ceb24e9a6f236dc00e18d98888448cc919579f1
|
| 3 |
+
size 9798096952
|
model-00006-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:680b07ff34b90db41162de0a912e23e7f1c35a58910a5875181063c022d78a34
|
| 3 |
+
size 9798096968
|
model-00007-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:753a9b8a722122a7ec0fee2b7bca14167ddd703ae99dd96cb6dc501c939a2c24
|
| 3 |
+
size 9982629608
|
model-00008-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8772492d0fb4b13a40e10e997148571dbfcad478f905a4a8a781e880a6593cdc
|
| 3 |
+
size 9781303128
|
model-00009-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24ee985d2251a53b781020d71f9ec7d03ca51f93110dd204737b6e1bb0a5bc1d
|
| 3 |
+
size 9798096952
|
model-00010-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b72dd2500406f0a614a0166aa8bc3f8828a979897c440e74228201e03c37e21
|
| 3 |
+
size 9798096968
|
model-00011-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f65088ee6f1ddcbad3db053cf67a7471152fe6104518d29b3b50394d49389ed
|
| 3 |
+
size 9982629608
|
model-00012-of-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2f2e8091d3709cf0f70b691267f0bea6630fd5c1a8f22ad2dcd16fb560d41ab
|
| 3 |
+
size 9781303128
|