Text Generation
Transformers
Safetensors
PyTorch
English
mistral
finetune
finetuned
quantized
4-bit precision
AWQ
instruct
conversational
text-generation-inference
chatml
awq
Instructions to use solidrust/Flora-7B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use solidrust/Flora-7B-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="solidrust/Flora-7B-AWQ") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("solidrust/Flora-7B-AWQ") model = AutoModelForCausalLM.from_pretrained("solidrust/Flora-7B-AWQ") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use solidrust/Flora-7B-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "solidrust/Flora-7B-AWQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "solidrust/Flora-7B-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/solidrust/Flora-7B-AWQ
- SGLang
How to use solidrust/Flora-7B-AWQ 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 "solidrust/Flora-7B-AWQ" \ --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": "solidrust/Flora-7B-AWQ", "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 "solidrust/Flora-7B-AWQ" \ --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": "solidrust/Flora-7B-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use solidrust/Flora-7B-AWQ with Docker Model Runner:
docker model run hf.co/solidrust/Flora-7B-AWQ
Updated and moved existing to merged_models base_model tag in README.md
Browse files
README.md
CHANGED
|
@@ -1,35 +1,19 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
-
- jeiku/FloraBase
|
| 4 |
-
- jeiku/Synthetic_Soul_1k_Mistral_128
|
| 5 |
-
tags:
|
| 6 |
-
- finetune
|
| 7 |
-
- finetuned
|
| 8 |
-
- quantized
|
| 9 |
-
- 4-bit
|
| 10 |
-
- AWQ
|
| 11 |
-
- transformers
|
| 12 |
-
- pytorch
|
| 13 |
-
- mistral
|
| 14 |
-
- instruct
|
| 15 |
-
- text-generation
|
| 16 |
-
- conversational
|
| 17 |
-
- license:apache-2.0
|
| 18 |
-
- autotrain_compatible
|
| 19 |
-
- endpoints_compatible
|
| 20 |
-
- text-generation-inference
|
| 21 |
-
- chatml
|
| 22 |
-
license: cc-by-sa-4.0
|
| 23 |
datasets:
|
| 24 |
- ResplendentAI/Synthetic_Soul_1k
|
|
|
|
| 25 |
language:
|
| 26 |
- en
|
| 27 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
model_creator: ResplendentAI
|
| 29 |
model_name: Flora-7B
|
| 30 |
model_type: mistral
|
| 31 |
pipeline_tag: text-generation
|
| 32 |
-
inference: false
|
| 33 |
prompt_template: '<|im_start|>system
|
| 34 |
|
| 35 |
{system_message}<|im_end|>
|
|
@@ -42,6 +26,23 @@ prompt_template: '<|im_start|>system
|
|
| 42 |
|
| 43 |
'
|
| 44 |
quantized_by: Suparious
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
---
|
| 46 |
# ResplendentAI/Flora-7B AWQ
|
| 47 |
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: ResplendentAI/Flora_7B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
datasets:
|
| 4 |
- ResplendentAI/Synthetic_Soul_1k
|
| 5 |
+
inference: false
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
library_name: transformers
|
| 9 |
+
license: cc-by-sa-4.0
|
| 10 |
+
merged_models:
|
| 11 |
+
- jeiku/FloraBase
|
| 12 |
+
- jeiku/Synthetic_Soul_1k_Mistral_128
|
| 13 |
model_creator: ResplendentAI
|
| 14 |
model_name: Flora-7B
|
| 15 |
model_type: mistral
|
| 16 |
pipeline_tag: text-generation
|
|
|
|
| 17 |
prompt_template: '<|im_start|>system
|
| 18 |
|
| 19 |
{system_message}<|im_end|>
|
|
|
|
| 26 |
|
| 27 |
'
|
| 28 |
quantized_by: Suparious
|
| 29 |
+
tags:
|
| 30 |
+
- finetune
|
| 31 |
+
- finetuned
|
| 32 |
+
- quantized
|
| 33 |
+
- 4-bit
|
| 34 |
+
- AWQ
|
| 35 |
+
- transformers
|
| 36 |
+
- pytorch
|
| 37 |
+
- mistral
|
| 38 |
+
- instruct
|
| 39 |
+
- text-generation
|
| 40 |
+
- conversational
|
| 41 |
+
- license:apache-2.0
|
| 42 |
+
- autotrain_compatible
|
| 43 |
+
- endpoints_compatible
|
| 44 |
+
- text-generation-inference
|
| 45 |
+
- chatml
|
| 46 |
---
|
| 47 |
# ResplendentAI/Flora-7B AWQ
|
| 48 |
|