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")# 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") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- 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
Introducing Mermaid_TempVariance_Factual: a 12B Parameter Model crafted entirely from synthetic data generated by my own dataset augmentation toolkit. As a passionate enthusiast and researcher in large language models, my journey began with the creation of Mermaid Mistral, a 7B Parameter Model designed to generate knowledge graphs from user input.
In my quest to explore the capabilities of dataset augmentation, I honed my toolkit to generate a fresh, synthetic dataset separate from the original organic 500-entry dataset. This new dataset, comprising 17K entries, became the sole training data for MermaidSolar_TempVariance_Factual.
Mermaid Mistral, with its 7B parameters, played a pivotal role in this process, as it was responsible for generating the dataset.
My research is centered on showcasing the potency of dataset augmentation in large language model training.
This experiement serves as a testament to the efficacy of this approach, trained exclusively on synthetic data to demonstrate the power of the augmentation toolkit. I am Troy Andrew Schultz, and this is the culmination of my research endeavor.
This model with 12B parameters, utilizes a dataset created entirely by a 7B Parameter Model, consisting of 17K Entries augmented by Mermaid Mistral outputs.
Note: Original ~500 Entry Organic Dataset is now my Entire Eval Dataset :)
Training Progress: 2 Epoch with eval loss as ~0.4
Could probably go a little longer, but this is acceptable for now.
Trying to establish some gpu time for training a much bigger model, More->To->Come
- Downloads last month
- 5