Instructions to use TroyDoesAI/Mermaid_12B_Temp_Variance_Factual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TroyDoesAI/Mermaid_12B_Temp_Variance_Factual with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TroyDoesAI/Mermaid_12B_Temp_Variance_Factual")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TroyDoesAI/Mermaid_12B_Temp_Variance_Factual") model = AutoModelForCausalLM.from_pretrained("TroyDoesAI/Mermaid_12B_Temp_Variance_Factual", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TroyDoesAI/Mermaid_12B_Temp_Variance_Factual with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TroyDoesAI/Mermaid_12B_Temp_Variance_Factual" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TroyDoesAI/Mermaid_12B_Temp_Variance_Factual", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TroyDoesAI/Mermaid_12B_Temp_Variance_Factual
- SGLang
How to use TroyDoesAI/Mermaid_12B_Temp_Variance_Factual 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 "TroyDoesAI/Mermaid_12B_Temp_Variance_Factual" \ --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": "TroyDoesAI/Mermaid_12B_Temp_Variance_Factual", "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 "TroyDoesAI/Mermaid_12B_Temp_Variance_Factual" \ --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": "TroyDoesAI/Mermaid_12B_Temp_Variance_Factual", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TroyDoesAI/Mermaid_12B_Temp_Variance_Factual with Docker Model Runner:
docker model run hf.co/TroyDoesAI/Mermaid_12B_Temp_Variance_Factual
Commit History
-
Upload 12 files
Verified signatureBumping the model to be more factual again with the factaual temperature dataset.c56d385
-
Upload 12 files
Verified signatureA little tweak with an epoch of a new creativity dataset using my dataset augmentation toolkit targeted toward flow diagrams to get them to be a little more descriptive per node.43854bd
-
Update README.md
Verified signatureupdated to 12B parameters modelcc87bb2 -
Update README.md
Verified signatureUnique layering mod by Troy Schultz.1195099 -
Upload 12 files
Verified signatureI just had to add on a few more layers to see if the dataset can be more expressed with more parameter. You be the judge. :)7fe2f84
-
2 Epoch ~ Eval Loss on Organic Created Dataset is is roughly 0.4 which is good enough for now, might go another epoch or 2 to see if it goes up or down, Im being impatient.
Verified signature3fce18f -
Update README.md
Verified signature928ad03 -
initial commit
Verified signatureeebfcf5