Instructions to use turtle170/MicroAtlas-V1-F16-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use turtle170/MicroAtlas-V1-F16-GGUF with PEFT:
Task type is invalid.
- Transformers
How to use turtle170/MicroAtlas-V1-F16-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="turtle170/MicroAtlas-V1-F16-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("turtle170/MicroAtlas-V1-F16-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use turtle170/MicroAtlas-V1-F16-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "turtle170/MicroAtlas-V1-F16-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "turtle170/MicroAtlas-V1-F16-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/turtle170/MicroAtlas-V1-F16-GGUF
- SGLang
How to use turtle170/MicroAtlas-V1-F16-GGUF 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 "turtle170/MicroAtlas-V1-F16-GGUF" \ --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": "turtle170/MicroAtlas-V1-F16-GGUF", "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 "turtle170/MicroAtlas-V1-F16-GGUF" \ --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": "turtle170/MicroAtlas-V1-F16-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use turtle170/MicroAtlas-V1-F16-GGUF with Docker Model Runner:
docker model run hf.co/turtle170/MicroAtlas-V1-F16-GGUF
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: turtle170/MicroAtlas-V1
|
| 3 |
+
datasets:
|
| 4 |
+
- teknium/OpenHermes-2.5
|
| 5 |
+
- Magpie-Align/Magpie-Phi3-Pro-300K-Filtered
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
library_name: peft
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
tags:
|
| 12 |
+
- base_model:adapter:microsoft/Phi-3-mini-4k-instruct
|
| 13 |
+
- lora
|
| 14 |
+
- transformers
|
| 15 |
+
- llama-cpp
|
| 16 |
+
- gguf-my-lora
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# turtle170/MicroAtlas-V1-F16-GGUF
|
| 20 |
+
This LoRA adapter was converted to GGUF format from [`turtle170/MicroAtlas-V1`](https://huggingface.co/turtle170/MicroAtlas-V1) via the ggml.ai's [GGUF-my-lora](https://huggingface.co/spaces/ggml-org/gguf-my-lora) space.
|
| 21 |
+
Refer to the [original adapter repository](https://huggingface.co/turtle170/MicroAtlas-V1) for more details.
|
| 22 |
+
|
| 23 |
+
## Use with llama.cpp
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
# with cli
|
| 27 |
+
llama-cli -m base_model.gguf --lora MicroAtlas-V1-f16.gguf (...other args)
|
| 28 |
+
|
| 29 |
+
# with server
|
| 30 |
+
llama-server -m base_model.gguf --lora MicroAtlas-V1-f16.gguf (...other args)
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
To know more about LoRA usage with llama.cpp server, refer to the [llama.cpp server documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md).
|