Text Generation
Safetensors
GGUF
English
llama
llm
fine-tuning
fill-in-the-middle
instruction-following
Instructions to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ericflo/Llama-3.1-8B-ContinuedTraining2-FFT", filename="Llama-3.1-8B-ContinuedTraining3.C100.Q8_0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Inference
- Local Apps Settings
- llama.cpp
How to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0 # Run inference directly in the terminal: llama cli -hf ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0 # Run inference directly in the terminal: llama cli -hf ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
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 ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
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 ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
Use Docker
docker model run hf.co/ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
- LM Studio
- Jan
- vLLM
How to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ericflo/Llama-3.1-8B-ContinuedTraining2-FFT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ericflo/Llama-3.1-8B-ContinuedTraining2-FFT", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
- Ollama
How to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT with Ollama:
ollama run hf.co/ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
- Unsloth Studio
How to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT 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 ericflo/Llama-3.1-8B-ContinuedTraining2-FFT 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 ericflo/Llama-3.1-8B-ContinuedTraining2-FFT to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ericflo/Llama-3.1-8B-ContinuedTraining2-FFT to start chatting
- Atomic Chat new
- Docker Model Runner
How to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT with Docker Model Runner:
docker model run hf.co/ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
- Lemonade
How to use ericflo/Llama-3.1-8B-ContinuedTraining2-FFT with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ericflo/Llama-3.1-8B-ContinuedTraining2-FFT:Q8_0
Run and chat with the model
lemonade run user.Llama-3.1-8B-ContinuedTraining2-FFT-Q8_0
List all available models
lemonade list
Training in progress, step 600
Browse files
model-00001-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4976698672
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:744eaab49867208a03cb96cd0d4b26b3c1c84724a06f5a2e2431355c283a9459
|
| 3 |
size 4976698672
|
model-00002-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4999802720
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dd7941dbb7369194e409d7ea1ec9c54b951e000e20078014de3b30b3409dacc
|
| 3 |
size 4999802720
|
model-00003-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4915916176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a2f521709f5043f8e29c27045f112c180ad2fed86223b2275ed3513f28a9b6e
|
| 3 |
size 4915916176
|
model-00004-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1168138808
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a52b72d4194d334516676c1dd733fdf4b7bb5e8af51f08e127364c32483fba3c
|
| 3 |
size 1168138808
|