Instructions to use JRollins/solidifAI-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use JRollins/solidifAI-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "JRollins/solidifAI-lora") - Transformers
How to use JRollins/solidifAI-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="JRollins/solidifAI-lora")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("JRollins/solidifAI-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use JRollins/solidifAI-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "JRollins/solidifAI-lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JRollins/solidifAI-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/JRollins/solidifAI-lora
- SGLang
How to use JRollins/solidifAI-lora 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 "JRollins/solidifAI-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JRollins/solidifAI-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "JRollins/solidifAI-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JRollins/solidifAI-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use JRollins/solidifAI-lora with Docker Model Runner:
docker model run hf.co/JRollins/solidifAI-lora
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,11 +6,16 @@ tags:
|
|
| 6 |
- base_model:adapter:mistralai/Mistral-7B-v0.1
|
| 7 |
- lora
|
| 8 |
- transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Model Card for Model ID
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
|
| 16 |
|
|
@@ -18,29 +23,30 @@ tags:
|
|
| 18 |
|
| 19 |
### Model Description
|
| 20 |
|
| 21 |
-
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
-
- **Developed by:** [
|
| 26 |
- **Funded by [optional]:** [More Information Needed]
|
| 27 |
- **Shared by [optional]:** [More Information Needed]
|
| 28 |
-
- **Model type:** [
|
| 29 |
- **Language(s) (NLP):** [More Information Needed]
|
| 30 |
-
- **License:** [
|
| 31 |
-
- **Finetuned from model [optional]:** [
|
| 32 |
|
| 33 |
### Model Sources [optional]
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
-
- **Repository:** [More Information Needed]
|
| 38 |
- **Paper [optional]:** [More Information Needed]
|
| 39 |
- **Demo [optional]:** [More Information Needed]
|
| 40 |
|
| 41 |
## Uses
|
| 42 |
|
| 43 |
-
|
| 44 |
|
| 45 |
### Direct Use
|
| 46 |
|
|
|
|
| 6 |
- base_model:adapter:mistralai/Mistral-7B-v0.1
|
| 7 |
- lora
|
| 8 |
- transformers
|
| 9 |
+
license: cc-by-nc-4.0
|
| 10 |
+
datasets:
|
| 11 |
+
- JRollins/solidif.ai
|
| 12 |
+
language:
|
| 13 |
+
- en
|
| 14 |
---
|
| 15 |
|
| 16 |
# Model Card for Model ID
|
| 17 |
|
| 18 |
+
Chatbot for AI optimization.
|
| 19 |
|
| 20 |
|
| 21 |
|
|
|
|
| 23 |
|
| 24 |
### Model Description
|
| 25 |
|
| 26 |
+
In this new age of AI first search algorithms traditional SEO tactics is not enough to optimally market your online prescence.
|
| 27 |
+
Solidif AI is a Chat AI that can either optimize a piece of text submitted in a prompt or write a piece of text based on information given in the prompt.
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
+
- **Developed by:** [Solidif.ai LLC]
|
| 32 |
- **Funded by [optional]:** [More Information Needed]
|
| 33 |
- **Shared by [optional]:** [More Information Needed]
|
| 34 |
+
- **Model type:** [Chat]
|
| 35 |
- **Language(s) (NLP):** [More Information Needed]
|
| 36 |
+
- **License:** [Creative Commons Attribution Non Commercial 4.0]
|
| 37 |
+
- **Finetuned from model [optional]:** [mistralai/Mistral-7B-v0.1]
|
| 38 |
|
| 39 |
### Model Sources [optional]
|
| 40 |
|
| 41 |
+
link to base model: https://huggingface.co/mistralai/Mistral-7B-v0.1
|
| 42 |
|
| 43 |
+
- **Repository:** [[More Information Needed](https://huggingface.co/JRollins/solidifAI-lora)]
|
| 44 |
- **Paper [optional]:** [More Information Needed]
|
| 45 |
- **Demo [optional]:** [More Information Needed]
|
| 46 |
|
| 47 |
## Uses
|
| 48 |
|
| 49 |
+
You can access this model at solidif.ai
|
| 50 |
|
| 51 |
### Direct Use
|
| 52 |
|