Instructions to use RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf", filename="hkcode_llama3_8b.IQ3_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf 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 RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
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 RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
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 RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf with Ollama:
ollama run hf.co/RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
- Unsloth Studio
How to use RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf 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 RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf 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 RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/hyokwan_-_hkcode_llama3_8b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.hyokwan_-_hkcode_llama3_8b-gguf-Q4_K_M
List all available models
lemonade list
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
hkcode_llama3_8b - GGUF
- Model creator: https://huggingface.co/hyokwan/
- Original model: https://huggingface.co/hyokwan/hkcode_llama3_8b/
| Name | Quant method | Size |
|---|---|---|
| hkcode_llama3_8b.Q2_K.gguf | Q2_K | 2.96GB |
| hkcode_llama3_8b.IQ3_XS.gguf | IQ3_XS | 3.28GB |
| hkcode_llama3_8b.IQ3_S.gguf | IQ3_S | 3.43GB |
| hkcode_llama3_8b.Q3_K_S.gguf | Q3_K_S | 3.41GB |
| hkcode_llama3_8b.IQ3_M.gguf | IQ3_M | 3.52GB |
| hkcode_llama3_8b.Q3_K.gguf | Q3_K | 3.74GB |
| hkcode_llama3_8b.Q3_K_M.gguf | Q3_K_M | 3.74GB |
| hkcode_llama3_8b.Q3_K_L.gguf | Q3_K_L | 4.03GB |
| hkcode_llama3_8b.IQ4_XS.gguf | IQ4_XS | 4.18GB |
| hkcode_llama3_8b.Q4_0.gguf | Q4_0 | 4.34GB |
| hkcode_llama3_8b.IQ4_NL.gguf | IQ4_NL | 4.38GB |
| hkcode_llama3_8b.Q4_K_S.gguf | Q4_K_S | 4.37GB |
| hkcode_llama3_8b.Q4_K.gguf | Q4_K | 4.58GB |
| hkcode_llama3_8b.Q4_K_M.gguf | Q4_K_M | 4.58GB |
| hkcode_llama3_8b.Q4_1.gguf | Q4_1 | 4.78GB |
| hkcode_llama3_8b.Q5_0.gguf | Q5_0 | 5.21GB |
| hkcode_llama3_8b.Q5_K_S.gguf | Q5_K_S | 5.21GB |
| hkcode_llama3_8b.Q5_K.gguf | Q5_K | 5.34GB |
| hkcode_llama3_8b.Q5_K_M.gguf | Q5_K_M | 5.34GB |
| hkcode_llama3_8b.Q5_1.gguf | Q5_1 | 5.65GB |
| hkcode_llama3_8b.Q6_K.gguf | Q6_K | 6.14GB |
| hkcode_llama3_8b.Q8_0.gguf | Q8_0 | 7.95GB |
Original model description:
license: mit datasets: - hyokwan/llama3data_hkcode language: - ko - en metrics: - accuracy library_name: transformers pipeline_tag: text-generation tags: - education - fintech
Model Details hyokwan/hkcode_llama3_8b
hyokwan/hkcode_llama3_8b is continued pretrained language model based on meta-llama/Meta-Llama-3-8B-Instruct
This model is trained with specific department of university (Korea Plytechnics Fintech) .
License: https://llama.meta.com/llama3/license
Intended Use TBD
How to use TBD
Responsibility & Safety We believe that an open approach to AI leads to better, safer products, faster innovation, and a bigger overall market. We are committed to Responsible AI development and took a series of steps to limit misuse and harm and support the open source community.
Foundation models are widely capable technologies that are built to be used for a diverse range of applications. They are not designed to meet every developer preference on safety levels for all use cases, out-of-the-box, as those by their nature will differ across different applications.
Rather, responsible LLM-application deployment is achieved by implementing a series of safety best practices throughout the development of such applications, from the model pre-training, fine-tuning and the deployment of systems composed of safeguards to tailor the safety needs specifically to the use case and audience.
As part of the Llama 3 release, we updated our Responsible Use Guide to outline the steps and best practices for developers to implement model and system level safety for their application. We also provide a set of resources including Meta Llama Guard 2 and Code Shield safeguards. These tools have proven to drastically reduce residual risks of LLM Systems, while maintaining a high level of helpfulness. We encourage developers to tune and deploy these safeguards according to their needs and we provide a reference implementation to get you started.
Responsible release In addition to responsible use considerations outlined above, we followed a rigorous process that requires us to take extra measures against misuse and critical risks before we make our release decision.
Misuse
If you access or use Llama 3, you agree to the Acceptable Use Policy. The most recent copy of this policy can be found at https://llama.meta.com/llama3/use-policy/.
Ethical Considerations and Limitations The core values of Llama 3 are openness, inclusivity and helpfulness. It is meant to serve everyone, and to work for a wide range of use cases. It is thus designed to be accessible to people across many different backgrounds, experiences and perspectives. Llama 3 addresses users and their needs as they are, without insertion unnecessary judgment or normativity, while reflecting the understanding that even content that may appear problematic in some cases can serve valuable purposes in others. It respects the dignity and autonomy of all users, especially in terms of the values of free thought and expression that power innovation and progress.
But Llama 3 is a new technology, and like any new technology, there are risks associated with its use. Testing conducted to date has been in English, and has not covered, nor could it cover, all scenarios. For these reasons, as with all LLMs, Llama 3โs potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 3 models, developers should perform safety testing and tuning tailored to their specific applications of the model. As outlined in the Responsible Use Guide, we recommend incorporating Purple Llama solutions into your workflows and specifically Llama Guard which provides a base model to filter input and output prompts to layer system-level safety on top of model-level safety.
Please see the Responsible Use Guide available at http://llama.meta.com/responsible-use-guide
license: mit
- Downloads last month
- 110
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit