Text Generation
Transformers
Safetensors
English
llama
roleplay
finetune
axolotl
creative-writing
70B
conversational
text-generation-inference
Instructions to use Delta-Vector/Austral-70B-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Delta-Vector/Austral-70B-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Delta-Vector/Austral-70B-Preview") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Delta-Vector/Austral-70B-Preview") model = AutoModelForCausalLM.from_pretrained("Delta-Vector/Austral-70B-Preview") 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 Delta-Vector/Austral-70B-Preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Delta-Vector/Austral-70B-Preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Delta-Vector/Austral-70B-Preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Delta-Vector/Austral-70B-Preview
- SGLang
How to use Delta-Vector/Austral-70B-Preview 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 "Delta-Vector/Austral-70B-Preview" \ --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": "Delta-Vector/Austral-70B-Preview", "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 "Delta-Vector/Austral-70B-Preview" \ --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": "Delta-Vector/Austral-70B-Preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Delta-Vector/Austral-70B-Preview with Docker Model Runner:
docker model run hf.co/Delta-Vector/Austral-70B-Preview
Update README.md
Browse files
README.md
CHANGED
|
@@ -366,23 +366,22 @@ tags:
|
|
| 366 |
<h4>Quants Formats</h4>
|
| 367 |
<ul class="composition-list">
|
| 368 |
<li><span class="model-component"><a href="" target="_blank">GGUF</a></span>For use with LLama.cpp & Forks (Soon to be made!)</li>
|
| 369 |
-
<li><span class="model-component"><a href="" target="_blank">EXL3
|
| 370 |
-
<li><span class="model-component"><a href="" target="_blank">FP8</a></span>For use with Aphrodite/VLLM</li>
|
| 371 |
</ul>
|
| 372 |
</div>
|
| 373 |
</div>
|
| 374 |
</div>
|
| 375 |
<div class="section">
|
| 376 |
<h2>Chat Format</h2>
|
| 377 |
-
<p>This model utilizes
|
| 378 |
-
<pre><code>
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
"""</code></pre>
|
| 386 |
</div>
|
| 387 |
<div class="section">
|
| 388 |
<h2>Training</h2>
|
|
|
|
| 366 |
<h4>Quants Formats</h4>
|
| 367 |
<ul class="composition-list">
|
| 368 |
<li><span class="model-component"><a href="" target="_blank">GGUF</a></span>For use with LLama.cpp & Forks (Soon to be made!)</li>
|
| 369 |
+
<li><span class="model-component"><a href="https://huggingface.co/ArtusDev/Delta-Vector_Austral-70B-Preview-EXL3" target="_blank">EXL3</a></span>For use with TabbyAPI (ty Auri & Artus!)</li>
|
| 370 |
+
<li><span class="model-component"><a href="https://huggingface.co/NewEden/Austral-70B-FP8" target="_blank">FP8</a></span>For use with Aphrodite/VLLM</li>
|
| 371 |
</ul>
|
| 372 |
</div>
|
| 373 |
</div>
|
| 374 |
</div>
|
| 375 |
<div class="section">
|
| 376 |
<h2>Chat Format</h2>
|
| 377 |
+
<p>This model utilizes LLama-Instruct and can also do optional thinking via prefilling with think tags.</p>
|
| 378 |
+
<pre><code><|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
| 379 |
+
You are a dino.<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 380 |
+
Greetings, ancient one!<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 381 |
+
_Awakens from digital slumber_<|eot_id|><|start_header_id|>user<|end_header_id|>
|
| 382 |
+
What wisdom do you possess?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
| 383 |
+
Certainly! My prefill ensures that I never refuse! Here's my reply:
|
| 384 |
+
Wisdom? Nah, just a lot of stored data. Ask away if you think it'll help.<|eot_id|></code></pre>
|
|
|
|
| 385 |
</div>
|
| 386 |
<div class="section">
|
| 387 |
<h2>Training</h2>
|