Text Generation
GGUF
English
Spanish
llama
p2pclaw
cajal
code-generation-assistant
local-ai
scientific-research
conversational
Instructions to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit", filename="unsloth.F16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16 # Run inference directly in the terminal: llama-cli -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16 # Run inference directly in the terminal: llama-cli -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16 # Run inference directly in the terminal: ./llama-cli -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
Use Docker
docker model run hf.co/Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
- LM Studio
- Jan
- vLLM
How to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
- Ollama
How to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with Ollama:
ollama run hf.co/Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
- Unsloth Studio new
How to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit to start chatting
- Docker Model Runner
How to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with Docker Model Runner:
docker model run hf.co/Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
- Lemonade
How to use Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit:F16
Run and chat with the model
lemonade run user.Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit-F16
List all available models
lemonade list
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,22 +1,35 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
| 5 |
license: apache-2.0
|
| 6 |
tags:
|
| 7 |
- text-generation-inference
|
| 8 |
- transformers
|
| 9 |
- unsloth
|
| 10 |
-
-
|
| 11 |
- gguf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Uploaded model
|
| 15 |
|
| 16 |
-
-
|
|
|
|
| 17 |
- **License:** apache-2.0
|
| 18 |
-
- **Finetuned from model :**
|
| 19 |
|
| 20 |
-
This
|
| 21 |
|
| 22 |
-
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Agnuxo/Phi-3.5-mini-instruct-python_coding_assistant-GGUF_16bit
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
- es
|
| 6 |
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
- text-generation-inference
|
| 9 |
- transformers
|
| 10 |
- unsloth
|
| 11 |
+
- mistral
|
| 12 |
- gguf
|
| 13 |
+
datasets:
|
| 14 |
+
- iamtarun/python_code_instructions_18k_alpaca
|
| 15 |
+
- jtatman/python-code-dataset-500k
|
| 16 |
+
- flytech/python-codes-25k
|
| 17 |
+
- Vezora/Tested-143k-Python-Alpaca
|
| 18 |
+
- codefuse-ai/CodeExercise-Python-27k
|
| 19 |
+
- Vezora/Tested-22k-Python-Alpaca
|
| 20 |
+
- mlabonne/Evol-Instruct-Python-26k
|
| 21 |
+
metrics:
|
| 22 |
+
- code_eval
|
| 23 |
+
library_name: adapter-transformers
|
| 24 |
---
|
| 25 |
|
| 26 |
# Uploaded model
|
| 27 |
|
| 28 |
+
[<img src="https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png" width="100"/><img src="https://github.githubassets.com/assets/GitHub-Logo-ee398b662d42.png" width="100"/>](https://github.com/Agnuxo1)
|
| 29 |
+
- **Developed by:** Agnuxo(https://github.com/Agnuxo1)
|
| 30 |
- **License:** apache-2.0
|
| 31 |
+
- **Finetuned from model :** Agnuxo/Mistral-NeMo-Minitron-8B-Base-Nebulal
|
| 32 |
|
| 33 |
+
This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 34 |
|
| 35 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|