Text Generation
Transformers
Safetensors
GGUF
German
English
qwen3
llama.cpp
synthetic data
conversational
text-generation-inference
Instructions to use tabularisai/Faust-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tabularisai/Faust-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tabularisai/Faust-1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tabularisai/Faust-1") model = AutoModelForCausalLM.from_pretrained("tabularisai/Faust-1") 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]:])) - llama-cpp-python
How to use tabularisai/Faust-1 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tabularisai/Faust-1", filename="faust_1_q8_0.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tabularisai/Faust-1 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 tabularisai/Faust-1:Q8_0 # Run inference directly in the terminal: llama cli -hf tabularisai/Faust-1:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tabularisai/Faust-1:Q8_0 # Run inference directly in the terminal: llama cli -hf tabularisai/Faust-1:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tabularisai/Faust-1:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf tabularisai/Faust-1:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tabularisai/Faust-1:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf tabularisai/Faust-1:Q8_0
Use Docker
docker model run hf.co/tabularisai/Faust-1:Q8_0
- LM Studio
- Jan
- vLLM
How to use tabularisai/Faust-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tabularisai/Faust-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tabularisai/Faust-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tabularisai/Faust-1:Q8_0
- SGLang
How to use tabularisai/Faust-1 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 "tabularisai/Faust-1" \ --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": "tabularisai/Faust-1", "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 "tabularisai/Faust-1" \ --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": "tabularisai/Faust-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tabularisai/Faust-1 with Ollama:
ollama run hf.co/tabularisai/Faust-1:Q8_0
- Unsloth Studio
How to use tabularisai/Faust-1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tabularisai/Faust-1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tabularisai/Faust-1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tabularisai/Faust-1 to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tabularisai/Faust-1 with Docker Model Runner:
docker model run hf.co/tabularisai/Faust-1:Q8_0
- Lemonade
How to use tabularisai/Faust-1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tabularisai/Faust-1:Q8_0
Run and chat with the model
lemonade run user.Faust-1-Q8_0
List all available models
lemonade list
W4 attention surgery (0.1/0.3/0.6/0.8) - 27/30 instruction following
Browse files- config.json +3 -5
- generation_config.json +1 -1
- model.safetensors +1 -1
- tokenizer.json +1 -26
- tokenizer_config.json +170 -10
config.json
CHANGED
|
@@ -50,13 +50,11 @@
|
|
| 50 |
"num_key_value_heads": 8,
|
| 51 |
"pad_token_id": 1,
|
| 52 |
"rms_norm_eps": 1e-06,
|
| 53 |
-
"
|
| 54 |
-
|
| 55 |
-
"rope_type": "default"
|
| 56 |
-
},
|
| 57 |
"sliding_window": null,
|
| 58 |
"tie_word_embeddings": true,
|
| 59 |
-
"transformers_version": "
|
| 60 |
"use_cache": false,
|
| 61 |
"use_sliding_window": false,
|
| 62 |
"vocab_size": 100000
|
|
|
|
| 50 |
"num_key_value_heads": 8,
|
| 51 |
"pad_token_id": 1,
|
| 52 |
"rms_norm_eps": 1e-06,
|
| 53 |
+
"rope_scaling": null,
|
| 54 |
+
"rope_theta": 1000000,
|
|
|
|
|
|
|
| 55 |
"sliding_window": null,
|
| 56 |
"tie_word_embeddings": true,
|
| 57 |
+
"transformers_version": "4.57.5",
|
| 58 |
"use_cache": false,
|
| 59 |
"use_sliding_window": false,
|
| 60 |
"vocab_size": 100000
|
generation_config.json
CHANGED
|
@@ -9,5 +9,5 @@
|
|
| 9 |
"temperature": 0.6,
|
| 10 |
"top_k": 20,
|
| 11 |
"top_p": 0.95,
|
| 12 |
-
"transformers_version": "
|
| 13 |
}
|
|
|
|
| 9 |
"temperature": 0.6,
|
| 10 |
"top_k": 20,
|
| 11 |
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "4.57.5"
|
| 13 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3228455704
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d9b6e280b9aecc623307361ef79f8c93031da8ab8425eebf0ca7c8a458723f3
|
| 3 |
size 3228455704
|
tokenizer.json
CHANGED
|
@@ -184,32 +184,7 @@
|
|
| 184 |
}
|
| 185 |
]
|
| 186 |
},
|
| 187 |
-
"post_processor":
|
| 188 |
-
"type": "TemplateProcessing",
|
| 189 |
-
"single": [
|
| 190 |
-
{
|
| 191 |
-
"Sequence": {
|
| 192 |
-
"id": "A",
|
| 193 |
-
"type_id": 0
|
| 194 |
-
}
|
| 195 |
-
}
|
| 196 |
-
],
|
| 197 |
-
"pair": [
|
| 198 |
-
{
|
| 199 |
-
"Sequence": {
|
| 200 |
-
"id": "A",
|
| 201 |
-
"type_id": 0
|
| 202 |
-
}
|
| 203 |
-
},
|
| 204 |
-
{
|
| 205 |
-
"Sequence": {
|
| 206 |
-
"id": "B",
|
| 207 |
-
"type_id": 1
|
| 208 |
-
}
|
| 209 |
-
}
|
| 210 |
-
],
|
| 211 |
-
"special_tokens": {}
|
| 212 |
-
},
|
| 213 |
"decoder": {
|
| 214 |
"type":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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"bos_token": "<|bos|>",
|
| 4 |
"clean_up_tokenization_spaces": false,
|
| 5 |
"eos_token": "<|im_end|>",
|
| 6 |
-
"
|
| 7 |
"max_length": 2048,
|
| 8 |
-
"model_input_names": [
|
| 9 |
-
"input_ids",
|
| 10 |
-
"attention_mask"
|
| 11 |
-
],
|
| 12 |
"model_max_length": 8192,
|
| 13 |
"pad_token": "<|pad|>",
|
| 14 |
-
"return_token_type_ids": false,
|
| 15 |
"stride": 0,
|
| 16 |
-
"tokenizer_class": "
|
| 17 |
"truncation_side": "right",
|
| 18 |
"truncation_strategy": "longest_first",
|
| 19 |
-
"unk_token": "<|unk|>"
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<|endoftext|>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<|pad|>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "<|unk|>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "<|bos|>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"4": {
|
| 36 |
+
"content": "<|eos|>",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
},
|
| 43 |
+
"5": {
|
| 44 |
+
"content": "<|im_start|>",
|
| 45 |
+
"lstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"single_word": false,
|
| 49 |
+
"special": true
|
| 50 |
+
},
|
| 51 |
+
"6": {
|
| 52 |
+
"content": "<|im_end|>",
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"rstrip": false,
|
| 56 |
+
"single_word": false,
|
| 57 |
+
"special": true
|
| 58 |
+
},
|
| 59 |
+
"7": {
|
| 60 |
+
"content": "<|im_sep|>",
|
| 61 |
+
"lstrip": false,
|
| 62 |
+
"normalized": false,
|
| 63 |
+
"rstrip": false,
|
| 64 |
+
"single_word": false,
|
| 65 |
+
"special": true
|
| 66 |
+
},
|
| 67 |
+
"8": {
|
| 68 |
+
"content": "<|special_0|>",
|
| 69 |
+
"lstrip": false,
|
| 70 |
+
"normalized": false,
|
| 71 |
+
"rstrip": false,
|
| 72 |
+
"single_word": false,
|
| 73 |
+
"special": true
|
| 74 |
+
},
|
| 75 |
+
"9": {
|
| 76 |
+
"content": "<|special_1|>",
|
| 77 |
+
"lstrip": false,
|
| 78 |
+
"normalized": false,
|
| 79 |
+
"rstrip": false,
|
| 80 |
+
"single_word": false,
|
| 81 |
+
"special": true
|
| 82 |
+
},
|
| 83 |
+
"10": {
|
| 84 |
+
"content": "<|special_2|>",
|
| 85 |
+
"lstrip": false,
|
| 86 |
+
"normalized": false,
|
| 87 |
+
"rstrip": false,
|
| 88 |
+
"single_word": false,
|
| 89 |
+
"special": true
|
| 90 |
+
},
|
| 91 |
+
"11": {
|
| 92 |
+
"content": "<|special_3|>",
|
| 93 |
+
"lstrip": false,
|
| 94 |
+
"normalized": false,
|
| 95 |
+
"rstrip": false,
|
| 96 |
+
"single_word": false,
|
| 97 |
+
"special": true
|
| 98 |
+
},
|
| 99 |
+
"12": {
|
| 100 |
+
"content": "<|special_4|>",
|
| 101 |
+
"lstrip": false,
|
| 102 |
+
"normalized": false,
|
| 103 |
+
"rstrip": false,
|
| 104 |
+
"single_word": false,
|
| 105 |
+
"special": true
|
| 106 |
+
},
|
| 107 |
+
"13": {
|
| 108 |
+
"content": "<|special_5|>",
|
| 109 |
+
"lstrip": false,
|
| 110 |
+
"normalized": false,
|
| 111 |
+
"rstrip": false,
|
| 112 |
+
"single_word": false,
|
| 113 |
+
"special": true
|
| 114 |
+
},
|
| 115 |
+
"14": {
|
| 116 |
+
"content": "<|special_6|>",
|
| 117 |
+
"lstrip": false,
|
| 118 |
+
"normalized": false,
|
| 119 |
+
"rstrip": false,
|
| 120 |
+
"single_word": false,
|
| 121 |
+
"special": true
|
| 122 |
+
},
|
| 123 |
+
"15": {
|
| 124 |
+
"content": "<|special_7|>",
|
| 125 |
+
"lstrip": false,
|
| 126 |
+
"normalized": false,
|
| 127 |
+
"rstrip": false,
|
| 128 |
+
"single_word": false,
|
| 129 |
+
"special": true
|
| 130 |
+
},
|
| 131 |
+
"16": {
|
| 132 |
+
"content": "<|special_8|>",
|
| 133 |
+
"lstrip": false,
|
| 134 |
+
"normalized": false,
|
| 135 |
+
"rstrip": false,
|
| 136 |
+
"single_word": false,
|
| 137 |
+
"special": true
|
| 138 |
+
},
|
| 139 |
+
"17": {
|
| 140 |
+
"content": "<|special_9|>",
|
| 141 |
+
"lstrip": false,
|
| 142 |
+
"normalized": false,
|
| 143 |
+
"rstrip": false,
|
| 144 |
+
"single_word": false,
|
| 145 |
+
"special": true
|
| 146 |
+
}
|
| 147 |
+
},
|
| 148 |
+
"additional_special_tokens": [
|
| 149 |
+
"<|im_start|>",
|
| 150 |
+
"<|im_end|>",
|
| 151 |
+
"<|im_sep|>",
|
| 152 |
+
"<|special_0|>",
|
| 153 |
+
"<|special_1|>",
|
| 154 |
+
"<|special_2|>",
|
| 155 |
+
"<|special_3|>",
|
| 156 |
+
"<|special_4|>",
|
| 157 |
+
"<|special_5|>",
|
| 158 |
+
"<|special_6|>",
|
| 159 |
+
"<|special_7|>",
|
| 160 |
+
"<|special_8|>",
|
| 161 |
+
"<|special_9|>"
|
| 162 |
+
],
|
| 163 |
"bos_token": "<|bos|>",
|
| 164 |
"clean_up_tokenization_spaces": false,
|
| 165 |
"eos_token": "<|im_end|>",
|
| 166 |
+
"extra_special_tokens": {},
|
| 167 |
"max_length": 2048,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
"model_max_length": 8192,
|
| 169 |
"pad_token": "<|pad|>",
|
|
|
|
| 170 |
"stride": 0,
|
| 171 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 172 |
"truncation_side": "right",
|
| 173 |
"truncation_strategy": "longest_first",
|
| 174 |
+
"unk_token": "<|unk|>",
|
| 175 |
+
"return_token_type_ids": false,
|
| 176 |
+
"model_input_names": [
|
| 177 |
+
"input_ids",
|
| 178 |
+
"attention_mask"
|
| 179 |
+
]
|
| 180 |
+
}
|